#CA5FA8#CA5FA8

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

Color values

HEX#CA5FA8
RGBrgb(202, 95, 168)
HSLhsl(319, 50%, 58%)
HSVhsv(319, 53%, 79%)
CMYKcmyk(0%, 53%, 16.8%, 20.8%)
CIE-LABlab(55.66, 51.28, -19.36)
CIE-LCHlch(55.66, 54.81, 339.32°)
OKLaboklab(63.85% 0.1518 -0.0517)
OKLCHoklch(63.85% 0.16 341.2)
XYZxyz(35.5178, 23.5709, 39.7172)
Luminance0.2357 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA5FA8 #5FCA81
analogous
#B65FCA #CA5FA8 #CA5F72
triadic
#CA5FA8 #A8CA5F #5FA8CA
tetradic
#CA5FA8 #CAB65F #5FCA81 #5F72CA
square
#CA5FA8 #CAB65F #5FCA81 #5F72CA
split-complementary
#CA5FA8 #72CA5F #5FCAB6
monochromatic
#832B67 #B13B8B #CA5FA8 #D98DC1 #E8BBDA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CA5FA8#FFFFFF#000000##000000
##CA5FA81.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)
#657BAA
Deuteranopia (green-blind)
#838CA5
Tritanopia (blue-blind)
#D5607C
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #ca5fa8;
/* rgb */ color: rgb(202, 95, 168);
/* oklch */ color: oklch(63.9% 0.160 341.2);
Tailwind
colors: {
  custom: {
    50: '#dd91c2',
    500: '#ca5fa8',
    950: '#000000',
  },
}
SCSS
$custom: #ca5fa8;
$custom-light: #dd91c2;
$custom-dark: #000000;
JSON
{
  "hex": "#ca5fa8",
  "rgb": {
    "r": 202,
    "g": 95,
    "b": 168
  },
  "hsl": {
    "h": 319.065,
    "s": 50.235,
    "l": 58.235
  },
  "oklch": {
    "l": 0.63854,
    "c": 0.16036,
    "h": 341.2
  },
  "luminance": 0.23568
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CA5FA8

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

Preview Lab → · Contrast checker → · Palette generator →

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