#CB5A97#CB5A97

#CB5A97 is a light, vivid pink. Relative luminance 0.222; OKLCH L 62.7% C 0.158 H 349.1°. Best body text is #000000 at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#CB5A97
RGBrgb(203, 90, 151)
HSLhsl(328, 52%, 57%)
HSVhsv(328, 56%, 80%)
CMYKcmyk(0%, 55.7%, 25.6%, 20.4%)
CIE-LABlab(54.29, 51.53, -11.48)
CIE-LCHlch(54.29, 52.79, 347.44°)
OKLaboklab(62.66% 0.1555 -0.03)
OKLCHoklch(62.66% 0.158 349.1)
XYZxyz(33.8719, 22.2463, 31.7822)
Luminance0.2224 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB5A97 #5ACB8E
analogous
#C75ACB #CB5A97 #CB5A5E
triadic
#CB5A97 #97CB5A #5A97CB
tetradic
#CB5A97 #CBC75A #5ACB8E #5A5ECB
square
#CB5A97 #CBC75A #5ACB8E #5A5ECB
split-complementary
#CB5A97 #5ECB5A #5ACBC7
monochromatic
#822959 #B03879 #CB5A97 #DA89B4 #E8B7D2

Accessibility & contrast

On white

3.85
#CB5A97 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.45
#CB5A97 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB5A97
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB5A97#FFFFFF#000000##000000
##CB5A971.003.855.455.45
#FFFFFF3.851.0021.0021.00
#0000005.4521.001.001.00
##0000005.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#677599
Deuteranopia (green-blind)
#868994
Tritanopia (blue-blind)
#D85672
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #cb5a97;
/* rgb */ color: rgb(203, 90, 151);
/* oklch */ color: oklch(62.7% 0.158 349.1);
Tailwind
colors: {
  custom: {
    50: '#de8db5',
    500: '#cb5a97',
    950: '#000000',
  },
}
SCSS
$custom: #cb5a97;
$custom-light: #de8db5;
$custom-dark: #000000;
JSON
{
  "hex": "#cb5a97",
  "rgb": {
    "r": 203,
    "g": 90,
    "b": 151
  },
  "hsl": {
    "h": 327.611,
    "s": 52.074,
    "l": 57.451
  },
  "oklch": {
    "l": 0.62664,
    "c": 0.15838,
    "h": 349.1
  },
  "luminance": 0.22243
}

Semantic roles & 50–950 ramp

primary
#CB5A97
secondary
#AAD7BF
accent
#DC8E4C
background
#FEF8FB
surface
#FCF0F6
border
#D5CBD0
text
#150D11
muted
#847D80

Preview Lab

Preview with #CB5A97

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

Preview Lab → · Contrast checker → · Palette generator →

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