#CA508A#CA508A

#CA508A is a mid, vivid pink. Relative luminance 0.201; OKLCH L 60.8% C 0.166 H 353.6°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#CA508A
RGBrgb(202, 80, 138)
HSLhsl(331, 54%, 55%)
HSVhsv(331, 60%, 79%)
CMYKcmyk(0%, 60.4%, 31.7%, 20.8%)
CIE-LABlab(51.99, 54.12, -7.26)
CIE-LCHlch(51.99, 54.60, 352.36°)
OKLaboklab(60.78% 0.1648 -0.0185)
OKLCHoklch(60.78% 0.166 353.6)
XYZxyz(31.8148, 20.1321, 26.2502)
Luminance0.2013 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA508A #50CA90
analogous
#CA50C7 #CA508A #CA5350
triadic
#CA508A #8ACA50 #508ACA
tetradic
#CA508A #C7CA50 #50CA90 #5350CA
square
#CA508A #C7CA50 #50CA90 #5350CA
split-complementary
#CA508A #50CA53 #50C7CA
monochromatic
#7A254E #A9336B #CA508A #D87FA9 #E6AEC9

Accessibility & contrast

On white

4.18
#CA508A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#CA508A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA508A
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA508A#FFFFFF#000000##000000
##CA508A1.004.185.035.03
#FFFFFF4.181.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#626E8C
Deuteranopia (green-blind)
#838487
Tritanopia (blue-blind)
#D84967
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #ca508a;
/* rgb */ color: rgb(202, 80, 138);
/* oklch */ color: oklch(60.8% 0.166 353.6);
Tailwind
colors: {
  custom: {
    50: '#de87ac',
    500: '#ca508a',
    950: '#000000',
  },
}
SCSS
$custom: #ca508a;
$custom-light: #de87ac;
$custom-dark: #000000;
JSON
{
  "hex": "#ca508a",
  "rgb": {
    "r": 202,
    "g": 80,
    "b": 138
  },
  "hsl": {
    "h": 331.475,
    "s": 53.509,
    "l": 55.294
  },
  "oklch": {
    "l": 0.60781,
    "c": 0.16579,
    "h": 353.6
  },
  "luminance": 0.20129
}

Semantic roles & 50–950 ramp

primary
#CA508A
secondary
#A1D4BC
accent
#DD974B
background
#FEF8FA
surface
#FCF0F4
border
#D5CBCE
text
#160C10
muted
#847D7F

Preview Lab

Preview with #CA508A

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

Preview Lab → · Contrast checker → · Palette generator →

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