#CB5EA2#CB5EA2

#CB5EA2 is a light, vivid pink. Relative luminance 0.233; OKLCH L 63.6% C 0.159 H 344.2°. Best body text is #000000 at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#CB5EA2
RGBrgb(203, 94, 162)
HSLhsl(323, 51%, 58%)
HSVhsv(323, 54%, 80%)
CMYKcmyk(0%, 53.7%, 20.2%, 20.4%)
CIE-LABlab(55.39, 51.17, -16.25)
CIE-LCHlch(55.39, 53.69, 342.38°)
OKLaboklab(63.62% 0.1528 -0.0431)
OKLCHoklch(63.62% 0.159 344.2)
XYZxyz(35.1537, 23.3135, 36.8239)
Luminance0.2331 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB5EA2 #5ECB87
analogous
#BE5ECB #CB5EA2 #CB5E6B
triadic
#CB5EA2 #A2CB5E #5EA2CB
tetradic
#CB5EA2 #CBBE5E #5ECB87 #5E6BCB
square
#CB5EA2 #CBBE5E #5ECB87 #5E6BCB
split-complementary
#CB5EA2 #6BCB5E #5ECBBE
monochromatic
#842B62 #B23A85 #CB5EA2 #DA8CBD #E9BBD7

Accessibility & contrast

On white

3.71
#CB5EA2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.66
#CB5EA2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB5EA2
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB5EA2#FFFFFF#000000##000000
##CB5EA21.003.715.665.66
#FFFFFF3.711.0021.0021.00
#0000005.6621.001.001.00
##0000005.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6779A4
Deuteranopia (green-blind)
#858B9F
Tritanopia (blue-blind)
#D75D79
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #cb5ea2;
/* rgb */ color: rgb(203, 94, 162);
/* oklch */ color: oklch(63.6% 0.159 344.2);
Tailwind
colors: {
  custom: {
    50: '#dd90bd',
    500: '#cb5ea2',
    950: '#000000',
  },
}
SCSS
$custom: #cb5ea2;
$custom-light: #dd90bd;
$custom-dark: #000000;
JSON
{
  "hex": "#cb5ea2",
  "rgb": {
    "r": 203,
    "g": 94,
    "b": 162
  },
  "hsl": {
    "h": 322.569,
    "s": 51.174,
    "l": 58.235
  },
  "oklch": {
    "l": 0.63615,
    "c": 0.15874,
    "h": 344.2
  },
  "luminance": 0.23311
}

Semantic roles & 50–950 ramp

primary
#CB5EA2
secondary
#ADD8BD
accent
#DB824D
background
#FDF9FB
surface
#FBF1F6
border
#D4CBD0
text
#150D12
muted
#837E81

Preview Lab

Preview with #CB5EA2

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

Preview Lab → · Contrast checker → · Palette generator →

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