#CA508C#CA508C

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

Color values

HEX#CA508C
RGBrgb(202, 80, 140)
HSLhsl(330, 54%, 55%)
HSVhsv(330, 60%, 79%)
CMYKcmyk(0%, 60.4%, 30.7%, 20.8%)
CIE-LABlab(52.05, 54.37, -8.35)
CIE-LCHlch(52.05, 55.00, 351.27°)
OKLaboklab(60.85% 0.1654 -0.0214)
OKLCHoklch(60.85% 0.167 352.6)
XYZxyz(31.9609, 20.1906, 27.0198)
Luminance0.2019 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA508C #50CA8E
analogous
#CA50C9 #CA508C #CA5150
triadic
#CA508C #8CCA50 #508CCA
tetradic
#CA508C #C9CA50 #50CA8E #5150CA
square
#CA508C #C9CA50 #50CA8E #5150CA
split-complementary
#CA508C #50CA51 #50C9CA
monochromatic
#7A254F #A9336D #CA508C #D87FAB #E6AECA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CA508C#FFFFFF#000000##000000
##CA508C1.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#616E8E
Deuteranopia (green-blind)
#838489
Tritanopia (blue-blind)
#D84968
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #ca508c;
/* rgb */ color: rgb(202, 80, 140);
/* oklch */ color: oklch(60.9% 0.167 352.6);
Tailwind
colors: {
  custom: {
    50: '#de87ad',
    500: '#ca508c',
    950: '#000000',
  },
}
SCSS
$custom: #ca508c;
$custom-light: #de87ad;
$custom-dark: #000000;
JSON
{
  "hex": "#ca508c",
  "rgb": {
    "r": 202,
    "g": 80,
    "b": 140
  },
  "hsl": {
    "h": 330.492,
    "s": 53.509,
    "l": 55.294
  },
  "oklch": {
    "l": 0.60851,
    "c": 0.16674,
    "h": 352.6
  },
  "luminance": 0.20187
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CA508C

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

Preview Lab → · Contrast checker → · Palette generator →

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