#CB5BA1#CB5BA1

#CB5BA1 is a light, vivid pink. Relative luminance 0.228; OKLCH L 63.2% C 0.163 H 344.4°. Best body text is #000000 at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#CB5BA1
RGBrgb(203, 91, 161)
HSLhsl(323, 52%, 58%)
HSVhsv(323, 55%, 80%)
CMYKcmyk(0%, 55.2%, 20.7%, 20.4%)
CIE-LABlab(54.82, 52.46, -16.54)
CIE-LCHlch(54.82, 55.00, 342.50°)
OKLaboklab(63.18% 0.1568 -0.0439)
OKLCHoklch(63.18% 0.163 344.4)
XYZxyz(34.8036, 22.7549, 36.2704)
Luminance0.2275 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB5BA1 #5BCB85
analogous
#BD5BCB #CB5BA1 #CB5B69
triadic
#CB5BA1 #A1CB5B #5BA1CB
tetradic
#CB5BA1 #CBBD5B #5BCB85 #5B69CB
square
#CB5BA1 #CBBD5B #5BCB85 #5B69CB
split-complementary
#CB5BA1 #69CB5B #5BCBBD
monochromatic
#822961 #B13883 #CB5BA1 #DA89BC #E8B8D6

Accessibility & contrast

On white

3.78
#CB5BA1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.55
#CB5BA1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB5BA1
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB5BA1#FFFFFF#000000##000000
##CB5BA11.003.785.555.55
#FFFFFF3.781.0021.0021.00
#0000005.5521.001.001.00
##0000005.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6477A3
Deuteranopia (green-blind)
#838A9E
Tritanopia (blue-blind)
#D75A77
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #cb5ba1;
/* rgb */ color: rgb(203, 91, 161);
/* oklch */ color: oklch(63.2% 0.163 344.4);
Tailwind
colors: {
  custom: {
    50: '#de8ebd',
    500: '#cb5ba1',
    950: '#000000',
  },
}
SCSS
$custom: #cb5ba1;
$custom-light: #de8ebd;
$custom-dark: #000000;
JSON
{
  "hex": "#cb5ba1",
  "rgb": {
    "r": 203,
    "g": 91,
    "b": 161
  },
  "hsl": {
    "h": 322.5,
    "s": 51.852,
    "l": 57.647
  },
  "oklch": {
    "l": 0.63176,
    "c": 0.16282,
    "h": 344.4
  },
  "luminance": 0.22752
}

Semantic roles & 50–950 ramp

primary
#CB5BA1
secondary
#AAD7BB
accent
#DB824C
background
#FDF9FB
surface
#FBF1F6
border
#D4CBD0
text
#150D12
muted
#837E81

Preview Lab

Preview with #CB5BA1

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

Preview Lab → · Contrast checker → · Palette generator →

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