#CA50A2#CA50A2

#CA50A2 is a mid, vivid pink. Relative luminance 0.209; OKLCH L 61.7% C 0.179 H 342.5°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#CA50A2
RGBrgb(202, 80, 162)
HSLhsl(320, 54%, 55%)
HSVhsv(320, 60%, 79%)
CMYKcmyk(0%, 60.4%, 19.8%, 20.8%)
CIE-LABlab(52.85, 57.31, -20.15)
CIE-LCHlch(52.85, 60.75, 340.63°)
OKLaboklab(61.7% 0.1711 -0.0538)
OKLCHoklch(61.7% 0.179 342.5)
XYZxyz(33.7483, 20.9055, 36.4332)
Luminance0.2090 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA50A2 #50CA78
analogous
#B550CA #CA50A2 #CA5065
triadic
#CA50A2 #A2CA50 #50A2CA
tetradic
#CA50A2 #CAB550 #50CA78 #5065CA
square
#CA50A2 #CAB550 #50CA78 #5065CA
split-complementary
#CA50A2 #65CA50 #50CAB5
monochromatic
#7A255E #A93383 #CA50A2 #D87FBB #E6AED4

Accessibility & contrast

On white

4.05
#CA50A2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.18
#CA50A2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA50A2
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA50A2#FFFFFF#000000##000000
##CA50A21.004.055.185.18
#FFFFFF4.051.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5971A5
Deuteranopia (green-blind)
#7D869F
Tritanopia (blue-blind)
#D65172
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #ca50a2;
/* rgb */ color: rgb(202, 80, 162);
/* oklch */ color: oklch(61.7% 0.179 342.5);
Tailwind
colors: {
  custom: {
    50: '#dd88bd',
    500: '#ca50a2',
    950: '#000000',
  },
}
SCSS
$custom: #ca50a2;
$custom-light: #dd88bd;
$custom-dark: #000000;
JSON
{
  "hex": "#ca50a2",
  "rgb": {
    "r": 202,
    "g": 80,
    "b": 162
  },
  "hsl": {
    "h": 319.672,
    "s": 53.509,
    "l": 55.294
  },
  "oklch": {
    "l": 0.61699,
    "c": 0.17936,
    "h": 342.5
  },
  "luminance": 0.20903
}

Semantic roles & 50–950 ramp

primary
#CA50A2
secondary
#A1D4B2
accent
#DD7B4B
background
#FEF8FB
surface
#FCF0F6
border
#D5CBD0
text
#150C12
muted
#847D81

Preview Lab

Preview with #CA50A2

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

Preview Lab → · Contrast checker → · Palette generator →

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