#CA51A3#CA51A3

#CA51A3 is a mid, vivid pink. Relative luminance 0.211; OKLCH L 61.9% C 0.179 H 342.2°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#CA51A3
RGBrgb(202, 81, 163)
HSLhsl(319, 53%, 55%)
HSVhsv(319, 60%, 79%)
CMYKcmyk(0%, 59.9%, 19.3%, 20.8%)
CIE-LABlab(53.05, 57.01, -20.43)
CIE-LCHlch(53.05, 60.56, 340.29°)
OKLaboklab(61.86% 0.17 -0.0546)
OKLCHoklch(61.86% 0.179 342.2)
XYZxyz(33.9113, 21.0888, 36.9278)
Luminance0.2109 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA51A3 #51CA78
analogous
#B551CA #CA51A3 #CA5166
triadic
#CA51A3 #A3CA51 #51A3CA
tetradic
#CA51A3 #CAB551 #51CA78 #5166CA
square
#CA51A3 #CAB551 #51CA78 #5166CA
split-complementary
#CA51A3 #66CA51 #51CAB5
monochromatic
#7B2560 #AA3484 #CA51A3 #D880BC #E7AFD5

Accessibility & contrast

On white

4.03
#CA51A3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.22
#CA51A3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA51A3
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA51A3#FFFFFF#000000##000000
##CA51A31.004.035.225.22
#FFFFFF4.031.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A72A6
Deuteranopia (green-blind)
#7D86A0
Tritanopia (blue-blind)
#D65273
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #ca51a3;
/* rgb */ color: rgb(202, 81, 163);
/* oklch */ color: oklch(61.9% 0.179 342.2);
Tailwind
colors: {
  custom: {
    50: '#dd88be',
    500: '#ca51a3',
    950: '#000000',
  },
}
SCSS
$custom: #ca51a3;
$custom-light: #dd88be;
$custom-dark: #000000;
JSON
{
  "hex": "#ca51a3",
  "rgb": {
    "r": 202,
    "g": 81,
    "b": 163
  },
  "hsl": {
    "h": 319.339,
    "s": 53.304,
    "l": 55.49
  },
  "oklch": {
    "l": 0.6186,
    "c": 0.17856,
    "h": 342.2
  },
  "luminance": 0.21086
}

Semantic roles & 50–950 ramp

primary
#CA51A3
secondary
#A2D5B2
accent
#DD7A4B
background
#FEF8FB
surface
#FCF0F6
border
#D5CBD0
text
#150C12
muted
#847D81

Preview Lab

Preview with #CA51A3

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

Preview Lab → · Contrast checker → · Palette generator →

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