#CA406B#CA406B

#CA406B is a mid, vivid pink. Relative luminance 0.173; OKLCH L 58.0% C 0.176 H 5.6°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#CA406B
RGBrgb(202, 64, 107)
HSLhsl(341, 57%, 52%)
HSVhsv(341, 68%, 79%)
CMYKcmyk(0%, 68.3%, 47%, 20.8%)
CIE-LABlab(48.62, 57.47, 6.48)
CIE-LCHlch(48.62, 57.84, 6.44°)
OKLaboklab(57.99% 0.1754 0.0172)
OKLCHoklch(57.99% 0.176 5.6)
XYZxyz(28.8466, 17.2886, 15.7250)
Luminance0.1729 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA406B #40CA9F
analogous
#CA40B0 #CA406B #CA5A40
triadic
#CA406B #6BCA40 #406BCA
tetradic
#CA406B #B0CA40 #40CA9F #5A40CA
square
#CA406B #B0CA40 #40CA9F #5A40CA
split-complementary
#CA406B #40CA5A #40B0CA
monochromatic
#701F38 #A02C51 #CA406B #D77090 #E5A0B5

Accessibility & contrast

On white

4.71
#CA406B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#CA406B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CA406B
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA406B#FFFFFF#000000##FFFFFF
##CA406B1.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F626C
Deuteranopia (green-blind)
#837E68
Tritanopia (blue-blind)
#DB2A51
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #ca406b;
/* rgb */ color: rgb(202, 64, 107);
/* oklch */ color: oklch(58.0% 0.176 5.6);
Tailwind
colors: {
  custom: {
    50: '#e07e95',
    500: '#ca406b',
    950: '#000000',
  },
}
SCSS
$custom: #ca406b;
$custom-light: #e07e95;
$custom-dark: #000000;
JSON
{
  "hex": "#ca406b",
  "rgb": {
    "r": 202,
    "g": 64,
    "b": 107
  },
  "hsl": {
    "h": 341.304,
    "s": 56.557,
    "l": 52.157
  },
  "oklch": {
    "l": 0.57985,
    "c": 0.17622,
    "h": 5.6
  },
  "luminance": 0.17285
}

Semantic roles & 50–950 ramp

primary
#CA406B
secondary
#95D1BE
accent
#E0B148
background
#FEF8F9
surface
#FDEFF1
border
#D5CACB
text
#160B0D
muted
#847C7E

Preview Lab

Preview with #CA406B

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

Preview Lab → · Contrast checker → · Palette generator →

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