#CA5B97#CA5B97

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

Color values

HEX#CA5B97
RGBrgb(202, 91, 151)
HSLhsl(328, 51%, 57%)
HSVhsv(328, 55%, 79%)
CMYKcmyk(0%, 55%, 25.2%, 20.8%)
CIE-LABlab(54.32, 50.74, -11.45)
CIE-LCHlch(54.32, 52.02, 347.28°)
OKLaboklab(62.66% 0.153 -0.0299)
OKLCHoklch(62.66% 0.156 348.9)
XYZxyz(33.6853, 22.2761, 31.7978)
Luminance0.2227 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA5B97 #5BCA8E
analogous
#C65BCA #CA5B97 #CA5B5F
triadic
#CA5B97 #97CA5B #5B97CA
tetradic
#CA5B97 #CAC65B #5BCA8E #5B5FCA
square
#CA5B97 #CAC65B #5BCA8E #5B5FCA
split-complementary
#CA5B97 #5FCA5B #5BCAC6
monochromatic
#812A59 #AF3979 #CA5B97 #D989B4 #E8B8D2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CA5B97#FFFFFF#000000##000000
##CA5B971.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)
#677699
Deuteranopia (green-blind)
#858994
Tritanopia (blue-blind)
#D75872
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #ca5b97;
/* rgb */ color: rgb(202, 91, 151);
/* oklch */ color: oklch(62.7% 0.156 348.9);
Tailwind
colors: {
  custom: {
    50: '#dd8eb5',
    500: '#ca5b97',
    950: '#000000',
  },
}
SCSS
$custom: #ca5b97;
$custom-light: #dd8eb5;
$custom-dark: #000000;
JSON
{
  "hex": "#ca5b97",
  "rgb": {
    "r": 202,
    "g": 91,
    "b": 151
  },
  "hsl": {
    "h": 327.568,
    "s": 51.152,
    "l": 57.451
  },
  "oklch": {
    "l": 0.62658,
    "c": 0.15591,
    "h": 348.9
  },
  "luminance": 0.22273
}

Semantic roles & 50–950 ramp

primary
#CA5B97
secondary
#AAD7BF
accent
#DB8E4D
background
#FDF8FB
surface
#FBF0F6
border
#D4CBD0
text
#150D11
muted
#837D80

Preview Lab

Preview with #CA5B97

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

Preview Lab → · Contrast checker → · Palette generator →

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