#CA50A1#CA50A1

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

Color values

HEX#CA50A1
RGBrgb(202, 80, 161)
HSLhsl(320, 54%, 55%)
HSVhsv(320, 60%, 79%)
CMYKcmyk(0%, 60.4%, 20.3%, 20.8%)
CIE-LABlab(52.81, 57.17, -19.62)
CIE-LCHlch(52.81, 60.44, 341.06°)
OKLaboklab(61.66% 0.1709 -0.0523)
OKLCHoklch(61.66% 0.179 343)
XYZxyz(33.6597, 20.8701, 35.9669)
Luminance0.2087 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA50A1 #50CA79
analogous
#B650CA #CA50A1 #CA5064
triadic
#CA50A1 #A1CA50 #50A1CA
tetradic
#CA50A1 #CAB650 #50CA79 #5064CA
square
#CA50A1 #CAB650 #50CA79 #5064CA
split-complementary
#CA50A1 #64CA50 #50CAB6
monochromatic
#7A255E #A93382 #CA50A1 #D87FBA #E6AED3

Accessibility & contrast

On white

4.06
#CA50A1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#CA50A1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA50A1
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA50A1#FFFFFF#000000##000000
##CA50A11.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A71A4
Deuteranopia (green-blind)
#7D859E
Tritanopia (blue-blind)
#D65071
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #ca50a1;
/* rgb */ color: rgb(202, 80, 161);
/* oklch */ color: oklch(61.7% 0.179 343.0);
Tailwind
colors: {
  custom: {
    50: '#dd88bd',
    500: '#ca50a1',
    950: '#000000',
  },
}
SCSS
$custom: #ca50a1;
$custom-light: #dd88bd;
$custom-dark: #000000;
JSON
{
  "hex": "#ca50a1",
  "rgb": {
    "r": 202,
    "g": 80,
    "b": 161
  },
  "hsl": {
    "h": 320.164,
    "s": 53.509,
    "l": 55.294
  },
  "oklch": {
    "l": 0.61657,
    "c": 0.17872,
    "h": 343
  },
  "luminance": 0.20867
}

Semantic roles & 50–950 ramp

primary
#CA50A1
secondary
#A1D4B3
accent
#DD7C4B
background
#FEF8FB
surface
#FCF0F6
border
#D5CBD0
text
#150C12
muted
#847D81

Preview Lab

Preview with #CA50A1

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

Preview Lab → · Contrast checker → · Palette generator →

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