#CB4CA2#CB4CA2

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

Color values

HEX#CB4CA2
RGBrgb(203, 76, 162)
HSLhsl(319, 55%, 55%)
HSVhsv(319, 63%, 80%)
CMYKcmyk(0%, 62.6%, 20.2%, 20.4%)
CIE-LABlab(52.37, 59.30, -20.86)
CIE-LCHlch(52.37, 62.87, 340.62°)
OKLaboklab(61.38% 0.1773 -0.0558)
OKLCHoklch(61.38% 0.186 342.5)
XYZxyz(33.7356, 20.4771, 36.3512)
Luminance0.2047 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB4CA2 #4CCB75
analogous
#B44CCB #CB4CA2 #CB4C63
triadic
#CB4CA2 #A2CB4C #4CA2CB
tetradic
#CB4CA2 #CBB44C #4CCB75 #4C63CB
square
#CB4CA2 #CBB44C #4CCB75 #4C63CB
split-complementary
#CB4CA2 #63CB4C #4CCBB4
monochromatic
#79235E #A93182 #CB4CA2 #D97BBB #E7ABD3

Accessibility & contrast

On white

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

On black

5.09
#CB4CA2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB4CA2
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB4CA2#FFFFFF#000000##000000
##CB4CA21.004.125.095.09
#FFFFFF4.121.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cb4ca2;
/* rgb */ color: rgb(203, 76, 162);
/* oklch */ color: oklch(61.4% 0.186 342.5);
Tailwind
colors: {
  custom: {
    50: '#de86bd',
    500: '#cb4ca2',
    950: '#000000',
  },
}
SCSS
$custom: #cb4ca2;
$custom-light: #de86bd;
$custom-dark: #000000;
JSON
{
  "hex": "#cb4ca2",
  "rgb": {
    "r": 203,
    "g": 76,
    "b": 162
  },
  "hsl": {
    "h": 319.37,
    "s": 54.978,
    "l": 54.706
  },
  "oklch": {
    "l": 0.61381,
    "c": 0.18587,
    "h": 342.5
  },
  "luminance": 0.20474
}

Semantic roles & 50–950 ramp

primary
#CB4CA2
secondary
#9FD4B0
accent
#DE7A49
background
#FEF8FB
surface
#FCF0F6
border
#D5CBD0
text
#160C12
muted
#847D81

Preview Lab

Preview with #CB4CA2

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

Preview Lab → · Contrast checker → · Palette generator →

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