#CA5AA7#CA5AA7

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

Color values

HEX#CA5AA7
RGBrgb(202, 90, 167)
HSLhsl(319, 51%, 57%)
HSVhsv(319, 55%, 79%)
CMYKcmyk(0%, 55.4%, 17.3%, 20.8%)
CIE-LABlab(54.72, 53.51, -20.20)
CIE-LCHlch(54.72, 57.19, 339.32°)
OKLaboklab(63.15% 0.1586 -0.0541)
OKLCHoklch(63.15% 0.168 341.2)
XYZxyz(34.9890, 22.6618, 39.0831)
Luminance0.2266 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA5AA7 #5ACA7D
analogous
#B55ACA #CA5AA7 #CA5A6F
triadic
#CA5AA7 #A7CA5A #5AA7CA
tetradic
#CA5AA7 #CAB55A #5ACA7D #5A6FCA
square
#CA5AA7 #CAB55A #5ACA7D #5A6FCA
split-complementary
#CA5AA7 #6FCA5A #5ACAB5
monochromatic
#802965 #AF388A #CA5AA7 #D988C0 #E8B7D8

Accessibility & contrast

On white

3.80
#CA5AA7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.53
#CA5AA7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA5AA7
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA5AA7#FFFFFF#000000##000000
##CA5AA71.003.805.535.53
#FFFFFF3.801.0021.0021.00
#0000005.5321.001.001.00
##0000005.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6178A9
Deuteranopia (green-blind)
#808AA4
Tritanopia (blue-blind)
#D55C79
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #ca5aa7;
/* rgb */ color: rgb(202, 90, 167);
/* oklch */ color: oklch(63.1% 0.168 341.2);
Tailwind
colors: {
  custom: {
    50: '#dd8ec1',
    500: '#ca5aa7',
    950: '#000000',
  },
}
SCSS
$custom: #ca5aa7;
$custom-light: #dd8ec1;
$custom-dark: #000000;
JSON
{
  "hex": "#ca5aa7",
  "rgb": {
    "r": 202,
    "g": 90,
    "b": 167
  },
  "hsl": {
    "h": 318.75,
    "s": 51.376,
    "l": 57.255
  },
  "oklch": {
    "l": 0.63149,
    "c": 0.16759,
    "h": 341.2
  },
  "luminance": 0.22659
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CA5AA7

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

Preview Lab → · Contrast checker → · Palette generator →

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