#CB5A9E#CB5A9E

#CB5A9E is a light, vivid pink. Relative luminance 0.225; OKLCH L 62.9% C 0.163 H 345.7°. Best body text is #000000 at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#CB5A9E
RGBrgb(203, 90, 158)
HSLhsl(324, 52%, 57%)
HSVhsv(324, 56%, 80%)
CMYKcmyk(0%, 55.7%, 22.2%, 20.4%)
CIE-LABlab(54.53, 52.50, -15.22)
CIE-LCHlch(54.53, 54.66, 343.83°)
OKLaboklab(62.93% 0.1574 -0.0402)
OKLCHoklch(62.93% 0.163 345.7)
XYZxyz(34.4573, 22.4805, 34.8655)
Luminance0.2248 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB5A9E #5ACB87
analogous
#C05ACB #CB5A9E #CB5A65
triadic
#CB5A9E #9ECB5A #5A9ECB
tetradic
#CB5A9E #CBC05A #5ACB87 #5A65CB
square
#CB5A9E #CBC05A #5ACB87 #5A65CB
split-complementary
#CB5A9E #65CB5A #5ACBC0
monochromatic
#82295E #B03880 #CB5A9E #DA89B9 #E8B7D5

Accessibility & contrast

On white

3.82
#CB5A9E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.50
#CB5A9E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB5A9E
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB5A9E#FFFFFF#000000##000000
##CB5A9E1.003.825.505.50
#FFFFFF3.821.0021.0021.00
#0000005.5021.001.001.00
##0000005.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6476A0
Deuteranopia (green-blind)
#848A9B
Tritanopia (blue-blind)
#D75975
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #cb5a9e;
/* rgb */ color: rgb(203, 90, 158);
/* oklch */ color: oklch(62.9% 0.163 345.7);
Tailwind
colors: {
  custom: {
    50: '#de8dba',
    500: '#cb5a9e',
    950: '#000000',
  },
}
SCSS
$custom: #cb5a9e;
$custom-light: #de8dba;
$custom-dark: #000000;
JSON
{
  "hex": "#cb5a9e",
  "rgb": {
    "r": 203,
    "g": 90,
    "b": 158
  },
  "hsl": {
    "h": 323.894,
    "s": 52.074,
    "l": 57.451
  },
  "oklch": {
    "l": 0.62928,
    "c": 0.1625,
    "h": 345.7
  },
  "luminance": 0.22477
}

Semantic roles & 50–950 ramp

primary
#CB5A9E
secondary
#AAD7BC
accent
#DC854C
background
#FDF8FB
surface
#FBF0F6
border
#D4CBD0
text
#150D11
muted
#837D80

Preview Lab

Preview with #CB5A9E

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

Preview Lab → · Contrast checker → · Palette generator →

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