#CA408D#CA408D

#CA408D is a mid, vivid pink. Relative luminance 0.181; OKLCH L 59.1% C 0.189 H 350.1°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#CA408D
RGBrgb(202, 64, 141)
HSLhsl(327, 57%, 52%)
HSVhsv(327, 68%, 79%)
CMYKcmyk(0%, 68.3%, 30.2%, 20.8%)
CIE-LABlab(49.68, 61.08, -12.51)
CIE-LCHlch(49.68, 62.35, 348.42°)
OKLaboklab(59.11% 0.1861 -0.0326)
OKLCHoklch(59.11% 0.189 350.1)
XYZxyz(30.9998, 18.1498, 27.0649)
Luminance0.1815 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA408D #40CA7D
analogous
#C240CA #CA408D #CA4048
triadic
#CA408D #8DCA40 #408DCA
tetradic
#CA408D #CAC240 #40CA7D #4048CA
square
#CA408D #CAC240 #40CA7D #4048CA
split-complementary
#CA408D #48CA40 #40CAC2
monochromatic
#701F4D #A02C6D #CA408D #D770AA #E5A0C6

Accessibility & contrast

On white

4.54
#CA408D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#CA408D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA408D
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA408D#FFFFFF#000000##000000
##CA408D1.004.544.634.63
#FFFFFF4.541.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#54678F
Deuteranopia (green-blind)
#7C7F8A
Tritanopia (blue-blind)
#D83961
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #ca408d;
/* rgb */ color: rgb(202, 64, 141);
/* oklch */ color: oklch(59.1% 0.189 350.1);
Tailwind
colors: {
  custom: {
    50: '#de7fae',
    500: '#ca408d',
    950: '#000000',
  },
}
SCSS
$custom: #ca408d;
$custom-light: #de7fae;
$custom-dark: #000000;
JSON
{
  "hex": "#ca408d",
  "rgb": {
    "r": 202,
    "g": 64,
    "b": 141
  },
  "hsl": {
    "h": 326.522,
    "s": 56.557,
    "l": 52.157
  },
  "oklch": {
    "l": 0.5911,
    "c": 0.18896,
    "h": 350.1
  },
  "luminance": 0.18146
}

Semantic roles & 50–950 ramp

primary
#CA408D
secondary
#95D1AF
accent
#E08B48
background
#FEF8FA
surface
#FCEFF4
border
#D5CACE
text
#160B10
muted
#847C7F

Preview Lab

Preview with #CA408D

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

Preview Lab → · Contrast checker → · Palette generator →

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