#CA5FA1#CA5FA1

#CA5FA1 is a light, vivid pink. Relative luminance 0.233; OKLCH L 63.6% C 0.156 H 344.5°. Best body text is #000000 at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#CA5FA1
RGBrgb(202, 95, 161)
HSLhsl(323, 50%, 58%)
HSVhsv(323, 53%, 79%)
CMYKcmyk(0%, 53%, 20.3%, 20.8%)
CIE-LABlab(55.40, 50.24, -15.68)
CIE-LCHlch(55.40, 52.62, 342.67°)
OKLaboklab(63.58% 0.15 -0.0415)
OKLCHoklch(63.58% 0.156 344.5)
XYZxyz(34.8832, 23.3171, 36.3747)
Luminance0.2331 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA5FA1 #5FCA88
analogous
#BE5FCA #CA5FA1 #CA5F6B
triadic
#CA5FA1 #A1CA5F #5FA1CA
tetradic
#CA5FA1 #CABE5F #5FCA88 #5F6BCA
square
#CA5FA1 #CABE5F #5FCA88 #5F6BCA
split-complementary
#CA5FA1 #6BCA5F #5FCABE
monochromatic
#832B62 #B13B84 #CA5FA1 #D98DBC #E8BBD7

Accessibility & contrast

On white

3.71
#CA5FA1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.66
#CA5FA1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA5FA1
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA5FA1#FFFFFF#000000##000000
##CA5FA11.003.715.665.66
#FFFFFF3.711.0021.0021.00
#0000005.6621.001.001.00
##0000005.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#687AA3
Deuteranopia (green-blind)
#858B9E
Tritanopia (blue-blind)
#D65E79
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #ca5fa1;
/* rgb */ color: rgb(202, 95, 161);
/* oklch */ color: oklch(63.6% 0.156 344.5);
Tailwind
colors: {
  custom: {
    50: '#dd90bd',
    500: '#ca5fa1',
    950: '#000000',
  },
}
SCSS
$custom: #ca5fa1;
$custom-light: #dd90bd;
$custom-dark: #000000;
JSON
{
  "hex": "#ca5fa1",
  "rgb": {
    "r": 202,
    "g": 95,
    "b": 161
  },
  "hsl": {
    "h": 322.991,
    "s": 50.235,
    "l": 58.235
  },
  "oklch": {
    "l": 0.63577,
    "c": 0.15563,
    "h": 344.5
  },
  "luminance": 0.23314
}

Semantic roles & 50–950 ramp

primary
#CA5FA1
secondary
#ADD8BD
accent
#DA844E
background
#FDF9FB
surface
#FBF1F6
border
#D4CBD0
text
#150D12
muted
#837E81

Preview Lab

Preview with #CA5FA1

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

Preview Lab → · Contrast checker → · Palette generator →

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