#CA5BB2#CA5BB2

#CA5BB2 is a light, vivid pink. Relative luminance 0.233; OKLCH L 63.7% C 0.174 H 336.5°. Best body text is #000000 at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#CA5BB2
RGBrgb(202, 91, 178)
HSLhsl(313, 51%, 57%)
HSVhsv(313, 55%, 79%)
CMYKcmyk(0%, 55%, 11.9%, 20.8%)
CIE-LABlab(55.33, 54.74, -25.65)
CIE-LCHlch(55.33, 60.45, 334.89°)
OKLaboklab(63.75% 0.1596 -0.0694)
OKLCHoklch(63.75% 0.174 336.5)
XYZxyz(36.1344, 23.2558, 44.6965)
Luminance0.2325 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA5BB2 #5BCA73
analogous
#AB5BCA #CA5BB2 #CA5B7B
triadic
#CA5BB2 #B2CA5B #5BB2CA
tetradic
#CA5BB2 #CAAB5B #5BCA73 #5B7BCA
square
#CA5BB2 #CAAB5B #5BCA73 #5B7BCA
split-complementary
#CA5BB2 #7BCA5B #5BCAAB
monochromatic
#812A6E #AF3996 #CA5BB2 #D989C8 #E8B8DD

Accessibility & contrast

On white

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

On black

5.65
#CA5BB2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA5BB2
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA5BB2#FFFFFF#000000##000000
##CA5BB21.003.725.655.65
#FFFFFF3.721.0021.0021.00
#0000005.6521.001.001.00
##0000005.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D7AB5
Deuteranopia (green-blind)
#7D8BAF
Tritanopia (blue-blind)
#D3607E
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #ca5bb2;
/* rgb */ color: rgb(202, 91, 178);
/* oklch */ color: oklch(63.7% 0.174 336.5);
Tailwind
colors: {
  custom: {
    50: '#dd8ec9',
    500: '#ca5bb2',
    950: '#000000',
  },
}
SCSS
$custom: #ca5bb2;
$custom-light: #dd8ec9;
$custom-dark: #000000;
JSON
{
  "hex": "#ca5bb2",
  "rgb": {
    "r": 202,
    "g": 91,
    "b": 178
  },
  "hsl": {
    "h": 312.973,
    "s": 51.152,
    "l": 57.451
  },
  "oklch": {
    "l": 0.63745,
    "c": 0.17405,
    "h": 336.5
  },
  "luminance": 0.23253
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CA5BB2

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

Preview Lab → · Contrast checker → · Palette generator →

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