#CA507D#CA507D

#CA507D is a mid, vivid pink. Relative luminance 0.198; OKLCH L 60.4% C 0.161 H 0.1°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#CA507D
RGBrgb(202, 80, 125)
HSLhsl(338, 54%, 55%)
HSVhsv(338, 60%, 79%)
CMYKcmyk(0%, 60.4%, 38.1%, 20.8%)
CIE-LABlab(51.59, 52.60, -0.09)
CIE-LCHlch(51.59, 52.60, 359.90°)
OKLaboklab(60.35% 0.1605 0.0004)
OKLCHoklch(60.35% 0.161 0.1)
XYZxyz(30.9293, 19.7780, 21.5868)
Luminance0.1978 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA507D #50CA9D
analogous
#CA50BA #CA507D #CA6050
triadic
#CA507D #7DCA50 #507DCA
tetradic
#CA507D #BACA50 #50CA9D #6050CA
square
#CA507D #BACA50 #50CA9D #6050CA
split-complementary
#CA507D #50CA60 #50BACA
monochromatic
#7A2545 #A9335F #CA507D #D87FA0 #E6AEC3

Accessibility & contrast

On white

4.24
#CA507D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#CA507D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA507D
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA507D#FFFFFF#000000##000000
##CA507D1.004.244.964.96
#FFFFFF4.241.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#666C7E
Deuteranopia (green-blind)
#86847A
Tritanopia (blue-blind)
#DA4461
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #ca507d;
/* rgb */ color: rgb(202, 80, 125);
/* oklch */ color: oklch(60.4% 0.161 0.1);
Tailwind
colors: {
  custom: {
    50: '#de87a2',
    500: '#ca507d',
    950: '#000000',
  },
}
SCSS
$custom: #ca507d;
$custom-light: #de87a2;
$custom-dark: #000000;
JSON
{
  "hex": "#ca507d",
  "rgb": {
    "r": 202,
    "g": 80,
    "b": 125
  },
  "hsl": {
    "h": 337.869,
    "s": 53.509,
    "l": 55.294
  },
  "oklch": {
    "l": 0.60351,
    "c": 0.16054,
    "h": 0.1
  },
  "luminance": 0.19775
}

Semantic roles & 50–950 ramp

primary
#CA507D
secondary
#A1D4C2
accent
#DDA74B
background
#FEF8F9
surface
#FCF0F2
border
#D5CBCC
text
#160C0F
muted
#847D7E

Preview Lab

Preview with #CA507D

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

Preview Lab → · Contrast checker → · Palette generator →

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