#CB5A9D#CB5A9D

#CB5A9D is a light, vivid pink. Relative luminance 0.224; OKLCH L 62.9% C 0.162 H 346.1°. Best body text is #000000 at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#CB5A9D
RGBrgb(203, 90, 157)
HSLhsl(324, 52%, 57%)
HSVhsv(324, 56%, 80%)
CMYKcmyk(0%, 55.7%, 22.7%, 20.4%)
CIE-LABlab(54.50, 52.36, -14.69)
CIE-LCHlch(54.50, 54.38, 344.33°)
OKLaboklab(62.89% 0.1572 -0.0388)
OKLCHoklch(62.89% 0.162 346.1)
XYZxyz(34.3716, 22.4462, 34.4141)
Luminance0.2244 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB5A9D #5ACB88
analogous
#C15ACB #CB5A9D #CB5A64
triadic
#CB5A9D #9DCB5A #5A9DCB
tetradic
#CB5A9D #CBC15A #5ACB88 #5A64CB
square
#CB5A9D #CBC15A #5ACB88 #5A64CB
split-complementary
#CB5A9D #64CB5A #5ACBC1
monochromatic
#82295E #B0387F #CB5A9D #DA89B9 #E8B7D4

Accessibility & contrast

On white

3.83
#CB5A9D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.49
#CB5A9D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB5A9D
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB5A9D#FFFFFF#000000##000000
##CB5A9D1.003.835.495.49
#FFFFFF3.831.0021.0021.00
#0000005.4921.001.001.00
##0000005.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#65769F
Deuteranopia (green-blind)
#84899A
Tritanopia (blue-blind)
#D75874
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #cb5a9d;
/* rgb */ color: rgb(203, 90, 157);
/* oklch */ color: oklch(62.9% 0.162 346.1);
Tailwind
colors: {
  custom: {
    50: '#de8dba',
    500: '#cb5a9d',
    950: '#000000',
  },
}
SCSS
$custom: #cb5a9d;
$custom-light: #de8dba;
$custom-dark: #000000;
JSON
{
  "hex": "#cb5a9d",
  "rgb": {
    "r": 203,
    "g": 90,
    "b": 157
  },
  "hsl": {
    "h": 324.425,
    "s": 52.074,
    "l": 57.451
  },
  "oklch": {
    "l": 0.62889,
    "c": 0.16188,
    "h": 346.1
  },
  "luminance": 0.22443
}

Semantic roles & 50–950 ramp

primary
#CB5A9D
secondary
#AAD7BC
accent
#DC874C
background
#FEF8FB
surface
#FCF0F6
border
#D5CBD0
text
#150D11
muted
#847D80

Preview Lab

Preview with #CB5A9D

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

Preview Lab → · Contrast checker → · Palette generator →

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