#CC4CA2#CC4CA2

#CC4CA2 is a mid, vivid pink. Relative luminance 0.206; OKLCH L 61.5% C 0.187 H 342.8°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#CC4CA2
RGBrgb(204, 76, 162)
HSLhsl(320, 56%, 55%)
HSVhsv(320, 63%, 80%)
CMYKcmyk(0%, 62.7%, 20.6%, 20%)
CIE-LABlab(52.53, 59.58, -20.61)
CIE-LCHlch(52.53, 63.05, 340.92°)
OKLaboklab(61.53% 0.1783 -0.055)
OKLCHoklch(61.53% 0.187 342.8)
XYZxyz(34.0088, 20.6180, 36.3640)
Luminance0.2061 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC4CA2 #4CCC76
analogous
#B64CCC #CC4CA2 #CC4C62
triadic
#CC4CA2 #A2CC4C #4CA2CC
tetradic
#CC4CA2 #CCB64C #4CCC76 #4C62CC
square
#CC4CA2 #CCB64C #4CCC76 #4C62CC
split-complementary
#CC4CA2 #62CC4C #4CCCB6
monochromatic
#7B235E #AA3182 #CC4CA2 #DA7CBB #E7ABD3

Accessibility & contrast

On white

4.10
#CC4CA2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#CC4CA2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC4CA2
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC4CA2#FFFFFF#000000##000000
##CC4CA21.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5670A5
Deuteranopia (green-blind)
#7C859F
Tritanopia (blue-blind)
#D84D70
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #cc4ca2;
/* rgb */ color: rgb(204, 76, 162);
/* oklch */ color: oklch(61.5% 0.187 342.8);
Tailwind
colors: {
  custom: {
    50: '#df86bd',
    500: '#cc4ca2',
    950: '#000000',
  },
}
SCSS
$custom: #cc4ca2;
$custom-light: #df86bd;
$custom-dark: #000000;
JSON
{
  "hex": "#cc4ca2",
  "rgb": {
    "r": 204,
    "g": 76,
    "b": 162
  },
  "hsl": {
    "h": 319.688,
    "s": 55.652,
    "l": 54.902
  },
  "oklch": {
    "l": 0.61526,
    "c": 0.18661,
    "h": 342.8
  },
  "luminance": 0.20615
}

Semantic roles & 50–950 ramp

primary
#CC4CA2
secondary
#9FD5B1
accent
#DF7A49
background
#FEF8FB
surface
#FCF0F6
border
#D5CBD0
text
#160C12
muted
#847D81

Preview Lab

Preview with #CC4CA2

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

Preview Lab → · Contrast checker → · Palette generator →

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