Skip to content
orange · warm

#cd845c

a balanced, vivid orange · warm · closest name: Peru

Token name suggestion: True Apricot

RGB
205, 132, 92
HSL
21°, 53%, 58%
CMYK
0, 36, 55, 20
Luminance
0.3025

#cd845c is a balanced vivid orange, 21° on the wheel and 5/100 on the cool side. Put black text on it (7.05:1). As text it scores 2.98:1 on white — use #B06136 instead. Nearest name is Peru, nearest Tailwind family is orange.

hsl(21 53% 58%)rgb(205 132 92)Base step 500AAA inkWarm

At a glance

Every number on this page in one read: what #cd845c is made of, how bright it looks, and which way it leans.

Hex
#cd845c
Hue
21°
orange
Saturation
53%
vivid
Lightness
58%
balanced
Brightness
80%
HSV value
Perceived
60%
weighted brightness
Luminance
0.3025
WCAG relative
Temperature
Warm
5/100 cool
Color family
Orange
Tone
Vivid
Best ink
Black
7.05:1
Closest name
Peru
ΔE2000 7.7
Chroma
40.8
LCH, 0–130ish
OKLCH L
0.680
perceptual lightness
Tailwind
orange
500 · ΔE 11.1
Web-safe
#CC9966
nearest of 216
Where it sits
Hue21° of 360°
Saturation53%
Lightness58%
Saturation × lightness field

Left edge is grey, right edge is full chroma; top is white, bottom is black. The dot is #cd845c.

Temperature
Warm ← → Cool5% cool

Reads warm. Warm and cool siblings keep the same lightness, so you can swap one in without redoing your contrast maths.

Luminance by channel
Red43%
Green55%
Blue3%

Green carries most of what the eye calls brightness — that is why WCAG weights it 0.7152.

Every format

HEX#cd845c
HEX (8-digit)#cd845cff
RGBrgb(205, 132, 92)
RGBArgba(205, 132, 92, 1)
HSLhsl(21, 53%, 58%)
HSV / HSBhsv(21, 55%, 80%)
HWBhwb(21 36% 20%)
CMYKcmyk(0%, 36%, 55%, 20%)
LABlab(61.9 23.9 33.1)
LCHlch(61.9 40.8 54.1)
OKLCHoklch(0.680 0.105 49.0)
XYZ (D65)xyz(35.36, 30.26, 14.10)
Decimal13468764
Display P3color(display-p3 0.804 0.518 0.361)
Web-safe#CC9966

Copy-ready code

every platformclick to select
/* CSS */
color: #cd845c;
background-color: #cd845c;
/* CSS custom property */
--brand: #cd845c;
/* Tailwind (arbitrary) */
class="text-[#cd845c] bg-[#cd845c]"
/* SCSS */
$brand: #cd845c;
/* SwiftUI */
Color(red: 0.804, green: 0.518, blue: 0.361)
/* UIKit */
UIColor(red: 0.804, green: 0.518, blue: 0.361, alpha: 1)
/* Android XML */
<color name="brand">#CD845C</color>
/* Android Compose */
Color(0xFFCD845C)
/* Flutter */
Color(0xFFCD845C)
/* Python / OpenCV (BGR) */
(92, 132, 205)
/* Python / PIL (RGB) */
(205, 132, 92)
/* Java AWT */
new Color(205, 132, 92)
/* .NET */
Color.FromArgb(255, 205, 132, 92)
/* OpenGL / Unity (0–1) */
(0.8039f, 0.5176f, 0.3608f, 1f)
/* LaTeX */
\definecolor{brand}{RGB}{205,132,92}
modern cssclick to select
/* mix without leaving CSS */
background: color-mix(in oklab, #cd845c 85%, white);
border-color: color-mix(in oklab, #cd845c 40%, transparent);
/* theme-aware in one line */
color: light-dark(#62361E, #EEDCD3);
/* relative colour syntax */
--hover: hsl(from #cd845c h s calc(l - 7));

Design tokens

The same ramp in the four formats a team actually needs. Paste one and the whole palette lands with it.

css custom propertiesclick to select
:root {
  --brand-50: #FBF6F4;
  --brand-100: #F6EEE9;
  --brand-200: #EDD9CE;
  --brand-300: #E5BEA9;
  --brand-400: #D89E7E;
  --brand-500: #cd845c;
  --brand-600: #BB6739;
  --brand-700: #9C5630;
  --brand-800: #7D4526;
  --brand-900: #5B341F;
  --brand-950: #392114;
  --brand: #cd845c;
  --brand-ink: #000000;
  --brand-surface: #FAF6F4;
  --brand-border: #ECD0C1;
  --brand-hover: #C56F40;
  --brand-pressed: #AD5F35;
}
@media (prefers-color-scheme: dark) {
  :root {
    --brand-surface: #241A14;
    --brand-ink: #EEDCD3;
  }
}
tailwind.config.jsclick to select
theme: {
  extend: {
    colors: {
      brand: {
        50: '#FBF6F4',
        100: '#F6EEE9',
        200: '#EDD9CE',
        300: '#E5BEA9',
        400: '#D89E7E',
        500: '#cd845c',
        600: '#BB6739',
        700: '#9C5630',
        800: '#7D4526',
        900: '#5B341F',
        950: '#392114',
        DEFAULT: '#cd845c',
      },
    },
  },
}
scss mapclick to select
$brand: (
  '50': #FBF6F4,
  '100': #F6EEE9,
  '200': #EDD9CE,
  '300': #E5BEA9,
  '400': #D89E7E,
  '500': #cd845c,
  '600': #BB6739,
  '700': #9C5630,
  '800': #7D4526,
  '900': #5B341F,
  '950': #392114,
);
$brand-base: #cd845c;
$brand-ink: #000000;

@function brand($step) { @return map-get($brand, $step); }
w3c design tokens (json)click to select
{
  "color": {
    "brand": {
      "50": { "$value": "#FBF6F4", "$type": "color" },
      "100": { "$value": "#F6EEE9", "$type": "color" },
      "200": { "$value": "#EDD9CE", "$type": "color" },
      "300": { "$value": "#E5BEA9", "$type": "color" },
      "400": { "$value": "#D89E7E", "$type": "color" },
      "500": { "$value": "#cd845c", "$type": "color" },
      "600": { "$value": "#BB6739", "$type": "color" },
      "700": { "$value": "#9C5630", "$type": "color" },
      "800": { "$value": "#7D4526", "$type": "color" },
      "900": { "$value": "#5B341F", "$type": "color" },
      "950": { "$value": "#392114", "$type": "color" }
    },
    "brandInk": { "$value": "#000000", "$type": "color" }
  }
}

Best text color

Only one of black and white can be right. This is the one, with the number that proves it.

Readable at a glance#000000 on #cd845c · 7.05:1
Use #000000AAA at every size.
Aa
12px
Aa
16px
Aa
24px
Aa
White text · 2.98:1
AA fail · AA large fail · AAA fail
Aa
Black text · 7.05:1 · recommended
AA pass · AA large pass · AAA pass
Reading the other direction: #cd845c as text scores 2.98:1 on white and 7.05:1 on black.
Best tinted ink on it, if plain black or white feels flat: #62361E at 3.41:1.

Make it accessible

A contrast checker tells you that you failed. This tells you what to ship instead — same hue, same saturation, lightness moved only as far as WCAG demands.

The quick fox
#B06136 · 4.56:1
AA on white−13% L
#B06136
The quick fox
#824728 · 7.29:1
AAA on white−25% L
#824728
The quick fox
#cd845c · 7.05:1
AA on blackalready passes
#cd845c
The quick fox
#cd845c · 7.05:1
AAA on blackalready passes
#cd845c

Large text — 24px regular or 18.66px bold and above — only needs 3:1, so #CC8158 is enough for headings on white. Non-text elements such as icons, chart strokes and focus rings also sit at 3:1 under WCAG 2.2 (1.4.11).

Accessibility — WCAG contrast

Aa
#cd845c on white: 2.98:1
AA ✗ fail · AA-large · AAA
Aa
#cd845c on black: 7.05:1
AA ✓ pass · AA-large · AAA
Against the neutral ladder

Contrast is symmetric, so each row covers both directions: #cd845c as text on that neutral, and that neutral as text on #cd845c.

NeutralRatioBoth directions
White2.98:1AaAa
Slate 502.85:1AaAa
Slate 1002.72:1AaAa
Slate 2002.42:1AaAa
Slate 3002.01:1AaAa
Slate 4001.16:1AaAa
Slate 5001.60:1AaAa
Slate 6002.54:1AaAa
Slate 7003.48:1AaAa
Slate 8004.91:1AaAa
Slate 9005.99:1AaAa
Black7.05:1AaAa
Colour vision deficiency
true color
protanopia · #988C59
deuteranopia · #A99C5C
tritanopia · #DE767A

Roughly one man in twelve has some form of colour vision deficiency. If any of the three panels above is hard to tell apart from a neighbouring colour in your palette, add a shape, an icon or a label so the meaning does not rest on hue alone.

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #cd845c is pinned to step 500; the rest hold its hue and let saturation ease off at the extremes so the pale end never turns neon.

#FBF6F4
#F6EEE9
#EDD9CE
#E5BEA9
#D89E7E
#cd845c
#BB6739
#9C5630
#7D4526
#5B341F
#392114
Base = 500Lightest = 50 · #FBF6F4Darkest = 950 · #392114Text step on white = 700
Perceptual ramp — OKLCH

The same eleven steps expressed in OKLCH, where equal lightness numbers actually look equally spaced. HSL ramps go muddy in the yellows and washed out in the blues; this one does not. Modern browsers render it natively — the hex ramp above is the fallback.

50100200300400500600700800900950
oklch tokensclick to select
:root {
  --brand-50: oklch(0.97 0.026 49.0);
  --brand-100: oklch(0.94 0.042 49.0);
  --brand-200: oklch(0.88 0.063 49.0);
  --brand-300: oklch(0.80 0.082 49.0);
  --brand-400: oklch(0.72 0.097 49.0);
  --brand-500: oklch(0.64 0.105 49.0);
  --brand-600: oklch(0.56 0.105 49.0);
  --brand-700: oklch(0.48 0.099 49.0);
  --brand-800: oklch(0.40 0.089 49.0);
  --brand-900: oklch(0.32 0.074 49.0);
  --brand-950: oklch(0.24 0.058 49.0);
}

Colors that work with #cd845c

Not a palette — a role sheet. Each swatch answers one question you will hit while building the component.

Text on it#000000
Black wins here
Surface#FAF6F4
Tinted page background
Border#ECD0C1
Hairlines and dividers
Muted text#9B674B
Captions on the surface
Accent#2C94A0
Second voice, not a rival
Dark variant#62361E
Hover, pressed, headers
Light variant#F9F0EB
Selected rows, tints
Dark surface#241A14
Dark-mode background
Hover#C56F40
One step down in lightness
Pressed#AD5F35
Two steps down
Disabled#D8C9C1
Chroma pulled out
Focus ring#DB8D62
Offset from the fill so it reads
Light mode
Everything in its place

Surface, border, heading and body all derive from this one hue, so the screen stays coherent without a second palette.

Primary actionSecondaryBadge
Dark mode
Same hue, inverted

Lightness flips, hue holds. The accent stays the anchor in both themes.

Primary actionSecondaryAccent

In real components

The same eight roles, wired into the interface patterns you will actually build with them. Every state below is a computed value, not a mock-up.

Buttons and states
Save changesHoverPressedDisabled
OutlineSubtleLinkFocused
Form field
you@company.com

Focus ring uses the light variant so the field still reads as one shape.

Send me product updates
Notice
Your export is ready

The file stays available for seven days. Download it before it expires.

NewBetaDraft
Data
Storage used68%
Acme LtdActive
NorthwindTrial
GlobexActive

How to use #cd845c

Derived from its contrast, chroma and lightness — not from taste.

Works well for
  • Text and icons on dark surfaces
  • Primary buttons and calls to action
  • Focus rings, active and selected states
  • Brand accents, badges and data highlights
  • Chart series and data categories
Use with care
  • Text of any size on white — fails WCAG AA
  • Full-page backgrounds — tiring over long sessions
  • Pairing with a same-lightness hue — edges vibrate
Minimum size as text on white
Not as text
Safe as a fill behind white type
No — use #62361E
Safe as a 1px border on white
No — use #CC8158

Meaning and mood

What a colour in this family tends to signal, and how this particular chroma and lightness change the reading.

friendlyenergeticaffordablesocial

Orange is red with the aggression taken out — approachable, active, and strongly associated with buying and doing.

This is a confident chroma: strong enough to lead a brand, restrained enough to live in an interface all day. The mid lightness keeps it versatile in both themes.

Worth knowing

Hard to make feel premium, and it collides with the "caution" band in status systems.

Reads as
  • FormalityMedium
  • EnergyMedium-high
  • Weight42/100
  • TemperatureWarm
  • ApproachabilityHigh

Colour associations are cultural and vary by market. Treat these as a starting point for a conversation with your audience, not a finding about them.

Similar colors

One move away from this hex in each direction. Every swatch is its own page.

Color relationships

The wheel positions with their names attached, so you can grab the one you actually need.

Complementary#5CA5CD
Analogous left#CD5C6C
Analogous right#CDBC5C
Split-complement 1#5CCDBC
Split-complement 2#5C6CCD
Triadic 1#5CCD84
Triadic 2#845CCD
Tetradic#6CCD5C
On the wheel
Base+30°−30°+120°+240°+180°21°

#cd845c sits at 21°. Every dot is a harmony position and links to its own page in the table alongside.

RGB percentages

Red80.4%
Green51.8%
Blue36.1%
R · 0–255
205
0xcd
G · 0–255
132
0x84
B · 0–255
92
0x5c

CMYK percentages

Cyan0.0%
Magenta35.6%
Yellow55.1%
Key (black)19.6%

Total ink coverage is 110%. Most commercial presses cap around 300% — above that, sheets stop drying properly.

Color previews

#cd845c text on a black background

contrast 7.05:1

Card sample

#cd845c text on a white background

contrast 2.98:1

Card sample

#cd845c on grey

2.72:1

#cd845c on its own surface

2.77:1

#cd845c on its dark surface

5.72:1

CSS3 live lab

Text font color

The quick brown fox

color: #cd845c;
Background color
Panel with #cd845c background
background-color: #cd845c;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #cd845c;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(205, 132, 92, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(205, 132, 92, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cd845c;
background: linear-gradient(135deg, #cd845c, #CBCD5C);
Gradient text

Gradient headline

background: linear-gradient(90deg, #cd845c, #AECD5C);
-webkit-background-clip: text;
color: transparent;
Focus ring
Focused control
outline: 2px solid #cd845c;
outline-offset: 3px;
Underline & caret

Marked up text

text-decoration-color: #cd845c;
caret-color: #cd845c;
Left rule
Pull quote or callout
border-left: 4px solid #cd845c;
Ring + tint
Selected chip
background: #F9F0EB;
box-shadow: inset 0 0 0 2px #cd845c;
Conic badge
68%
background: conic-gradient(#cd845c 68%, #e2e8f0 0);

Transparency

What each alpha value actually composites to. The top row is #cd845c over white; the bottom row is the same alpha over a checkerboard, so you can see what survives on a photo or a video.

Bottom row of hexes is the flattened result over white — use those when a design tool refuses transparency, or when you need a solid fallback.

alpha in every syntaxclick to select
rgba(205, 132, 92, 0.5)
rgb(205 132 92 / 50%)
#cd845c80
hsl(21 53% 58% / 50%)
color-mix(in srgb, #cd845c 50%, transparent)
Alpha8-digit hexFlat on white
10%#cd845c1a#FAF3EF
20%#cd845c33#F5E6DE
40%#cd845c66#EBCEBE
60%#cd845c99#E1B59D
80%#cd845ccc#D79D7D

Gradients from #cd845c

Six recipes, each built from this hex and shown with the exact CSS that produced it.

Elevation
Same hue, three lightnesses — safe anywhere
background: linear-gradient(135deg, #DBA78B, #cd845c 45%, #62361E);
Duotone
A short hue run reads richer than a flat fill
background: linear-gradient(120deg, #cd845c, #B8C644);
Complement sweep
Loud — keep it behind large type only
background: linear-gradient(90deg, #cd845c, #5CA5CD);
Spotlight
Hero panels and app headers
background: radial-gradient(120% 120% at 20% 0%, #E3B9A2 0%, #cd845c 45%, #62361E 100%);
Soft wash
Section backgrounds that stay readable
background: linear-gradient(180deg, #FAF6F4, #ffffff);
Mesh
Ambient background, no image weight
background: radial-gradient(60% 60% at 15% 20%, #D98397 0%, transparent 60%), radial-gradient(55% 55% at 85% 15%, #D4CE73 0%, transparent 60%), radial-gradient(70% 70% at 50% 95%, #62361E 0%, transparent 65%), #cd845c;

Monochromatic scale

Palettes built from #cd845c

Shades — darker

Tints — lighter

Tones — desaturated

Color harmonies

Nearest named colors

Ranked with CIEDE2000 across all 139 CSS keywords. Under ΔE 2 the eye stops telling them apart; over ΔE 10 they are plainly different colors.

#cd845c in the real world

Where a color in this family tends to land, and the interface roles it is usually asked to play.

Industries
E-commerceFood deliveryLogisticsCreator tools
Common UI roles
ButtonsLinksFocus statesCharts
Print note

Converts to four-color process without much drama. Proof it anyway.

On screens

Holds up across typical panel gamma. Still worth checking on an uncalibrated laptop, where mid-tones shift most.

In dark mode

Usable as-is on a dark surface at 7.05:1.

Explore nearby colors

Small, deliberate steps away from this hex — useful when you are hunting for the version of a colour that finally feels right.

#cd845c, answered

What color is #cd845c?

#cd845c is a balanced vivid orange, closest to Peru (ΔE2000 7.7). It sits at 21° on the hue wheel with 53% saturation and 58% lightness, which reads as warm.

What is the RGB value of #cd845c?

rgb(205, 132, 92) — 205 red, 132 green and 92 blue out of 255, or 80.4% / 51.8% / 36.1% by channel.

What is #cd845c in HSL and HSV?

hsl(21, 53%, 58%) and hsv(21, 55%, 80%). HSL is what CSS takes; HSV is what your design tool's picker shows, which is why the saturation numbers rarely match.

Is #cd845c a light or a dark color?

It is a mid-tone. Relative luminance is 0.3025 and perceived brightness is 60%, so black text on it reaches 7.05:1.

Should I use black or white text on #cd845c?

Black. It scores 7.05:1 against #cd845c, versus 2.98:1 for white — AAA at any size.

Is #cd845c accessible on a white background?

#cd845c on white scores 2.98:1, which fails WCAG AA at every size. Darken it to #B06136 to reach 4.5:1, or #824728 for 7:1.

What is the complementary color of #cd845c?

#5CA5CD sits directly opposite on the wheel. Softer options are the split-complements #5CCDBC and #5C6CCD, which give the same contrast with far less vibration.

What colors go well with #cd845c?

For interface work: #FAF6F4 as the surface, #ECD0C1 for borders, #9B674B for secondary text, #2C94A0 as an accent and #62361E for hover and pressed states. For a palette, the analogous pair #CD5C6C and #CDBC5C stays calm, while #5CA5CD is the loudest partner.

What is #cd845c in CMYK for printing?

cmyk(0%, 36%, 55%, 20%). This is a screen-to-ink approximation — ask your printer for a proof before committing to a run.

Is #cd845c warm or cool?

Warm — it scores 5 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #D3976F; nudged cooler, #CF5A5B.

Which Tailwind color is closest to #cd845c?

The orange family — its 500 step is #f97316, ΔE2000 11.1 away. That is a visible difference, so define #cd845c as a custom token rather than reaching for the built-in.

How do I use #cd845c in Tailwind CSS?

Inline it as an arbitrary value with bg-[#cd845c] or text-[#cd845c], or register the whole ramp under theme.extend.colors.brand so you get bg-brand-500 and friends. The generated 50–950 scale on this page is ready to paste into your config.

What is #cd845c with 50% opacity?

rgba(205, 132, 92, 0.5), or #cd845c80 in eight-digit hex. Over white that composites to #E6C2AE; over black, #67422E.

Is #cd845c a web-safe color?

No. The nearest web-safe colour is #CC9966, ΔE2000 8.8 away. The palette only matters for legacy displays and some email clients now.

What does the color #cd845c mean?

As a orange, it reads friendly, energetic, affordable. Orange is red with the aggression taken out — approachable, active, and strongly associated with buying and doing. At this chroma the effect is amplified — it will dominate whatever sits beside it.

What gradient works with #cd845c?

The safest is same-hue elevation: linear-gradient(135deg, #DBA78B, #cd845c 45%, #62361E). For more colour, a short hue run to #B8C644 keeps it rich without turning muddy.

Work with #cd845c in the Color Lab

Every tool opens with this colour already loaded.

Every value on this page is computed from #cd845c at request time — conversions, contrast ratios and ΔE distances are calculated, never looked up.