#CA5AA2#CA5AA2

#CA5AA2 is a light, vivid pink. Relative luminance 0.225; OKLCH L 62.9% C 0.164 H 343.5°. Best body text is #000000 at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#CA5AA2
RGBrgb(202, 90, 162)
HSLhsl(321, 51%, 57%)
HSVhsv(321, 55%, 79%)
CMYKcmyk(0%, 55.4%, 19.8%, 20.8%)
CIE-LABlab(54.53, 52.77, -17.57)
CIE-LCHlch(54.53, 55.62, 341.58°)
OKLaboklab(62.95% 0.1574 -0.0467)
OKLCHoklch(62.95% 0.164 343.5)
XYZxyz(34.5357, 22.4804, 36.6957)
Luminance0.2248 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA5AA2 #5ACA82
analogous
#BA5ACA #CA5AA2 #CA5A6A
triadic
#CA5AA2 #A2CA5A #5AA2CA
tetradic
#CA5AA2 #CABA5A #5ACA82 #5A6ACA
square
#CA5AA2 #CABA5A #5ACA82 #5A6ACA
split-complementary
#CA5AA2 #6ACA5A #5ACABA
monochromatic
#802961 #AF3884 #CA5AA2 #D988BC #E8B7D6

Accessibility & contrast

On white

3.82
#CA5AA2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.50
#CA5AA2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA5AA2
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA5AA2#FFFFFF#000000##000000
##CA5AA21.003.825.505.50
#FFFFFF3.821.0021.0021.00
#0000005.5021.001.001.00
##0000005.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6377A4
Deuteranopia (green-blind)
#82899F
Tritanopia (blue-blind)
#D65A77
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #ca5aa2;
/* rgb */ color: rgb(202, 90, 162);
/* oklch */ color: oklch(62.9% 0.164 343.5);
Tailwind
colors: {
  custom: {
    50: '#dd8dbd',
    500: '#ca5aa2',
    950: '#000000',
  },
}
SCSS
$custom: #ca5aa2;
$custom-light: #dd8dbd;
$custom-dark: #000000;
JSON
{
  "hex": "#ca5aa2",
  "rgb": {
    "r": 202,
    "g": 90,
    "b": 162
  },
  "hsl": {
    "h": 321.429,
    "s": 51.376,
    "l": 57.255
  },
  "oklch": {
    "l": 0.62946,
    "c": 0.16422,
    "h": 343.5
  },
  "luminance": 0.22478
}

Semantic roles & 50–950 ramp

primary
#CA5AA2
secondary
#A9D7B9
accent
#DB804D
background
#FDF8FB
surface
#FBF0F6
border
#D4CBD0
text
#150D12
muted
#837D81

Preview Lab

Preview with #CA5AA2

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

Preview Lab → · Contrast checker → · Palette generator →

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