#CA51AA#CA51AA

#CA51AA is a light, vivid pink. Relative luminance 0.213; OKLCH L 62.2% C 0.183 H 339.3°. Best body text is #000000 at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#CA51AA
RGBrgb(202, 81, 170)
HSLhsl(316, 53%, 55%)
HSVhsv(316, 60%, 79%)
CMYKcmyk(0%, 59.9%, 15.8%, 20.8%)
CIE-LABlab(53.33, 58.04, -24.10)
CIE-LCHlch(53.33, 62.84, 337.45°)
OKLaboklab(62.16% 0.1715 -0.0649)
OKLCHoklch(62.16% 0.183 339.3)
XYZxyz(34.5559, 21.3466, 40.3228)
Luminance0.2134 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA51AA #51CA71
analogous
#AE51CA #CA51AA #CA516D
triadic
#CA51AA #AACA51 #51AACA
tetradic
#CA51AA #CAAE51 #51CA71 #516DCA
square
#CA51AA #CAAE51 #51CA71 #516DCA
split-complementary
#CA51AA #6DCA51 #51CAAE
monochromatic
#7B2564 #AA348B #CA51AA #D880C1 #E7AFD8

Accessibility & contrast

On white

3.99
#CA51AA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.27
#CA51AA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA51AA
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA51AA#FFFFFF#000000##000000
##CA51AA1.003.995.275.27
#FFFFFF3.991.0021.0021.00
#0000005.2721.001.001.00
##0000005.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5773AD
Deuteranopia (green-blind)
#7A86A7
Tritanopia (blue-blind)
#D55476
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #ca51aa;
/* rgb */ color: rgb(202, 81, 170);
/* oklch */ color: oklch(62.2% 0.183 339.3);
Tailwind
colors: {
  custom: {
    50: '#dd88c3',
    500: '#ca51aa',
    950: '#000000',
  },
}
SCSS
$custom: #ca51aa;
$custom-light: #dd88c3;
$custom-dark: #000000;
JSON
{
  "hex": "#ca51aa",
  "rgb": {
    "r": 202,
    "g": 81,
    "b": 170
  },
  "hsl": {
    "h": 315.868,
    "s": 53.304,
    "l": 55.49
  },
  "oklch": {
    "l": 0.62158,
    "c": 0.18334,
    "h": 339.3
  },
  "luminance": 0.21344
}

Semantic roles & 50–950 ramp

primary
#CA51AA
secondary
#A2D5B0
accent
#DD724B
background
#FDF8FC
surface
#FBF0F8
border
#D4CBD1
text
#150C12
muted
#837D81

Preview Lab

Preview with #CA51AA

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

Preview Lab → · Contrast checker → · Palette generator →

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