#CB5EA4#CB5EA4

#CB5EA4 is a light, vivid pink. Relative luminance 0.234; OKLCH L 63.7% C 0.160 H 343.3°. Best body text is #000000 at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#CB5EA4
RGBrgb(203, 94, 164)
HSLhsl(321, 51%, 58%)
HSVhsv(321, 54%, 80%)
CMYKcmyk(0%, 53.7%, 19.2%, 20.4%)
CIE-LABlab(55.47, 51.47, -17.31)
CIE-LCHlch(55.47, 54.30, 341.42°)
OKLaboklab(63.69% 0.1533 -0.046)
OKLCHoklch(63.69% 0.16 343.3)
XYZxyz(35.3329, 23.3851, 37.7676)
Luminance0.2338 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB5EA4 #5ECB85
analogous
#BB5ECB #CB5EA4 #CB5E6D
triadic
#CB5EA4 #A4CB5E #5EA4CB
tetradic
#CB5EA4 #CBBB5E #5ECB85 #5E6DCB
square
#CB5EA4 #CBBB5E #5ECB85 #5E6DCB
split-complementary
#CB5EA4 #6DCB5E #5ECBBB
monochromatic
#842B64 #B23A87 #CB5EA4 #DA8CBE #E9BBD8

Accessibility & contrast

On white

3.70
#CB5EA4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.68
#CB5EA4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB5EA4
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB5EA4#FFFFFF#000000##000000
##CB5EA41.003.705.685.68
#FFFFFF3.701.0021.0021.00
#0000005.6821.001.001.00
##0000005.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#667AA6
Deuteranopia (green-blind)
#848BA1
Tritanopia (blue-blind)
#D65E7A
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #cb5ea4;
/* rgb */ color: rgb(203, 94, 164);
/* oklch */ color: oklch(63.7% 0.160 343.3);
Tailwind
colors: {
  custom: {
    50: '#dd90bf',
    500: '#cb5ea4',
    950: '#000000',
  },
}
SCSS
$custom: #cb5ea4;
$custom-light: #dd90bf;
$custom-dark: #000000;
JSON
{
  "hex": "#cb5ea4",
  "rgb": {
    "r": 203,
    "g": 94,
    "b": 164
  },
  "hsl": {
    "h": 321.468,
    "s": 51.174,
    "l": 58.235
  },
  "oklch": {
    "l": 0.63693,
    "c": 0.16005,
    "h": 343.3
  },
  "luminance": 0.23382
}

Semantic roles & 50–950 ramp

primary
#CB5EA4
secondary
#ADD8BC
accent
#DB804D
background
#FDF9FB
surface
#FBF1F7
border
#D4CBD0
text
#150D12
muted
#837E81

Preview Lab

Preview with #CB5EA4

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

Preview Lab → · Contrast checker → · Palette generator →

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