#CC506F#CC506F

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

Color values

HEX#CC506F
RGBrgb(204, 80, 111)
HSLhsl(345, 55%, 56%)
HSVhsv(345, 61%, 80%)
CMYKcmyk(0%, 60.8%, 45.6%, 20%)
CIE-LABlab(51.53, 51.78, 8.25)
CIE-LCHlch(51.53, 52.44, 9.05°)
OKLaboklab(60.25% 0.1575 0.0216)
OKLCHoklch(60.25% 0.159 7.8)
XYZxyz(30.6420, 19.7260, 17.2297)
Luminance0.1972 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC506F #50CCAD
analogous
#CC50AD #CC506F #CC6F50
triadic
#CC506F #6FCC50 #506FCC
tetradic
#CC506F #ADCC50 #50CCAD #6F50CC
square
#CC506F #ADCC50 #50CCAD #6F50CC
split-complementary
#CC506F #50CC6F #50ADCC
monochromatic
#7D243B #AD3251 #CC506F #DA7F96 #E8AFBD

Accessibility & contrast

On white

4.25
#CC506F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#CC506F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC506F
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC506F#FFFFFF#000000##000000
##CC506F1.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A6B70
Deuteranopia (green-blind)
#8A846C
Tritanopia (blue-blind)
#DD405C
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #cc506f;
/* rgb */ color: rgb(204, 80, 111);
/* oklch */ color: oklch(60.2% 0.159 7.8);
Tailwind
colors: {
  custom: {
    50: '#e08798',
    500: '#cc506f',
    950: '#000000',
  },
}
SCSS
$custom: #cc506f;
$custom-light: #e08798;
$custom-dark: #000000;
JSON
{
  "hex": "#cc506f",
  "rgb": {
    "r": 204,
    "g": 80,
    "b": 111
  },
  "hsl": {
    "h": 345,
    "s": 54.867,
    "l": 55.686
  },
  "oklch": {
    "l": 0.60245,
    "c": 0.15894,
    "h": 7.8
  },
  "luminance": 0.19722
}

Semantic roles & 50–950 ramp

primary
#CC506F
secondary
#A2D6C9
accent
#DEB94A
background
#FEF8F9
surface
#FDF0F2
border
#D5CBCC
text
#160C0D
muted
#847D7E

Preview Lab

Preview with #CC506F

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

Preview Lab → · Contrast checker → · Palette generator →

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