#CB5A8A#CB5A8A

#CB5A8A is a light, vivid pink. Relative luminance 0.218; OKLCH L 62.2% C 0.152 H 355.8°. Best body text is #000000 at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#CB5A8A
RGBrgb(203, 90, 138)
HSLhsl(335, 52%, 57%)
HSVhsv(335, 56%, 80%)
CMYKcmyk(0%, 55.7%, 32%, 20.4%)
CIE-LABlab(53.86, 49.83, -4.45)
CIE-LCHlch(53.86, 50.03, 354.89°)
OKLaboklab(62.21% 0.1515 -0.0111)
OKLCHoklch(62.21% 0.152 355.8)
XYZxyz(32.8737, 21.8470, 26.5254)
Luminance0.2184 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB5A8A #5ACB9B
analogous
#CB5AC3 #CB5A8A #CB625A
triadic
#CB5A8A #8ACB5A #5A8ACB
tetradic
#CB5A8A #C3CB5A #5ACB9B #625ACB
square
#CB5A8A #C3CB5A #5ACB9B #625ACB
split-complementary
#CB5A8A #5ACB62 #5AC3CB
monochromatic
#82294F #B0386B #CB5A8A #DA89AB #E8B7CC

Accessibility & contrast

On white

3.91
#CB5A8A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.37
#CB5A8A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB5A8A
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB5A8A#FFFFFF#000000##000000
##CB5A8A1.003.915.375.37
#FFFFFF3.911.0021.0021.00
#0000005.3721.001.001.00
##0000005.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B748B
Deuteranopia (green-blind)
#898887
Tritanopia (blue-blind)
#D9536C
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #cb5a8a;
/* rgb */ color: rgb(203, 90, 138);
/* oklch */ color: oklch(62.2% 0.152 355.8);
Tailwind
colors: {
  custom: {
    50: '#de8dac',
    500: '#cb5a8a',
    950: '#000000',
  },
}
SCSS
$custom: #cb5a8a;
$custom-light: #de8dac;
$custom-dark: #000000;
JSON
{
  "hex": "#cb5a8a",
  "rgb": {
    "r": 203,
    "g": 90,
    "b": 138
  },
  "hsl": {
    "h": 334.513,
    "s": 52.074,
    "l": 57.451
  },
  "oklch": {
    "l": 0.6221,
    "c": 0.15192,
    "h": 355.8
  },
  "luminance": 0.21844
}

Semantic roles & 50–950 ramp

primary
#CB5A8A
secondary
#AAD7C4
accent
#DC9F4C
background
#FEF8FA
surface
#FCF0F4
border
#D5CBCE
text
#160C10
muted
#847D7F

Preview Lab

Preview with #CB5A8A

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

Preview Lab → · Contrast checker → · Palette generator →

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