#CC4287#CC4287

#CC4287 is a mid, vivid pink. Relative luminance 0.185; OKLCH L 59.4% C 0.185 H 353.4°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#CC4287
RGBrgb(204, 66, 135)
HSLhsl(330, 58%, 53%)
HSVhsv(330, 68%, 80%)
CMYKcmyk(0%, 67.6%, 33.8%, 20%)
CIE-LABlab(50.08, 60.17, -8.28)
CIE-LCHlch(50.08, 60.74, 352.17°)
OKLaboklab(59.4% 0.1839 -0.0211)
OKLCHoklch(59.4% 0.185 353.4)
XYZxyz(31.2250, 18.4866, 24.8409)
Luminance0.1848 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC4287 #42CC87
analogous
#CC42CC #CC4287 #CC4242
triadic
#CC4287 #87CC42 #4287CC
tetradic
#CC4287 #CCCC42 #42CC87 #4242CC
square
#CC4287 #CCCC42 #42CC87 #4242CC
split-complementary
#CC4287 #42CC42 #42CCCC
monochromatic
#741F4A #A42C68 #CC4287 #D972A6 #E6A2C4

Accessibility & contrast

On white

4.47
#CC4287 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#CC4287 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC4287
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC4287#FFFFFF#000000##000000
##CC42871.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#596789
Deuteranopia (green-blind)
#7F8084
Tritanopia (blue-blind)
#DB385F
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #cc4287;
/* rgb */ color: rgb(204, 66, 135);
/* oklch */ color: oklch(59.4% 0.185 353.4);
Tailwind
colors: {
  custom: {
    50: '#e080aa',
    500: '#cc4287',
    950: '#000000',
  },
}
SCSS
$custom: #cc4287;
$custom-light: #e080aa;
$custom-dark: #000000;
JSON
{
  "hex": "#cc4287",
  "rgb": {
    "r": 204,
    "g": 66,
    "b": 135
  },
  "hsl": {
    "h": 330,
    "s": 57.5,
    "l": 52.941
  },
  "oklch": {
    "l": 0.59402,
    "c": 0.18515,
    "h": 353.4
  },
  "luminance": 0.18483
}

Semantic roles & 50–950 ramp

primary
#CC4287
secondary
#97D3B5
accent
#E19447
background
#FEF8FA
surface
#FDEFF4
border
#D5CACE
text
#160B10
muted
#847C7F

Preview Lab

Preview with #CC4287

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

Preview Lab → · Contrast checker → · Palette generator →

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