#CB5EA6#CB5EA6

#CB5EA6 is a light, vivid pink. Relative luminance 0.235; OKLCH L 63.8% C 0.161 H 342.3°. Best body text is #000000 at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#CB5EA6
RGBrgb(203, 94, 166)
HSLhsl(320, 51%, 58%)
HSVhsv(320, 54%, 80%)
CMYKcmyk(0%, 53.7%, 18.2%, 20.4%)
CIE-LABlab(55.54, 51.77, -18.36)
CIE-LCHlch(55.54, 54.92, 340.48°)
OKLaboklab(63.77% 0.1538 -0.0489)
OKLCHoklch(63.77% 0.161 342.3)
XYZxyz(35.5150, 23.4580, 38.7263)
Luminance0.2346 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB5EA6 #5ECB83
analogous
#B95ECB #CB5EA6 #CB5E6F
triadic
#CB5EA6 #A6CB5E #5EA6CB
tetradic
#CB5EA6 #CBB95E #5ECB83 #5E6FCB
square
#CB5EA6 #CBB95E #5ECB83 #5E6FCB
split-complementary
#CB5EA6 #6FCB5E #5ECBB9
monochromatic
#842B66 #B23A89 #CB5EA6 #DA8CC0 #E9BBD9

Accessibility & contrast

On white

3.69
#CB5EA6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.69
#CB5EA6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB5EA6
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB5EA6#FFFFFF#000000##000000
##CB5EA61.003.695.695.69
#FFFFFF3.691.0021.0021.00
#0000005.6921.001.001.00
##0000005.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#657AA8
Deuteranopia (green-blind)
#838CA3
Tritanopia (blue-blind)
#D65F7A
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #cb5ea6;
/* rgb */ color: rgb(203, 94, 166);
/* oklch */ color: oklch(63.8% 0.161 342.3);
Tailwind
colors: {
  custom: {
    50: '#dd90c0',
    500: '#cb5ea6',
    950: '#000000',
  },
}
SCSS
$custom: #cb5ea6;
$custom-light: #dd90c0;
$custom-dark: #000000;
JSON
{
  "hex": "#cb5ea6",
  "rgb": {
    "r": 203,
    "g": 94,
    "b": 166
  },
  "hsl": {
    "h": 320.367,
    "s": 51.174,
    "l": 58.235
  },
  "oklch": {
    "l": 0.63773,
    "c": 0.16139,
    "h": 342.3
  },
  "luminance": 0.23455
}

Semantic roles & 50–950 ramp

primary
#CB5EA6
secondary
#ADD8BB
accent
#DB7D4D
background
#FDF9FB
surface
#FBF1F7
border
#D4CBD0
text
#150D12
muted
#837E81

Preview Lab

Preview with #CB5EA6

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

Preview Lab → · Contrast checker → · Palette generator →

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