#CA509D#CA509D

#CA509D is a mid, vivid pink. Relative luminance 0.207; OKLCH L 61.5% C 0.176 H 344.7°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#CA509D
RGBrgb(202, 80, 157)
HSLhsl(322, 54%, 55%)
HSVhsv(322, 60%, 79%)
CMYKcmyk(0%, 60.4%, 22.3%, 20.8%)
CIE-LABlab(52.65, 56.60, -17.50)
CIE-LCHlch(52.65, 59.25, 342.82°)
OKLaboklab(61.5% 0.1699 -0.0465)
OKLCHoklch(61.5% 0.176 344.7)
XYZxyz(33.3126, 20.7313, 34.1388)
Luminance0.2073 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA509D #50CA7D
analogous
#BA50CA #CA509D #CA5060
triadic
#CA509D #9DCA50 #509DCA
tetradic
#CA509D #CABA50 #50CA7D #5060CA
square
#CA509D #CABA50 #50CA7D #5060CA
split-complementary
#CA509D #60CA50 #50CABA
monochromatic
#7A255B #A9337E #CA509D #D87FB7 #E6AED2

Accessibility & contrast

On white

4.08
#CA509D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#CA509D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA509D
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA509D#FFFFFF#000000##000000
##CA509D1.004.085.155.15
#FFFFFF4.081.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B719F
Deuteranopia (green-blind)
#7E859A
Tritanopia (blue-blind)
#D64F70
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #ca509d;
/* rgb */ color: rgb(202, 80, 157);
/* oklch */ color: oklch(61.5% 0.176 344.7);
Tailwind
colors: {
  custom: {
    50: '#dd88ba',
    500: '#ca509d',
    950: '#000000',
  },
}
SCSS
$custom: #ca509d;
$custom-light: #dd88ba;
$custom-dark: #000000;
JSON
{
  "hex": "#ca509d",
  "rgb": {
    "r": 202,
    "g": 80,
    "b": 157
  },
  "hsl": {
    "h": 322.131,
    "s": 53.509,
    "l": 55.294
  },
  "oklch": {
    "l": 0.61495,
    "c": 0.17618,
    "h": 344.7
  },
  "luminance": 0.20728
}

Semantic roles & 50–950 ramp

primary
#CA509D
secondary
#A1D4B4
accent
#DD814B
background
#FEF8FB
surface
#FCF0F6
border
#D5CBD0
text
#160C11
muted
#847D80

Preview Lab

Preview with #CA509D

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

Preview Lab → · Contrast checker → · Palette generator →

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