#CC286E#CC286E

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

Color values

HEX#CC286E
RGBrgb(204, 40, 110)
HSLhsl(334, 67%, 48%)
HSVhsv(334, 80%, 80%)
CMYKcmyk(0%, 80.4%, 46.1%, 20%)
CIE-LABlab(46.29, 66.08, 1.34)
CIE-LCHlch(46.29, 66.09, 1.16°)
OKLaboklab(56.36% 0.203 0.0042)
OKLCHoklch(56.36% 0.203 1.2)
XYZxyz(28.4775, 15.4847, 16.2381)
Luminance0.1548 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC286E #28CC86
analogous
#CC28C0 #CC286E #CC3428
triadic
#CC286E #6ECC28 #286ECC
tetradic
#CC286E #C0CC28 #28CC86 #3428CC
square
#CC286E #C0CC28 #28CC86 #3428CC
split-complementary
#CC286E #28CC34 #28C0CC
monochromatic
#661437 #991E52 #CC286E #DD548F #E787B0

Accessibility & contrast

On white

5.13
#CC286E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #CC286E
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC286E#FFFFFF#000000##FFFFFF
##CC286E1.005.134.105.13
#FFFFFF5.131.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#515A70
Deuteranopia (green-blind)
#7D796A
Tritanopia (blue-blind)
#DE0048
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #cc286e;
/* rgb */ color: rgb(204, 40, 110);
/* oklch */ color: oklch(56.4% 0.203 1.2);
Tailwind
colors: {
  custom: {
    50: '#e27497',
    500: '#cc286e',
    950: '#000000',
  },
}
SCSS
$custom: #cc286e;
$custom-light: #e27497;
$custom-dark: #000000;
JSON
{
  "hex": "#cc286e",
  "rgb": {
    "r": 204,
    "g": 40,
    "b": 110
  },
  "hsl": {
    "h": 334.39,
    "s": 67.213,
    "l": 47.843
  },
  "oklch": {
    "l": 0.56361,
    "c": 0.20308,
    "h": 1.2
  },
  "luminance": 0.15481
}

Semantic roles & 50–950 ramp

primary
#CC286E
secondary
#7FD1AE
accent
#EAA13E
background
#FEF7F9
surface
#FDEEF2
border
#D5C9CC
text
#17090D
muted
#857B7E

Preview Lab

Preview with #CC286E

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

Preview Lab → · Contrast checker → · Palette generator →

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