#CA408F#CA408F

#CA408F is a mid, vivid pink. Relative luminance 0.182; OKLCH L 59.2% C 0.190 H 349.2°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#CA408F
RGBrgb(202, 64, 143)
HSLhsl(326, 57%, 52%)
HSVhsv(326, 68%, 79%)
CMYKcmyk(0%, 68.3%, 29.2%, 20.8%)
CIE-LABlab(49.75, 61.32, -13.60)
CIE-LCHlch(49.75, 62.81, 347.49°)
OKLaboklab(59.19% 0.1866 -0.0356)
OKLCHoklch(59.19% 0.19 349.2)
XYZxyz(31.1499, 18.2099, 27.8557)
Luminance0.1821 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA408F #40CA7B
analogous
#C040CA #CA408F #CA404A
triadic
#CA408F #8FCA40 #408FCA
tetradic
#CA408F #CAC040 #40CA7B #404ACA
square
#CA408F #CAC040 #40CA7B #404ACA
split-complementary
#CA408F #4ACA40 #40CAC0
monochromatic
#701F4E #A02C6F #CA408F #D770AB #E5A0C7

Accessibility & contrast

On white

4.52
#CA408F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#CA408F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA408F
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA408F#FFFFFF#000000##000000
##CA408F1.004.524.644.64
#FFFFFF4.521.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#546791
Deuteranopia (green-blind)
#7B7F8C
Tritanopia (blue-blind)
#D83A62
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #ca408f;
/* rgb */ color: rgb(202, 64, 143);
/* oklch */ color: oklch(59.2% 0.190 349.2);
Tailwind
colors: {
  custom: {
    50: '#de7faf',
    500: '#ca408f',
    950: '#000000',
  },
}
SCSS
$custom: #ca408f;
$custom-light: #de7faf;
$custom-dark: #000000;
JSON
{
  "hex": "#ca408f",
  "rgb": {
    "r": 202,
    "g": 64,
    "b": 143
  },
  "hsl": {
    "h": 325.652,
    "s": 56.557,
    "l": 52.157
  },
  "oklch": {
    "l": 0.59187,
    "c": 0.19,
    "h": 349.2
  },
  "luminance": 0.18207
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CA408F

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

Preview Lab → · Contrast checker → · Palette generator →

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