#CB5EB7#CB5EB7

#CB5EB7 is a light, vivid pink. Relative luminance 0.241; OKLCH L 64.5% C 0.174 H 334.9°. Best body text is #000000 at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#CB5EB7
RGBrgb(203, 94, 183)
HSLhsl(311, 51%, 58%)
HSVhsv(311, 54%, 80%)
CMYKcmyk(0%, 53.7%, 9.9%, 20.4%)
CIE-LABlab(56.21, 54.41, -27.17)
CIE-LCHlch(56.21, 60.82, 333.47°)
OKLaboklab(64.49% 0.1576 -0.0737)
OKLCHoklch(64.49% 0.174 334.9)
XYZxyz(37.1787, 24.1234, 47.4887)
Luminance0.2412 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB5EB7 #5ECB72
analogous
#A85ECB #CB5EB7 #CB5E80
triadic
#CB5EB7 #B7CB5E #5EB7CB
tetradic
#CB5EB7 #CBA85E #5ECB72 #5E80CB
square
#CB5EB7 #CBA85E #5ECB72 #5E80CB
split-complementary
#CB5EB7 #80CB5E #5ECBA8
monochromatic
#842B74 #B23A9C #CB5EB7 #DA8CCC #E9BBE0

Accessibility & contrast

On white

3.61
#CB5EB7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.82
#CB5EB7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB5EB7
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB5EB7#FFFFFF#000000##000000
##CB5EB71.003.615.825.82
#FFFFFF3.611.0021.0021.00
#0000005.8221.001.001.00
##0000005.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E7DBA
Deuteranopia (green-blind)
#7E8DB4
Tritanopia (blue-blind)
#D46482
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #cb5eb7;
/* rgb */ color: rgb(203, 94, 183);
/* oklch */ color: oklch(64.5% 0.174 334.9);
Tailwind
colors: {
  custom: {
    50: '#dd90cd',
    500: '#cb5eb7',
    950: '#000000',
  },
}
SCSS
$custom: #cb5eb7;
$custom-light: #dd90cd;
$custom-dark: #000000;
JSON
{
  "hex": "#cb5eb7",
  "rgb": {
    "r": 203,
    "g": 94,
    "b": 183
  },
  "hsl": {
    "h": 311.009,
    "s": 51.174,
    "l": 58.235
  },
  "oklch": {
    "l": 0.6449,
    "c": 0.17394,
    "h": 334.9
  },
  "luminance": 0.24121
}

Semantic roles & 50–950 ramp

primary
#CB5EB7
secondary
#ADD8B5
accent
#DB674D
background
#FDF9FC
surface
#FBF1F9
border
#D4CBD2
text
#150D13
muted
#837E82

Preview Lab

Preview with #CB5EB7

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

Preview Lab → · Contrast checker → · Palette generator →

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