#CB5A8B#CB5A8B

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

Color values

HEX#CB5A8B
RGBrgb(203, 90, 139)
HSLhsl(334, 52%, 57%)
HSVhsv(334, 56%, 80%)
CMYKcmyk(0%, 55.7%, 31.5%, 20.4%)
CIE-LABlab(53.90, 49.96, -5.00)
CIE-LCHlch(53.90, 50.21, 354.29°)
OKLaboklab(62.24% 0.1518 -0.0125)
OKLCHoklch(62.24% 0.152 355.3)
XYZxyz(32.9465, 21.8761, 26.9085)
Luminance0.2187 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB5A8B #5ACB9A
analogous
#CB5AC4 #CB5A8B #CB615A
triadic
#CB5A8B #8BCB5A #5A8BCB
tetradic
#CB5A8B #C4CB5A #5ACB9A #615ACB
square
#CB5A8B #C4CB5A #5ACB9A #615ACB
split-complementary
#CB5A8B #5ACB61 #5AC4CB
monochromatic
#82294F #B0386C #CB5A8B #DA89AC #E8B7CC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CB5A8B#FFFFFF#000000##000000
##CB5A8B1.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)
#6B748D
Deuteranopia (green-blind)
#898988
Tritanopia (blue-blind)
#D9536D
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #cb5a8b;
/* rgb */ color: rgb(203, 90, 139);
/* oklch */ color: oklch(62.2% 0.152 355.3);
Tailwind
colors: {
  custom: {
    50: '#de8dac',
    500: '#cb5a8b',
    950: '#000000',
  },
}
SCSS
$custom: #cb5a8b;
$custom-light: #de8dac;
$custom-dark: #000000;
JSON
{
  "hex": "#cb5a8b",
  "rgb": {
    "r": 203,
    "g": 90,
    "b": 139
  },
  "hsl": {
    "h": 333.982,
    "s": 52.074,
    "l": 57.451
  },
  "oklch": {
    "l": 0.62243,
    "c": 0.15236,
    "h": 355.3
  },
  "luminance": 0.21873
}

Semantic roles & 50–950 ramp

primary
#CB5A8B
secondary
#AAD7C3
accent
#DC9D4C
background
#FEF8FA
surface
#FCF0F4
border
#D5CBCE
text
#160C10
muted
#847D7F

Preview Lab

Preview with #CB5A8B

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

Preview Lab → · Contrast checker → · Palette generator →

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