#CA5FB4#CA5FB4

#CA5FB4 is a light, vivid pink. Relative luminance 0.240; OKLCH L 64.4% C 0.169 H 335.9°. Best body text is #000000 at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#CA5FB4
RGBrgb(202, 95, 180)
HSLhsl(312, 50%, 58%)
HSVhsv(312, 53%, 79%)
CMYKcmyk(0%, 53%, 10.9%, 20.8%)
CIE-LABlab(56.13, 53.16, -25.58)
CIE-LCHlch(56.13, 59.00, 334.30°)
OKLaboklab(64.36% 0.1545 -0.0692)
OKLCHoklch(64.36% 0.169 335.9)
XYZxyz(36.6878, 24.0389, 45.8788)
Luminance0.2404 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA5FB4 #5FCA75
analogous
#AA5FCA #CA5FB4 #CA5F7E
triadic
#CA5FB4 #B4CA5F #5FB4CA
tetradic
#CA5FB4 #CAAA5F #5FCA75 #5F7ECA
square
#CA5FB4 #CAAA5F #5FCA75 #5F7ECA
split-complementary
#CA5FB4 #7ECA5F #5FCAAA
monochromatic
#832B71 #B13B99 #CA5FB4 #D98DCA #E8BBDF

Accessibility & contrast

On white

3.62
#CA5FB4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.81
#CA5FB4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA5FB4
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA5FB4#FFFFFF#000000##000000
##CA5FB41.003.625.815.81
#FFFFFF3.621.0021.0021.00
#0000005.8121.001.001.00
##0000005.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#607CB7
Deuteranopia (green-blind)
#7F8CB1
Tritanopia (blue-blind)
#D36481
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #ca5fb4;
/* rgb */ color: rgb(202, 95, 180);
/* oklch */ color: oklch(64.4% 0.169 335.9);
Tailwind
colors: {
  custom: {
    50: '#dc91ca',
    500: '#ca5fb4',
    950: '#000000',
  },
}
SCSS
$custom: #ca5fb4;
$custom-light: #dc91ca;
$custom-dark: #000000;
JSON
{
  "hex": "#ca5fb4",
  "rgb": {
    "r": 202,
    "g": 95,
    "b": 180
  },
  "hsl": {
    "h": 312.336,
    "s": 50.235,
    "l": 58.235
  },
  "oklch": {
    "l": 0.64358,
    "c": 0.16928,
    "h": 335.9
  },
  "luminance": 0.24036
}

Semantic roles & 50–950 ramp

primary
#CA5FB4
secondary
#ADD8B6
accent
#DA6B4E
background
#FDF9FC
surface
#FBF1F8
border
#D4CBD1
text
#150D13
muted
#837E82

Preview Lab

Preview with #CA5FB4

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

Preview Lab → · Contrast checker → · Palette generator →

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