#CB5EA5#CB5EA5

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

Color values

HEX#CB5EA5
RGBrgb(203, 94, 165)
HSLhsl(321, 51%, 58%)
HSVhsv(321, 54%, 80%)
CMYKcmyk(0%, 53.7%, 18.7%, 20.4%)
CIE-LABlab(55.50, 51.62, -17.83)
CIE-LCHlch(55.50, 54.61, 340.94°)
OKLaboklab(63.73% 0.1535 -0.0475)
OKLCHoklch(63.73% 0.161 342.8)
XYZxyz(35.4236, 23.4214, 38.2451)
Luminance0.2342 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB5EA5 #5ECB84
analogous
#BA5ECB #CB5EA5 #CB5E6E
triadic
#CB5EA5 #A5CB5E #5EA5CB
tetradic
#CB5EA5 #CBBA5E #5ECB84 #5E6ECB
square
#CB5EA5 #CBBA5E #5ECB84 #5E6ECB
split-complementary
#CB5EA5 #6ECB5E #5ECBBA
monochromatic
#842B65 #B23A88 #CB5EA5 #DA8CBF #E9BBD9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CB5EA5#FFFFFF#000000##000000
##CB5EA51.003.695.685.68
#FFFFFF3.691.0021.0021.00
#0000005.6821.001.001.00
##0000005.6821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cb5ea5;
/* rgb */ color: rgb(203, 94, 165);
/* oklch */ color: oklch(63.7% 0.161 342.8);
Tailwind
colors: {
  custom: {
    50: '#dd90bf',
    500: '#cb5ea5',
    950: '#000000',
  },
}
SCSS
$custom: #cb5ea5;
$custom-light: #dd90bf;
$custom-dark: #000000;
JSON
{
  "hex": "#cb5ea5",
  "rgb": {
    "r": 203,
    "g": 94,
    "b": 165
  },
  "hsl": {
    "h": 320.917,
    "s": 51.174,
    "l": 58.235
  },
  "oklch": {
    "l": 0.63733,
    "c": 0.16072,
    "h": 342.8
  },
  "luminance": 0.23419
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CB5EA5

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

Preview Lab → · Contrast checker → · Palette generator →

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