Notification
Go to Home All Tools Compare Glossary Blog Contact

Chocolate Color Code: HEX, RGB, HSL and CMYK

Chocolate is #d2691e in hex, rgb(210, 105, 30) in RGB and hsl(25, 75%, 47%) in HSL. Copy any format, check contrast and see shades and matching colours.

Client-Side (Private)
HEX #d2691e
RGB rgb(210, 105, 30)
HSL hsl(25, 75%, 47%)
HSV hsv(25, 86%, 82%)
CMYK cmyk(0%, 50%, 86%, 18%)
Contrast on white 3.63:1
Live Preview
#d2691e Chocolate
e.g. chocolate
Quick try:
Converted Result (ALL)

How to use chocolate in CSS

Step-by-step mathematical method you can verify by hand

  1. Use the colour name: color: chocolate; or background: chocolate;
  2. Or use the hex code: color: #d2691e;
  3. Or use RGB: color: rgb(210, 105, 30); and add transparency with rgba or rgb(... / 50%).
  4. Or use HSL to adjust it: hsl(25, 75%, 47%). Raise the last number to lighten, lower it to darken.

Chocolate in every format

Worked Hand Example
FormatValue
HEX#d2691e
RGBrgb(210, 105, 30)
HSLhsl(25, 75%, 47%)
HSVhsv(25, 86%, 82%)
CMYKcmyk(0%, 50%, 86%, 18%)
Decimal13789470
chocolate = #d2691e.

Shades and tints of chocolate

The hue and saturation of chocolate stay the same and only the HSL lightness changes, so every row is the same colour family.

ShadeHEXHSL lightness
Lightest #f9e2d2 90%
Lighter #efb78f 75%
Light #e68c4d 60%
Chocolate #d2691e 47%
Dark #b3591a 40%
Darker #703810 25%
Darkest #361b08 12%

Colours that go with chocolate

Colour-wheel harmonies calculated by rotating the hue.

HarmonyHEXRGB
Complementary #1e87d2 rgb(30, 135, 210)
Analogous (+30°) #d2c31e rgb(210, 195, 30)
Analogous (−30°) #d21e2d rgb(210, 30, 45)
Triadic (+120°) #1ed269 rgb(30, 210, 105)
Triadic (+240°) #691ed2 rgb(105, 30, 210)
Split-complementary (+150°) #1ed2c3 rgb(30, 210, 195)
Split-complementary (+210°) #1e2dd2 rgb(30, 45, 210)

Contrast of chocolate with black and white text

WCAG 2.x contrast ratios.

Text colourRatioAA normal (4.5)AA large (3)
White 3.63:1 Fail Pass
Black 5.78:1 Pass Pass

More colour codes

Quickly jump to other conversions and color systems

Education

About this converter

01

Exact and Explained

Chocolate is #d2691e in hex, rgb(210, 105, 30) in RGB and hsl(25, 75%, 47%) in HSL. Copy any format, check contrast and see shades and matching colours. The worked example and tables on this page are calculated from the numbers themselves, so you can check the result by hand.

02

Privacy

The conversion runs in your browser. Nothing you type is sent to a server.

Good to know

Questions, answered

Quick answers about how this tool works.

chocolate is #d2691e in hex, rgb(210, 105, 30) in RGB and hsl(25, 75%, 47%) in HSL.

chocolate is rgb(210, 105, 30). In the simple CMYK formula it is cmyk(0%, 50%, 86%, 18%) (a screen conversion, not a print profile).

Yes. You can write color: chocolate; in CSS and it means exactly #d2691e.

Black text has a contrast ratio of 5.78:1 and white text 3.63:1 on this colour. Black is the better choice. WCAG AA needs 4.5:1 for normal text.

Was this tool helpful?

★ 5.0 • 2 user ratings

Tap a star to rate instantly

What do you need to work out next?

Search 278+ free tools by name, or pick a category below. Every one runs instantly in your browser — no signup, nothing to install.

More Developer Tools
AI ADVISOR & COACH

Ask AI Advisor

Ask AI