#CB5EA1#CB5EA1

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

Color values

HEX#CB5EA1
RGBrgb(203, 94, 161)
HSLhsl(323, 51%, 58%)
HSVhsv(323, 54%, 80%)
CMYKcmyk(0%, 53.7%, 20.7%, 20.4%)
CIE-LABlab(55.36, 51.03, -15.72)
CIE-LCHlch(55.36, 53.40, 342.88°)
OKLaboklab(63.58% 0.1525 -0.0416)
OKLCHoklch(63.58% 0.158 344.7)
XYZxyz(35.0652, 23.2781, 36.3576)
Luminance0.2328 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB5EA1 #5ECB88
analogous
#BE5ECB #CB5EA1 #CB5E6A
triadic
#CB5EA1 #A1CB5E #5EA1CB
tetradic
#CB5EA1 #CBBE5E #5ECB88 #5E6ACB
square
#CB5EA1 #CBBE5E #5ECB88 #5E6ACB
split-complementary
#CB5EA1 #6ACB5E #5ECBBE
monochromatic
#842B62 #B23A84 #CB5EA1 #DA8CBC #E9BBD7

Accessibility & contrast

On white

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

On black

5.65
#CB5EA1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB5EA1
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB5EA1#FFFFFF#000000##000000
##CB5EA11.003.715.655.65
#FFFFFF3.711.0021.0021.00
#0000005.6521.001.001.00
##0000005.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6779A3
Deuteranopia (green-blind)
#858B9E
Tritanopia (blue-blind)
#D75D78
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #cb5ea1;
/* rgb */ color: rgb(203, 94, 161);
/* oklch */ color: oklch(63.6% 0.158 344.7);
Tailwind
colors: {
  custom: {
    50: '#dd90bd',
    500: '#cb5ea1',
    950: '#000000',
  },
}
SCSS
$custom: #cb5ea1;
$custom-light: #dd90bd;
$custom-dark: #000000;
JSON
{
  "hex": "#cb5ea1",
  "rgb": {
    "r": 203,
    "g": 94,
    "b": 161
  },
  "hsl": {
    "h": 323.119,
    "s": 51.174,
    "l": 58.235
  },
  "oklch": {
    "l": 0.63576,
    "c": 0.15809,
    "h": 344.7
  },
  "luminance": 0.23275
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CB5EA1

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

Preview Lab → · Contrast checker → · Palette generator →

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