#CC506C#CC506C

#CC506C is a mid, vivid red. Relative luminance 0.197; OKLCH L 60.2% C 0.158 H 9.4°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#CC506C
RGBrgb(204, 80, 108)
HSLhsl(346, 55%, 56%)
HSVhsv(346, 61%, 80%)
CMYKcmyk(0%, 60.8%, 47.1%, 20%)
CIE-LABlab(51.45, 51.50, 9.94)
CIE-LCHlch(51.45, 52.45, 10.92°)
OKLaboklab(60.17% 0.1564 0.0258)
OKLCHoklch(60.17% 0.158 9.4)
XYZxyz(30.4796, 19.6610, 16.3743)
Luminance0.1966 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC506C #50CCB0
analogous
#CC50AA #CC506C #CC7250
triadic
#CC506C #6CCC50 #506CCC
tetradic
#CC506C #AACC50 #50CCB0 #7250CC
square
#CC506C #AACC50 #50CCB0 #7250CC
split-complementary
#CC506C #50CC72 #50AACC
monochromatic
#7D2438 #AD324E #CC506C #DA7F94 #E8AFBC

Accessibility & contrast

On white

4.26
#CC506C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#CC506C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC506C
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC506C#FFFFFF#000000##000000
##CC506C1.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B6B6D
Deuteranopia (green-blind)
#8B8469
Tritanopia (blue-blind)
#DD3F5B
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #cc506c;
/* rgb */ color: rgb(204, 80, 108);
/* oklch */ color: oklch(60.2% 0.158 9.4);
Tailwind
colors: {
  custom: {
    50: '#e08795',
    500: '#cc506c',
    950: '#000000',
  },
}
SCSS
$custom: #cc506c;
$custom-light: #e08795;
$custom-dark: #000000;
JSON
{
  "hex": "#cc506c",
  "rgb": {
    "r": 204,
    "g": 80,
    "b": 108
  },
  "hsl": {
    "h": 346.452,
    "s": 54.867,
    "l": 55.686
  },
  "oklch": {
    "l": 0.60165,
    "c": 0.15846,
    "h": 9.4
  },
  "luminance": 0.19657
}

Semantic roles & 50–950 ramp

primary
#CC506C
secondary
#A2D6CA
accent
#DEBD4A
background
#FEF8F9
surface
#FDF0F1
border
#D5CBCB
text
#160C0D
muted
#847D7E

Preview Lab

Preview with #CC506C

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

Preview Lab → · Contrast checker → · Palette generator →

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