#CA408C#CA408C

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

Color values

HEX#CA408C
RGBrgb(202, 64, 140)
HSLhsl(327, 57%, 52%)
HSVhsv(327, 68%, 79%)
CMYKcmyk(0%, 68.3%, 30.7%, 20.8%)
CIE-LABlab(49.64, 60.96, -11.97)
CIE-LCHlch(49.64, 62.12, 348.89°)
OKLaboklab(59.07% 0.1859 -0.0311)
OKLCHoklch(59.07% 0.188 350.5)
XYZxyz(30.9257, 18.1202, 26.6748)
Luminance0.1812 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA408C #40CA7E
analogous
#C340CA #CA408C #CA4047
triadic
#CA408C #8CCA40 #408CCA
tetradic
#CA408C #CAC340 #40CA7E #4047CA
square
#CA408C #CAC340 #40CA7E #4047CA
split-complementary
#CA408C #47CA40 #40CAC3
monochromatic
#701F4C #A02C6C #CA408C #D770A9 #E5A0C6

Accessibility & contrast

On white

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

On black

4.62
#CA408C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA408C
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA408C#FFFFFF#000000##000000
##CA408C1.004.544.624.62
#FFFFFF4.541.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#55668E
Deuteranopia (green-blind)
#7C7F89
Tritanopia (blue-blind)
#D93860
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #ca408c;
/* rgb */ color: rgb(202, 64, 140);
/* oklch */ color: oklch(59.1% 0.188 350.5);
Tailwind
colors: {
  custom: {
    50: '#de7fad',
    500: '#ca408c',
    950: '#000000',
  },
}
SCSS
$custom: #ca408c;
$custom-light: #de7fad;
$custom-dark: #000000;
JSON
{
  "hex": "#ca408c",
  "rgb": {
    "r": 202,
    "g": 64,
    "b": 140
  },
  "hsl": {
    "h": 326.957,
    "s": 56.557,
    "l": 52.157
  },
  "oklch": {
    "l": 0.59072,
    "c": 0.18845,
    "h": 350.5
  },
  "luminance": 0.18117
}

Semantic roles & 50–950 ramp

primary
#CA408C
secondary
#95D1B0
accent
#E08C48
background
#FEF8FA
surface
#FCEFF4
border
#D5CACE
text
#160B10
muted
#847C7F

Preview Lab

Preview with #CA408C

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

Preview Lab → · Contrast checker → · Palette generator →

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