#CB5BA7#CB5BA7

#CB5BA7 is a light, vivid pink. Relative luminance 0.230; OKLCH L 63.4% C 0.167 H 341.6°. Best body text is #000000 at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#CB5BA7
RGBrgb(203, 91, 167)
HSLhsl(319, 52%, 58%)
HSVhsv(319, 55%, 80%)
CMYKcmyk(0%, 55.2%, 17.7%, 20.4%)
CIE-LABlab(55.04, 53.34, -19.70)
CIE-LCHlch(55.04, 56.86, 339.73°)
OKLaboklab(63.42% 0.1583 -0.0526)
OKLCHoklch(63.42% 0.167 341.6)
XYZxyz(35.3454, 22.9716, 39.1241)
Luminance0.2297 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB5BA7 #5BCB7F
analogous
#B75BCB #CB5BA7 #CB5B6F
triadic
#CB5BA7 #A7CB5B #5BA7CB
tetradic
#CB5BA7 #CBB75B #5BCB7F #5B6FCB
square
#CB5BA7 #CBB75B #5BCB7F #5B6FCB
split-complementary
#CB5BA7 #6FCB5B #5BCBB7
monochromatic
#822966 #B1388A #CB5BA7 #DA89C0 #E8B8D9

Accessibility & contrast

On white

3.75
#CB5BA7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.59
#CB5BA7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB5BA7
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB5BA7#FFFFFF#000000##000000
##CB5BA71.003.755.595.59
#FFFFFF3.751.0021.0021.00
#0000005.5921.001.001.00
##0000005.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6278A9
Deuteranopia (green-blind)
#818AA4
Tritanopia (blue-blind)
#D65C79
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #cb5ba7;
/* rgb */ color: rgb(203, 91, 167);
/* oklch */ color: oklch(63.4% 0.167 341.6);
Tailwind
colors: {
  custom: {
    50: '#dd8ec1',
    500: '#cb5ba7',
    950: '#000000',
  },
}
SCSS
$custom: #cb5ba7;
$custom-light: #dd8ec1;
$custom-dark: #000000;
JSON
{
  "hex": "#cb5ba7",
  "rgb": {
    "r": 203,
    "g": 91,
    "b": 167
  },
  "hsl": {
    "h": 319.286,
    "s": 51.852,
    "l": 57.647
  },
  "oklch": {
    "l": 0.63416,
    "c": 0.16682,
    "h": 341.6
  },
  "luminance": 0.22969
}

Semantic roles & 50–950 ramp

primary
#CB5BA7
secondary
#AAD7B9
accent
#DB7A4C
background
#FDF9FB
surface
#FBF1F7
border
#D4CBD0
text
#150D12
muted
#837E81

Preview Lab

Preview with #CB5BA7

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

Preview Lab → · Contrast checker → · Palette generator →

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