#CB5EA8#CB5EA8

#CB5EA8 is a light, vivid pink. Relative luminance 0.235; OKLCH L 63.9% C 0.163 H 341.4°. Best body text is #000000 at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#CB5EA8
RGBrgb(203, 94, 168)
HSLhsl(319, 51%, 58%)
HSVhsv(319, 54%, 80%)
CMYKcmyk(0%, 53.7%, 17.2%, 20.4%)
CIE-LABlab(55.62, 52.07, -19.40)
CIE-LCHlch(55.62, 55.56, 339.56°)
OKLaboklab(63.85% 0.1543 -0.0519)
OKLCHoklch(63.85% 0.163 341.4)
XYZxyz(35.6998, 23.5319, 39.7001)
Luminance0.2353 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB5EA8 #5ECB81
analogous
#B75ECB #CB5EA8 #CB5E71
triadic
#CB5EA8 #A8CB5E #5EA8CB
tetradic
#CB5EA8 #CBB75E #5ECB81 #5E71CB
square
#CB5EA8 #CBB75E #5ECB81 #5E71CB
split-complementary
#CB5EA8 #71CB5E #5ECBB7
monochromatic
#842B67 #B23A8B #CB5EA8 #DA8CC1 #E9BBDA

Accessibility & contrast

On white

3.68
#CB5EA8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.71
#CB5EA8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB5EA8
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB5EA8#FFFFFF#000000##000000
##CB5EA81.003.685.715.71
#FFFFFF3.681.0021.0021.00
#0000005.7121.001.001.00
##0000005.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#647AAA
Deuteranopia (green-blind)
#838CA5
Tritanopia (blue-blind)
#D65F7B
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #cb5ea8;
/* rgb */ color: rgb(203, 94, 168);
/* oklch */ color: oklch(63.9% 0.163 341.4);
Tailwind
colors: {
  custom: {
    50: '#dd90c2',
    500: '#cb5ea8',
    950: '#000000',
  },
}
SCSS
$custom: #cb5ea8;
$custom-light: #dd90c2;
$custom-dark: #000000;
JSON
{
  "hex": "#cb5ea8",
  "rgb": {
    "r": 203,
    "g": 94,
    "b": 168
  },
  "hsl": {
    "h": 319.266,
    "s": 51.174,
    "l": 58.235
  },
  "oklch": {
    "l": 0.63853,
    "c": 0.16276,
    "h": 341.4
  },
  "luminance": 0.23529
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CB5EA8

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

Preview Lab → · Contrast checker → · Palette generator →

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