#CA5AA8#CA5AA8

#CA5AA8 is a light, vivid pink. Relative luminance 0.227; OKLCH L 63.2% C 0.168 H 340.7°. Best body text is #000000 at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#CA5AA8
RGBrgb(202, 90, 168)
HSLhsl(318, 51%, 57%)
HSVhsv(318, 55%, 79%)
CMYKcmyk(0%, 55.4%, 16.8%, 20.8%)
CIE-LABlab(54.76, 53.66, -20.73)
CIE-LCHlch(54.76, 57.52, 338.88°)
OKLaboklab(63.19% 0.1589 -0.0555)
OKLCHoklch(63.19% 0.168 340.7)
XYZxyz(35.0818, 22.6989, 39.5718)
Luminance0.2270 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA5AA8 #5ACA7C
analogous
#B45ACA #CA5AA8 #CA5A70
triadic
#CA5AA8 #A8CA5A #5AA8CA
tetradic
#CA5AA8 #CAB45A #5ACA7C #5A70CA
square
#CA5AA8 #CAB45A #5ACA7C #5A70CA
split-complementary
#CA5AA8 #70CA5A #5ACAB4
monochromatic
#802966 #AF388B #CA5AA8 #D988C0 #E8B7D9

Accessibility & contrast

On white

3.79
#CA5AA8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.54
#CA5AA8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA5AA8
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA5AA8#FFFFFF#000000##000000
##CA5AA81.003.795.545.54
#FFFFFF3.791.0021.0021.00
#0000005.5421.001.001.00
##0000005.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6078AB
Deuteranopia (green-blind)
#808AA5
Tritanopia (blue-blind)
#D55C79
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #ca5aa8;
/* rgb */ color: rgb(202, 90, 168);
/* oklch */ color: oklch(63.2% 0.168 340.7);
Tailwind
colors: {
  custom: {
    50: '#dd8ec2',
    500: '#ca5aa8',
    950: '#000000',
  },
}
SCSS
$custom: #ca5aa8;
$custom-light: #dd8ec2;
$custom-dark: #000000;
JSON
{
  "hex": "#ca5aa8",
  "rgb": {
    "r": 202,
    "g": 90,
    "b": 168
  },
  "hsl": {
    "h": 318.214,
    "s": 51.376,
    "l": 57.255
  },
  "oklch": {
    "l": 0.6319,
    "c": 0.16828,
    "h": 340.7
  },
  "luminance": 0.22696
}

Semantic roles & 50–950 ramp

primary
#CA5AA8
secondary
#A9D7B7
accent
#DB784D
background
#FDF8FB
surface
#FBF0F7
border
#D4CBD0
text
#150D12
muted
#837D81

Preview Lab

Preview with #CA5AA8

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

Preview Lab → · Contrast checker → · Palette generator →

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