#CA508F#CA508F

#CA508F is a mid, vivid pink. Relative luminance 0.203; OKLCH L 61.0% C 0.168 H 351.2°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#CA508F
RGBrgb(202, 80, 143)
HSLhsl(329, 54%, 55%)
HSVhsv(329, 60%, 79%)
CMYKcmyk(0%, 60.4%, 29.2%, 20.8%)
CIE-LABlab(52.15, 54.74, -9.98)
CIE-LCHlch(52.15, 55.65, 349.67°)
OKLaboklab(60.96% 0.1662 -0.0258)
OKLCHoklch(60.96% 0.168 351.2)
XYZxyz(32.1851, 20.2803, 28.2008)
Luminance0.2028 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA508F #50CA8B
analogous
#C850CA #CA508F #CA5052
triadic
#CA508F #8FCA50 #508FCA
tetradic
#CA508F #CAC850 #50CA8B #5052CA
square
#CA508F #CAC850 #50CA8B #5052CA
split-complementary
#CA508F #52CA50 #50CAC8
monochromatic
#7A2551 #A93370 #CA508F #D87FAD #E6AECB

Accessibility & contrast

On white

4.15
#CA508F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#CA508F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA508F
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA508F#FFFFFF#000000##000000
##CA508F1.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#606F91
Deuteranopia (green-blind)
#82848C
Tritanopia (blue-blind)
#D84A69
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #ca508f;
/* rgb */ color: rgb(202, 80, 143);
/* oklch */ color: oklch(61.0% 0.168 351.2);
Tailwind
colors: {
  custom: {
    50: '#de87af',
    500: '#ca508f',
    950: '#000000',
  },
}
SCSS
$custom: #ca508f;
$custom-light: #de87af;
$custom-dark: #000000;
JSON
{
  "hex": "#ca508f",
  "rgb": {
    "r": 202,
    "g": 80,
    "b": 143
  },
  "hsl": {
    "h": 329.016,
    "s": 53.509,
    "l": 55.294
  },
  "oklch": {
    "l": 0.60959,
    "c": 0.16823,
    "h": 351.2
  },
  "luminance": 0.20277
}

Semantic roles & 50–950 ramp

primary
#CA508F
secondary
#A1D4BA
accent
#DD924B
background
#FEF8FA
surface
#FCF0F4
border
#D5CBCE
text
#160C10
muted
#847D7F

Preview Lab

Preview with #CA508F

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

Preview Lab → · Contrast checker → · Palette generator →

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