#CC286F#CC286F

#CC286F is a mid, highly saturated pink. Relative luminance 0.155; OKLCH L 56.4% C 0.203 H 0.8°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#CC286F
RGBrgb(204, 40, 111)
HSLhsl(334, 67%, 48%)
HSVhsv(334, 80%, 80%)
CMYKcmyk(0%, 80.4%, 45.6%, 20%)
CIE-LABlab(46.32, 66.16, 0.76)
CIE-LCHlch(46.32, 66.17, 0.66°)
OKLaboklab(56.39% 0.2034 0.0027)
OKLCHoklch(56.39% 0.203 0.8)
XYZxyz(28.5322, 15.5066, 16.5265)
Luminance0.1550 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC286F #28CC85
analogous
#CC28C1 #CC286F #CC3328
triadic
#CC286F #6FCC28 #286FCC
tetradic
#CC286F #C1CC28 #28CC85 #3328CC
square
#CC286F #C1CC28 #28CC85 #3328CC
split-complementary
#CC286F #28CC33 #28C1CC
monochromatic
#661437 #991E53 #CC286F #DD548F #E787B1

Accessibility & contrast

On white

5.12
#CC286F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#CC286F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CC286F
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC286F#FFFFFF#000000##FFFFFF
##CC286F1.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#515A71
Deuteranopia (green-blind)
#7D796B
Tritanopia (blue-blind)
#DE0049
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #cc286f;
/* rgb */ color: rgb(204, 40, 111);
/* oklch */ color: oklch(56.4% 0.203 0.8);
Tailwind
colors: {
  custom: {
    50: '#e27498',
    500: '#cc286f',
    950: '#000000',
  },
}
SCSS
$custom: #cc286f;
$custom-light: #e27498;
$custom-dark: #000000;
JSON
{
  "hex": "#cc286f",
  "rgb": {
    "r": 204,
    "g": 40,
    "b": 111
  },
  "hsl": {
    "h": 334.024,
    "s": 67.213,
    "l": 47.843
  },
  "oklch": {
    "l": 0.56392,
    "c": 0.20339,
    "h": 0.8
  },
  "luminance": 0.15503
}

Semantic roles & 50–950 ramp

primary
#CC286F
secondary
#7FD1AD
accent
#EA9F3E
background
#FEF7F9
surface
#FDEEF2
border
#D5C9CC
text
#17090D
muted
#857B7E

Preview Lab

Preview with #CC286F

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

Preview Lab → · Contrast checker → · Palette generator →

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