#CB5EA7#CB5EA7

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

Color values

HEX#CB5EA7
RGBrgb(203, 94, 167)
HSLhsl(320, 51%, 58%)
HSVhsv(320, 54%, 80%)
CMYKcmyk(0%, 53.7%, 17.7%, 20.4%)
CIE-LABlab(55.58, 51.91, -18.88)
CIE-LCHlch(55.58, 55.24, 340.01°)
OKLaboklab(63.81% 0.154 -0.0504)
OKLCHoklch(63.81% 0.162 341.9)
XYZxyz(35.6070, 23.4948, 39.2113)
Luminance0.2349 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB5EA7 #5ECB82
analogous
#B95ECB #CB5EA7 #CB5E70
triadic
#CB5EA7 #A7CB5E #5EA7CB
tetradic
#CB5EA7 #CBB95E #5ECB82 #5E70CB
square
#CB5EA7 #CBB95E #5ECB82 #5E70CB
split-complementary
#CB5EA7 #70CB5E #5ECBB9
monochromatic
#842B66 #B23A8A #CB5EA7 #DA8CC0 #E9BBDA

Accessibility & contrast

On white

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

On black

5.70
#CB5EA7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB5EA7
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB5EA7#FFFFFF#000000##000000
##CB5EA71.003.695.705.70
#FFFFFF3.691.0021.0021.00
#0000005.7021.001.001.00
##0000005.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#657AA9
Deuteranopia (green-blind)
#838CA4
Tritanopia (blue-blind)
#D65F7B
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #cb5ea7;
/* rgb */ color: rgb(203, 94, 167);
/* oklch */ color: oklch(63.8% 0.162 341.9);
Tailwind
colors: {
  custom: {
    50: '#dd90c1',
    500: '#cb5ea7',
    950: '#000000',
  },
}
SCSS
$custom: #cb5ea7;
$custom-light: #dd90c1;
$custom-dark: #000000;
JSON
{
  "hex": "#cb5ea7",
  "rgb": {
    "r": 203,
    "g": 94,
    "b": 167
  },
  "hsl": {
    "h": 319.817,
    "s": 51.174,
    "l": 58.235
  },
  "oklch": {
    "l": 0.63813,
    "c": 0.16208,
    "h": 341.9
  },
  "luminance": 0.23492
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CB5EA7

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

Preview Lab → · Contrast checker → · Palette generator →

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