#CA507C#CA507C

#CA507C is a mid, vivid pink. Relative luminance 0.197; OKLCH L 60.3% C 0.160 H 0.7°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#CA507C
RGBrgb(202, 80, 124)
HSLhsl(338, 54%, 55%)
HSVhsv(338, 60%, 79%)
CMYKcmyk(0%, 60.4%, 38.6%, 20.8%)
CIE-LABlab(51.56, 52.49, 0.46)
CIE-LCHlch(51.56, 52.49, 0.50°)
OKLaboklab(60.32% 0.1602 0.0018)
OKLCHoklch(60.32% 0.16 0.7)
XYZxyz(30.8658, 19.7525, 21.2520)
Luminance0.1975 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA507C #50CA9E
analogous
#CA50B9 #CA507C #CA6150
triadic
#CA507C #7CCA50 #507CCA
tetradic
#CA507C #B9CA50 #50CA9E #6150CA
square
#CA507C #B9CA50 #50CA9E #6150CA
split-complementary
#CA507C #50CA61 #50B9CA
monochromatic
#7A2544 #A9335E #CA507C #D87F9F #E6AEC2

Accessibility & contrast

On white

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

On black

4.95
#CA507C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA507C
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA507C#FFFFFF#000000##000000
##CA507C1.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#666C7D
Deuteranopia (green-blind)
#868479
Tritanopia (blue-blind)
#DA4461
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #ca507c;
/* rgb */ color: rgb(202, 80, 124);
/* oklch */ color: oklch(60.3% 0.160 0.7);
Tailwind
colors: {
  custom: {
    50: '#de87a1',
    500: '#ca507c',
    950: '#000000',
  },
}
SCSS
$custom: #ca507c;
$custom-light: #de87a1;
$custom-dark: #000000;
JSON
{
  "hex": "#ca507c",
  "rgb": {
    "r": 202,
    "g": 80,
    "b": 124
  },
  "hsl": {
    "h": 338.361,
    "s": 53.509,
    "l": 55.294
  },
  "oklch": {
    "l": 0.6032,
    "c": 0.16021,
    "h": 0.7
  },
  "luminance": 0.19749
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CA507C

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

Preview Lab → · Contrast checker → · Palette generator →

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