#CB5A8E#CB5A8E

#CB5A8E is a light, vivid pink. Relative luminance 0.220; OKLCH L 62.3% C 0.154 H 353.7°. Best body text is #000000 at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#CB5A8E
RGBrgb(203, 90, 142)
HSLhsl(332, 52%, 57%)
HSVhsv(332, 56%, 80%)
CMYKcmyk(0%, 55.7%, 30%, 20.4%)
CIE-LABlab(53.99, 50.34, -6.63)
CIE-LCHlch(53.99, 50.77, 352.50°)
OKLaboklab(62.34% 0.1528 -0.0169)
OKLCHoklch(62.34% 0.154 353.7)
XYZxyz(33.1687, 21.9650, 28.0788)
Luminance0.2196 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB5A8E #5ACB97
analogous
#CB5AC7 #CB5A8E #CB5E5A
triadic
#CB5A8E #8ECB5A #5A8ECB
tetradic
#CB5A8E #C7CB5A #5ACB97 #5E5ACB
square
#CB5A8E #C7CB5A #5ACB97 #5E5ACB
split-complementary
#CB5A8E #5ACB5E #5AC7CB
monochromatic
#822952 #B0386F #CB5A8E #DA89AE #E8B7CE

Accessibility & contrast

On white

3.89
#CB5A8E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.39
#CB5A8E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB5A8E
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB5A8E#FFFFFF#000000##000000
##CB5A8E1.003.895.395.39
#FFFFFF3.891.0021.0021.00
#0000005.3921.001.001.00
##0000005.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A7490
Deuteranopia (green-blind)
#88898B
Tritanopia (blue-blind)
#D9546E
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #cb5a8e;
/* rgb */ color: rgb(203, 90, 142);
/* oklch */ color: oklch(62.3% 0.154 353.7);
Tailwind
colors: {
  custom: {
    50: '#de8daf',
    500: '#cb5a8e',
    950: '#000000',
  },
}
SCSS
$custom: #cb5a8e;
$custom-light: #de8daf;
$custom-dark: #000000;
JSON
{
  "hex": "#cb5a8e",
  "rgb": {
    "r": 203,
    "g": 90,
    "b": 142
  },
  "hsl": {
    "h": 332.389,
    "s": 52.074,
    "l": 57.451
  },
  "oklch": {
    "l": 0.62345,
    "c": 0.15372,
    "h": 353.7
  },
  "luminance": 0.21962
}

Semantic roles & 50–950 ramp

primary
#CB5A8E
secondary
#AAD7C2
accent
#DC9A4C
background
#FEF8FA
surface
#FCF0F4
border
#D5CBCE
text
#160C10
muted
#847D7F

Preview Lab

Preview with #CB5A8E

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

Preview Lab → · Contrast checker → · Palette generator →

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