#CC4039#CC4039

#CC4039 is a mid, vivid red. Relative luminance 0.168; OKLCH L 57.3% C 0.178 H 27.1°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#CC4039
RGBrgb(204, 64, 57)
HSLhsl(3, 59%, 51%)
HSVhsv(3, 72%, 80%)
CMYKcmyk(0%, 68.6%, 72.1%, 20%)
CIE-LABlab(48.01, 54.70, 35.69)
CIE-LCHlch(48.01, 65.31, 33.13°)
OKLaboklab(57.28% 0.1582 0.0811)
OKLCHoklch(57.28% 0.178 27.1)
XYZxyz(27.4768, 16.8036, 5.6667)
Luminance0.1680 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC4039 #39C5CC
analogous
#CC397B #CC4039 #CC8939
triadic
#CC4039 #39CC40 #4039CC
tetradic
#CC4039 #7BCC39 #39C5CC #8939CC
square
#CC4039 #7BCC39 #39C5CC #8939CC
split-complementary
#CC4039 #39CC89 #397BCC
monochromatic
#6E201C #9F2F29 #CC4039 #D96F6A #E59E9A

Accessibility & contrast

On white

4.82
#CC4039 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#CC4039 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CC4039
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC4039#FFFFFF#000000##FFFFFF
##CC40391.004.824.364.82
#FFFFFF4.821.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#685F37
Deuteranopia (green-blind)
#8B7D34
Tritanopia (blue-blind)
#E01340
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #cc4039;
/* rgb */ color: rgb(204, 64, 57);
/* oklch */ color: oklch(57.3% 0.178 27.1);
Tailwind
colors: {
  custom: {
    50: '#e47d70',
    500: '#cc4039',
    950: '#000000',
  },
}
SCSS
$custom: #cc4039;
$custom-light: #e47d70;
$custom-dark: #000000;
JSON
{
  "hex": "#cc4039",
  "rgb": {
    "r": 204,
    "g": 64,
    "b": 57
  },
  "hsl": {
    "h": 2.857,
    "s": 59.036,
    "l": 51.176
  },
  "oklch": {
    "l": 0.57284,
    "c": 0.1778,
    "h": 27.1
  },
  "luminance": 0.168
}

Semantic roles & 50–950 ramp

primary
#CC4039
secondary
#90CED1
accent
#DBE246
background
#FFF8F6
surface
#FEEFEC
border
#D6CAC7
text
#170A07
muted
#857C7A

Preview Lab

Preview with #CC4039

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#CC4039 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva