#CA508D#CA508D

#CA508D is a mid, vivid pink. Relative luminance 0.202; OKLCH L 60.9% C 0.167 H 352.1°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#CA508D
RGBrgb(202, 80, 141)
HSLhsl(330, 54%, 55%)
HSVhsv(330, 60%, 79%)
CMYKcmyk(0%, 60.4%, 30.2%, 20.8%)
CIE-LABlab(52.09, 54.49, -8.89)
CIE-LCHlch(52.09, 55.21, 350.73°)
OKLaboklab(60.89% 0.1657 -0.0229)
OKLCHoklch(60.89% 0.167 352.1)
XYZxyz(32.0350, 20.2202, 27.4099)
Luminance0.2022 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA508D #50CA8D
analogous
#CA50CA #CA508D #CA5050
triadic
#CA508D #8DCA50 #508DCA
tetradic
#CA508D #CACA50 #50CA8D #5050CA
square
#CA508D #CACA50 #50CA8D #5050CA
split-complementary
#CA508D #50CA50 #50CACA
monochromatic
#7A2550 #A9336E #CA508D #D87FAC #E6AECA

Accessibility & contrast

On white

4.16
#CA508D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#CA508D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA508D
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA508D#FFFFFF#000000##000000
##CA508D1.004.165.045.04
#FFFFFF4.161.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#616E8F
Deuteranopia (green-blind)
#83848A
Tritanopia (blue-blind)
#D84A68
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #ca508d;
/* rgb */ color: rgb(202, 80, 141);
/* oklch */ color: oklch(60.9% 0.167 352.1);
Tailwind
colors: {
  custom: {
    50: '#de87ae',
    500: '#ca508d',
    950: '#000000',
  },
}
SCSS
$custom: #ca508d;
$custom-light: #de87ae;
$custom-dark: #000000;
JSON
{
  "hex": "#ca508d",
  "rgb": {
    "r": 202,
    "g": 80,
    "b": 141
  },
  "hsl": {
    "h": 330,
    "s": 53.509,
    "l": 55.294
  },
  "oklch": {
    "l": 0.60887,
    "c": 0.16723,
    "h": 352.1
  },
  "luminance": 0.20217
}

Semantic roles & 50–950 ramp

primary
#CA508D
secondary
#A1D4BB
accent
#DD944B
background
#FEF8FA
surface
#FCF0F4
border
#D5CBCE
text
#160C10
muted
#847D7F

Preview Lab

Preview with #CA508D

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

Preview Lab → · Contrast checker → · Palette generator →

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