#CB5A9B#CB5A9B

#CB5A9B is a light, vivid pink. Relative luminance 0.224; OKLCH L 62.8% C 0.161 H 347.1°. Best body text is #000000 at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#CB5A9B
RGBrgb(203, 90, 155)
HSLhsl(325, 52%, 57%)
HSVhsv(325, 56%, 80%)
CMYKcmyk(0%, 55.7%, 23.6%, 20.4%)
CIE-LABlab(54.43, 52.08, -13.62)
CIE-LCHlch(54.43, 53.83, 345.34°)
OKLaboklab(62.81% 0.1566 -0.0358)
OKLCHoklch(62.81% 0.161 347.1)
XYZxyz(34.2022, 22.3784, 33.5222)
Luminance0.2238 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB5A9B #5ACB8A
analogous
#C35ACB #CB5A9B #CB5A62
triadic
#CB5A9B #9BCB5A #5A9BCB
tetradic
#CB5A9B #CBC35A #5ACB8A #5A62CB
square
#CB5A9B #CBC35A #5ACB8A #5A62CB
split-complementary
#CB5A9B #62CB5A #5ACBC3
monochromatic
#82295C #B0387D #CB5A9B #DA89B7 #E8B7D3

Accessibility & contrast

On white

3.84
#CB5A9B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.48
#CB5A9B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB5A9B
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB5A9B#FFFFFF#000000##000000
##CB5A9B1.003.845.485.48
#FFFFFF3.841.0021.0021.00
#0000005.4821.001.001.00
##0000005.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#65769D
Deuteranopia (green-blind)
#848998
Tritanopia (blue-blind)
#D85874
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #cb5a9b;
/* rgb */ color: rgb(203, 90, 155);
/* oklch */ color: oklch(62.8% 0.161 347.1);
Tailwind
colors: {
  custom: {
    50: '#de8db8',
    500: '#cb5a9b',
    950: '#000000',
  },
}
SCSS
$custom: #cb5a9b;
$custom-light: #de8db8;
$custom-dark: #000000;
JSON
{
  "hex": "#cb5a9b",
  "rgb": {
    "r": 203,
    "g": 90,
    "b": 155
  },
  "hsl": {
    "h": 325.487,
    "s": 52.074,
    "l": 57.451
  },
  "oklch": {
    "l": 0.62813,
    "c": 0.16068,
    "h": 347.1
  },
  "luminance": 0.22375
}

Semantic roles & 50–950 ramp

primary
#CB5A9B
secondary
#AAD7BD
accent
#DC894C
background
#FEF8FB
surface
#FCF0F6
border
#D5CBD0
text
#150D11
muted
#847D80

Preview Lab

Preview with #CB5A9B

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

Preview Lab → · Contrast checker → · Palette generator →

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