#CA5FA7#CA5FA7

#CA5FA7 is a light, vivid pink. Relative luminance 0.235; OKLCH L 63.8% C 0.160 H 341.6°. Best body text is #000000 at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#CA5FA7
RGBrgb(202, 95, 167)
HSLhsl(320, 50%, 58%)
HSVhsv(320, 53%, 79%)
CMYKcmyk(0%, 53%, 17.3%, 20.8%)
CIE-LABlab(55.62, 51.13, -18.83)
CIE-LCHlch(55.62, 54.49, 339.78°)
OKLaboklab(63.81% 0.1515 -0.0503)
OKLCHoklch(63.81% 0.16 341.6)
XYZxyz(35.4250, 23.5338, 39.2284)
Luminance0.2353 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA5FA7 #5FCA82
analogous
#B75FCA #CA5FA7 #CA5F71
triadic
#CA5FA7 #A7CA5F #5FA7CA
tetradic
#CA5FA7 #CAB75F #5FCA82 #5F71CA
square
#CA5FA7 #CAB75F #5FCA82 #5F71CA
split-complementary
#CA5FA7 #71CA5F #5FCAB7
monochromatic
#832B66 #B13B8A #CA5FA7 #D98DC0 #E8BBDA

Accessibility & contrast

On white

3.68
#CA5FA7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.71
#CA5FA7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA5FA7
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA5FA7#FFFFFF#000000##000000
##CA5FA71.003.685.715.71
#FFFFFF3.681.0021.0021.00
#0000005.7121.001.001.00
##0000005.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#657AA9
Deuteranopia (green-blind)
#838CA4
Tritanopia (blue-blind)
#D5607B
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #ca5fa7;
/* rgb */ color: rgb(202, 95, 167);
/* oklch */ color: oklch(63.8% 0.160 341.6);
Tailwind
colors: {
  custom: {
    50: '#dd90c1',
    500: '#ca5fa7',
    950: '#000000',
  },
}
SCSS
$custom: #ca5fa7;
$custom-light: #dd90c1;
$custom-dark: #000000;
JSON
{
  "hex": "#ca5fa7",
  "rgb": {
    "r": 202,
    "g": 95,
    "b": 167
  },
  "hsl": {
    "h": 319.626,
    "s": 50.235,
    "l": 58.235
  },
  "oklch": {
    "l": 0.63813,
    "c": 0.15966,
    "h": 341.6
  },
  "luminance": 0.23531
}

Semantic roles & 50–950 ramp

primary
#CA5FA7
secondary
#ADD8BB
accent
#DA7C4E
background
#FDF9FB
surface
#FBF1F7
border
#D4CBD0
text
#150D12
muted
#837E81

Preview Lab

Preview with #CA5FA7

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

Preview Lab → · Contrast checker → · Palette generator →

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