#CA508B#CA508B

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

Color values

HEX#CA508B
RGBrgb(202, 80, 139)
HSLhsl(331, 54%, 55%)
HSVhsv(331, 60%, 79%)
CMYKcmyk(0%, 60.4%, 31.2%, 20.8%)
CIE-LABlab(52.02, 54.24, -7.81)
CIE-LCHlch(52.02, 54.80, 351.81°)
OKLaboklab(60.82% 0.1651 -0.02)
OKLCHoklch(60.82% 0.166 353.1)
XYZxyz(31.8875, 20.1612, 26.6333)
Luminance0.2016 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA508B #50CA8F
analogous
#CA50C8 #CA508B #CA5250
triadic
#CA508B #8BCA50 #508BCA
tetradic
#CA508B #C8CA50 #50CA8F #5250CA
square
#CA508B #C8CA50 #50CA8F #5250CA
split-complementary
#CA508B #50CA52 #50C8CA
monochromatic
#7A254E #A9336C #CA508B #D87FAA #E6AEC9

Accessibility & contrast

On white

4.17
#CA508B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##CA508B#FFFFFF#000000##000000
##CA508B1.004.175.035.03
#FFFFFF4.171.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ca508b;
/* rgb */ color: rgb(202, 80, 139);
/* oklch */ color: oklch(60.8% 0.166 353.1);
Tailwind
colors: {
  custom: {
    50: '#de87ac',
    500: '#ca508b',
    950: '#000000',
  },
}
SCSS
$custom: #ca508b;
$custom-light: #de87ac;
$custom-dark: #000000;
JSON
{
  "hex": "#ca508b",
  "rgb": {
    "r": 202,
    "g": 80,
    "b": 139
  },
  "hsl": {
    "h": 330.984,
    "s": 53.509,
    "l": 55.294
  },
  "oklch": {
    "l": 0.60816,
    "c": 0.16625,
    "h": 353.1
  },
  "luminance": 0.20158
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CA508B

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

Preview Lab → · Contrast checker → · Palette generator →

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