#CA407E#CA407E

#CA407E is a mid, vivid pink. Relative luminance 0.177; OKLCH L 58.6% C 0.182 H 356.7°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#CA407E
RGBrgb(202, 64, 126)
HSLhsl(333, 57%, 52%)
HSVhsv(333, 68%, 79%)
CMYKcmyk(0%, 68.3%, 37.6%, 20.8%)
CIE-LABlab(49.17, 59.37, -4.24)
CIE-LCHlch(49.17, 59.52, 355.91°)
OKLaboklab(58.57% 0.1818 -0.0104)
OKLCHoklch(58.57% 0.182 356.7)
XYZxyz(29.9583, 17.7332, 21.5798)
Luminance0.1773 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA407E #40CA8C
analogous
#CA40C3 #CA407E #CA4740
triadic
#CA407E #7ECA40 #407ECA
tetradic
#CA407E #C3CA40 #40CA8C #4740CA
square
#CA407E #C3CA40 #40CA8C #4740CA
split-complementary
#CA407E #40CA47 #40C3CA
monochromatic
#701F44 #A02C61 #CA407E #D7709E #E5A0BF

Accessibility & contrast

On white

4.62
#CA407E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#CA407E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #CA407E
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA407E#FFFFFF#000000##FFFFFF
##CA407E1.004.624.554.62
#FFFFFF4.621.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A6480
Deuteranopia (green-blind)
#7F7E7B
Tritanopia (blue-blind)
#DA325A
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #ca407e;
/* rgb */ color: rgb(202, 64, 126);
/* oklch */ color: oklch(58.6% 0.182 356.7);
Tailwind
colors: {
  custom: {
    50: '#df7ea3',
    500: '#ca407e',
    950: '#000000',
  },
}
SCSS
$custom: #ca407e;
$custom-light: #df7ea3;
$custom-dark: #000000;
JSON
{
  "hex": "#ca407e",
  "rgb": {
    "r": 202,
    "g": 64,
    "b": 126
  },
  "hsl": {
    "h": 333.043,
    "s": 56.557,
    "l": 52.157
  },
  "oklch": {
    "l": 0.58571,
    "c": 0.18213,
    "h": 356.7
  },
  "luminance": 0.1773
}

Semantic roles & 50–950 ramp

primary
#CA407E
secondary
#95D1B6
accent
#E09C48
background
#FEF8FA
surface
#FCEFF3
border
#D5CACD
text
#160B0F
muted
#847C7F

Preview Lab

Preview with #CA407E

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

Preview Lab → · Contrast checker → · Palette generator →

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