#CC4BA2#CC4BA2

#CC4BA2 is a mid, vivid pink. Relative luminance 0.205; OKLCH L 61.4% C 0.188 H 342.8°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#CC4BA2
RGBrgb(204, 75, 162)
HSLhsl(320, 56%, 55%)
HSVhsv(320, 63%, 80%)
CMYKcmyk(0%, 63.2%, 20.6%, 20%)
CIE-LABlab(52.38, 60.00, -20.84)
CIE-LCHlch(52.38, 63.52, 340.85°)
OKLaboklab(61.42% 0.1796 -0.0557)
OKLCHoklch(61.42% 0.188 342.8)
XYZxyz(33.9405, 20.4813, 36.3412)
Luminance0.2048 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC4BA2 #4BCC75
analogous
#B64BCC #CC4BA2 #CC4B62
triadic
#CC4BA2 #A2CC4B #4BA2CC
tetradic
#CC4BA2 #CCB64B #4BCC75 #4B62CC
square
#CC4BA2 #CCB64B #4BCC75 #4B62CC
split-complementary
#CC4BA2 #62CC4B #4BCCB6
monochromatic
#7A235E #AA3082 #CC4BA2 #DA7BBB #E7AAD3

Accessibility & contrast

On white

4.12
#CC4BA2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#CC4BA2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC4BA2
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC4BA2#FFFFFF#000000##000000
##CC4BA21.004.125.105.10
#FFFFFF4.121.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#566FA5
Deuteranopia (green-blind)
#7C859F
Tritanopia (blue-blind)
#D84C70
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #cc4ba2;
/* rgb */ color: rgb(204, 75, 162);
/* oklch */ color: oklch(61.4% 0.188 342.8);
Tailwind
colors: {
  custom: {
    50: '#df85bd',
    500: '#cc4ba2',
    950: '#000000',
  },
}
SCSS
$custom: #cc4ba2;
$custom-light: #df85bd;
$custom-dark: #000000;
JSON
{
  "hex": "#cc4ba2",
  "rgb": {
    "r": 204,
    "g": 75,
    "b": 162
  },
  "hsl": {
    "h": 319.535,
    "s": 55.844,
    "l": 54.706
  },
  "oklch": {
    "l": 0.61415,
    "c": 0.18801,
    "h": 342.8
  },
  "luminance": 0.20478
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CC4BA2

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

Preview Lab → · Contrast checker → · Palette generator →

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