#CA5BB1#CA5BB1

#CA5BB1 is a light, vivid pink. Relative luminance 0.232; OKLCH L 63.7% C 0.173 H 336.9°. Best body text is #000000 at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#CA5BB1
RGBrgb(202, 91, 177)
HSLhsl(314, 51%, 57%)
HSVhsv(314, 55%, 79%)
CMYKcmyk(0%, 55%, 12.4%, 20.8%)
CIE-LABlab(55.29, 54.58, -25.13)
CIE-LCHlch(55.29, 60.09, 335.27°)
OKLaboklab(63.7% 0.1594 -0.0679)
OKLCHoklch(63.7% 0.173 336.9)
XYZxyz(36.0344, 23.2158, 44.1696)
Luminance0.2321 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA5BB1 #5BCA74
analogous
#AC5BCA #CA5BB1 #CA5B79
triadic
#CA5BB1 #B1CA5B #5BB1CA
tetradic
#CA5BB1 #CAAC5B #5BCA74 #5B79CA
square
#CA5BB1 #CAAC5B #5BCA74 #5B79CA
split-complementary
#CA5BB1 #79CA5B #5BCAAC
monochromatic
#812A6D #AF3994 #CA5BB1 #D989C7 #E8B8DD

Accessibility & contrast

On white

3.72
#CA5BB1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.64
#CA5BB1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA5BB1
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA5BB1#FFFFFF#000000##000000
##CA5BB11.003.725.645.64
#FFFFFF3.721.0021.0021.00
#0000005.6421.001.001.00
##0000005.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D7AB4
Deuteranopia (green-blind)
#7D8BAE
Tritanopia (blue-blind)
#D4607E
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #ca5bb1;
/* rgb */ color: rgb(202, 91, 177);
/* oklch */ color: oklch(63.7% 0.173 336.9);
Tailwind
colors: {
  custom: {
    50: '#dd8ec8',
    500: '#ca5bb1',
    950: '#000000',
  },
}
SCSS
$custom: #ca5bb1;
$custom-light: #dd8ec8;
$custom-dark: #000000;
JSON
{
  "hex": "#ca5bb1",
  "rgb": {
    "r": 202,
    "g": 91,
    "b": 177
  },
  "hsl": {
    "h": 313.514,
    "s": 51.152,
    "l": 57.451
  },
  "oklch": {
    "l": 0.63702,
    "c": 0.17329,
    "h": 336.9
  },
  "luminance": 0.23213
}

Semantic roles & 50–950 ramp

primary
#CA5BB1
secondary
#AAD7B4
accent
#DB6D4D
background
#FDF9FC
surface
#FBF1F8
border
#D4CBD1
text
#150D13
muted
#837E82

Preview Lab

Preview with #CA5BB1

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

Preview Lab → · Contrast checker → · Palette generator →

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