#CC504B#CC504B

#CC504B is a mid, vivid red. Relative luminance 0.191; OKLCH L 59.5% C 0.159 H 25.4°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#CC504B
RGBrgb(204, 80, 75)
HSLhsl(2, 56%, 55%)
HSVhsv(2, 63%, 80%)
CMYKcmyk(0%, 60.8%, 63.2%, 20%)
CIE-LABlab(50.79, 48.89, 28.65)
CIE-LCHlch(50.79, 56.67, 30.37°)
OKLaboklab(59.45% 0.1435 0.0682)
OKLCHoklch(59.45% 0.159 25.4)
XYZxyz(29.0433, 19.0865, 8.8099)
Luminance0.1908 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC504B #4BC7CC
analogous
#CC4B86 #CC504B #CC914B
triadic
#CC504B #4BCC50 #504BCC
tetradic
#CC504B #86CC4B #4BC7CC #914BCC
square
#CC504B #86CC4B #4BC7CC #914BCC
split-complementary
#CC504B #4BCC91 #4B86CC
monochromatic
#7A2623 #AA3530 #CC504B #DA7E7B #E7ADAA

Accessibility & contrast

On white

4.36
#CC504B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#CC504B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC504B
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC504B#FFFFFF#000000##000000
##CC504B1.004.364.824.82
#FFFFFF4.361.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#70684A
Deuteranopia (green-blind)
#8F8348
Tritanopia (blue-blind)
#DF3750
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #cc504b;
/* rgb */ color: rgb(204, 80, 75);
/* oklch */ color: oklch(59.5% 0.159 25.4);
Tailwind
colors: {
  custom: {
    50: '#e2867d',
    500: '#cc504b',
    950: '#000000',
  },
}
SCSS
$custom: #cc504b;
$custom-light: #e2867d;
$custom-dark: #000000;
JSON
{
  "hex": "#cc504b",
  "rgb": {
    "r": 204,
    "g": 80,
    "b": 75
  },
  "hsl": {
    "h": 2.326,
    "s": 55.844,
    "l": 54.706
  },
  "oklch": {
    "l": 0.59451,
    "c": 0.1589,
    "h": 25.4
  },
  "luminance": 0.19083
}

Semantic roles & 50–950 ramp

primary
#CC504B
secondary
#9ED2D5
accent
#D9DF49
background
#FEF8F7
surface
#FDF0EE
border
#D5CBC9
text
#170B09
muted
#857C7B

Preview Lab

Preview with #CC504B

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

Preview Lab → · Contrast checker → · Palette generator →

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