#CC505C#CC505C

#CC505C is a mid, vivid red. Relative luminance 0.193; OKLCH L 59.8% C 0.157 H 17.5°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#CC505C
RGBrgb(204, 80, 92)
HSLhsl(354, 55%, 56%)
HSVhsv(354, 61%, 80%)
CMYKcmyk(0%, 60.8%, 54.9%, 20%)
CIE-LABlab(51.10, 50.11, 19.02)
CIE-LCHlch(51.10, 53.59, 20.78°)
OKLaboklab(59.78% 0.1502 0.0473)
OKLCHoklch(59.78% 0.157 17.5)
XYZxyz(29.7048, 19.3511, 12.2940)
Luminance0.1935 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC505C #50CCC0
analogous
#CC509A #CC505C #CC8250
triadic
#CC505C #5CCC50 #505CCC
tetradic
#CC505C #9ACC50 #50CCC0 #8250CC
square
#CC505C #9ACC50 #50CCC0 #8250CC
split-complementary
#CC505C #50CC82 #509ACC
monochromatic
#7D242D #AD323E #CC505C #DA7F88 #E8AFB4

Accessibility & contrast

On white

4.31
#CC505C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#CC505C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC505C
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC505C#FFFFFF#000000##000000
##CC505C1.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E6A5C
Deuteranopia (green-blind)
#8D8359
Tritanopia (blue-blind)
#DE3B55
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #cc505c;
/* rgb */ color: rgb(204, 80, 92);
/* oklch */ color: oklch(59.8% 0.157 17.5);
Tailwind
colors: {
  custom: {
    50: '#e1868a',
    500: '#cc505c',
    950: '#000000',
  },
}
SCSS
$custom: #cc505c;
$custom-light: #e1868a;
$custom-dark: #000000;
JSON
{
  "hex": "#cc505c",
  "rgb": {
    "r": 204,
    "g": 80,
    "b": 92
  },
  "hsl": {
    "h": 354.194,
    "s": 54.867,
    "l": 55.686
  },
  "oklch": {
    "l": 0.59782,
    "c": 0.15741,
    "h": 17.5
  },
  "luminance": 0.19347
}

Semantic roles & 50–950 ramp

primary
#CC505C
secondary
#A2D6D1
accent
#DED04A
background
#FEF8F8
surface
#FDF0F0
border
#D5CBCB
text
#160C0B
muted
#847D7C

Preview Lab

Preview with #CC505C

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

Preview Lab → · Contrast checker → · Palette generator →

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