#CA5FB1#CA5FB1

#CA5FB1 is a light, vivid pink. Relative luminance 0.239; OKLCH L 64.2% C 0.167 H 337.1°. Best body text is #000000 at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#CA5FB1
RGBrgb(202, 95, 177)
HSLhsl(314, 50%, 58%)
HSVhsv(314, 53%, 79%)
CMYKcmyk(0%, 53%, 12.4%, 20.8%)
CIE-LABlab(56.01, 52.68, -24.04)
CIE-LCHlch(56.01, 57.91, 335.47°)
OKLaboklab(64.23% 0.1538 -0.0649)
OKLCHoklch(64.23% 0.167 337.1)
XYZxyz(36.3855, 23.9180, 44.2867)
Luminance0.2392 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA5FB1 #5FCA78
analogous
#AE5FCA #CA5FB1 #CA5F7B
triadic
#CA5FB1 #B1CA5F #5FB1CA
tetradic
#CA5FB1 #CAAE5F #5FCA78 #5F7BCA
square
#CA5FB1 #CAAE5F #5FCA78 #5F7BCA
split-complementary
#CA5FB1 #7BCA5F #5FCAAE
monochromatic
#832B6F #B13B95 #CA5FB1 #D98DC7 #E8BBDE

Accessibility & contrast

On white

3.63
#CA5FB1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.78
#CA5FB1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA5FB1
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA5FB1#FFFFFF#000000##000000
##CA5FB11.003.635.785.78
#FFFFFF3.631.0021.0021.00
#0000005.7821.001.001.00
##0000005.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#617CB4
Deuteranopia (green-blind)
#808CAE
Tritanopia (blue-blind)
#D36380
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #ca5fb1;
/* rgb */ color: rgb(202, 95, 177);
/* oklch */ color: oklch(64.2% 0.167 337.1);
Tailwind
colors: {
  custom: {
    50: '#dd91c8',
    500: '#ca5fb1',
    950: '#000000',
  },
}
SCSS
$custom: #ca5fb1;
$custom-light: #dd91c8;
$custom-dark: #000000;
JSON
{
  "hex": "#ca5fb1",
  "rgb": {
    "r": 202,
    "g": 95,
    "b": 177
  },
  "hsl": {
    "h": 314.019,
    "s": 50.235,
    "l": 58.235
  },
  "oklch": {
    "l": 0.64228,
    "c": 0.16696,
    "h": 337.1
  },
  "luminance": 0.23915
}

Semantic roles & 50–950 ramp

primary
#CA5FB1
secondary
#ADD8B7
accent
#DA6F4E
background
#FDF9FC
surface
#FBF1F8
border
#D4CBD1
text
#150D13
muted
#837E82

Preview Lab

Preview with #CA5FB1

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

Preview Lab → · Contrast checker → · Palette generator →

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