#CA406E#CA406E

#CA406E is a mid, vivid pink. Relative luminance 0.173; OKLCH L 58.1% C 0.177 H 4.2°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#CA406E
RGBrgb(202, 64, 110)
HSLhsl(340, 57%, 52%)
HSVhsv(340, 68%, 79%)
CMYKcmyk(0%, 68.3%, 45.5%, 20.8%)
CIE-LABlab(48.70, 57.75, 4.77)
CIE-LCHlch(48.70, 57.95, 4.73°)
OKLaboklab(58.07% 0.1765 0.0129)
OKLCHoklch(58.07% 0.177 4.2)
XYZxyz(29.0072, 17.3528, 16.5707)
Luminance0.1735 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA406E #40CA9C
analogous
#CA40B3 #CA406E #CA5740
triadic
#CA406E #6ECA40 #406ECA
tetradic
#CA406E #B3CA40 #40CA9C #5740CA
square
#CA406E #B3CA40 #40CA9C #5740CA
split-complementary
#CA406E #40CA57 #40B3CA
monochromatic
#701F3A #A02C53 #CA406E #D77092 #E5A0B7

Accessibility & contrast

On white

4.70
#CA406E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#CA406E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CA406E
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA406E#FFFFFF#000000##FFFFFF
##CA406E1.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E626F
Deuteranopia (green-blind)
#837E6B
Tritanopia (blue-blind)
#DB2B53
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #ca406e;
/* rgb */ color: rgb(202, 64, 110);
/* oklch */ color: oklch(58.1% 0.177 4.2);
Tailwind
colors: {
  custom: {
    50: '#df7e97',
    500: '#ca406e',
    950: '#000000',
  },
}
SCSS
$custom: #ca406e;
$custom-light: #df7e97;
$custom-dark: #000000;
JSON
{
  "hex": "#ca406e",
  "rgb": {
    "r": 202,
    "g": 64,
    "b": 110
  },
  "hsl": {
    "h": 340,
    "s": 56.557,
    "l": 52.157
  },
  "oklch": {
    "l": 0.5807,
    "c": 0.17693,
    "h": 4.2
  },
  "luminance": 0.17349
}

Semantic roles & 50–950 ramp

primary
#CA406E
secondary
#95D1BD
accent
#E0AD48
background
#FEF8F9
surface
#FDEFF2
border
#D5CACC
text
#160B0D
muted
#847C7E

Preview Lab

Preview with #CA406E

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

Preview Lab → · Contrast checker → · Palette generator →

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