#CC286C#CC286C

#CC286C is a mid, highly saturated pink. Relative luminance 0.154; OKLCH L 56.3% C 0.202 H 2.0°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#CC286C
RGBrgb(204, 40, 108)
HSLhsl(335, 67%, 48%)
HSVhsv(335, 80%, 80%)
CMYKcmyk(0%, 80.4%, 47.1%, 20%)
CIE-LABlab(46.23, 65.90, 2.49)
CIE-LCHlch(46.23, 65.95, 2.16°)
OKLaboklab(56.3% 0.2024 0.0071)
OKLCHoklch(56.3% 0.202 2)
XYZxyz(28.3698, 15.4416, 15.6711)
Luminance0.1544 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC286C #28CC88
analogous
#CC28BE #CC286C #CC3628
triadic
#CC286C #6CCC28 #286CCC
tetradic
#CC286C #BECC28 #28CC88 #3628CC
square
#CC286C #BECC28 #28CC88 #3628CC
split-complementary
#CC286C #28CC36 #28BECC
monochromatic
#661436 #991E51 #CC286C #DD548D #E787AF

Accessibility & contrast

On white

5.14
#CC286C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#CC286C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CC286C
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC286C#FFFFFF#000000##FFFFFF
##CC286C1.005.144.095.14
#FFFFFF5.141.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#52596D
Deuteranopia (green-blind)
#7D7968
Tritanopia (blue-blind)
#DE0047
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #cc286c;
/* rgb */ color: rgb(204, 40, 108);
/* oklch */ color: oklch(56.3% 0.202 2.0);
Tailwind
colors: {
  custom: {
    50: '#e27495',
    500: '#cc286c',
    950: '#000000',
  },
}
SCSS
$custom: #cc286c;
$custom-light: #e27495;
$custom-dark: #000000;
JSON
{
  "hex": "#cc286c",
  "rgb": {
    "r": 204,
    "g": 40,
    "b": 108
  },
  "hsl": {
    "h": 335.122,
    "s": 67.213,
    "l": 47.843
  },
  "oklch": {
    "l": 0.563,
    "c": 0.20249,
    "h": 2
  },
  "luminance": 0.15438
}

Semantic roles & 50–950 ramp

primary
#CC286C
secondary
#7FD1AF
accent
#EAA33E
background
#FEF7F9
surface
#FDEEF1
border
#D5C9CB
text
#17090D
muted
#857B7E

Preview Lab

Preview with #CC286C

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

Preview Lab → · Contrast checker → · Palette generator →

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