#D42AA9#D42AA9

#D42AA9 is a mid, highly saturated pink. Relative luminance 0.185; OKLCH L 60.1% C 0.234 H 341.0°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#D42AA9
RGBrgb(212, 42, 169)
HSLhsl(315, 67%, 50%)
HSVhsv(315, 80%, 83%)
CMYKcmyk(0%, 80.2%, 20.3%, 16.9%)
CIE-LABlab(50.12, 73.86, -28.34)
CIE-LCHlch(50.12, 79.11, 339.01°)
OKLaboklab(60.12% 0.2216 -0.0764)
OKLCHoklch(60.12% 0.234 341)
XYZxyz(35.1420, 18.5212, 39.2527)
Luminance0.1852 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D42AA9 #2AD455
analogous
#AA2AD4 #D42AA9 #D42A54
triadic
#D42AA9 #A9D42A #2AA9D4
tetradic
#D42AA9 #D4AA2A #2AD455 #2A54D4
square
#D42AA9 #D4AA2A #2AD455 #2A54D4
split-complementary
#D42AA9 #54D42A #2AD4AA
monochromatic
#6E1658 #A12080 #D42AA9 #DF5CBE #E98FD2

Accessibility & contrast

On white

4.46
#D42AA9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#D42AA9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D42AA9
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D42AA9#FFFFFF#000000##000000
##D42AA91.004.464.704.70
#FFFFFF4.461.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B66AC
Deuteranopia (green-blind)
#7381A5
Tritanopia (blue-blind)
#E12F68
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #d42aa9;
/* rgb */ color: rgb(212, 42, 169);
/* oklch */ color: oklch(60.1% 0.234 341.0);
Tailwind
colors: {
  custom: {
    50: '#e678c3',
    500: '#d42aa9',
    950: '#000000',
  },
}
SCSS
$custom: #d42aa9;
$custom-light: #e678c3;
$custom-dark: #000000;
JSON
{
  "hex": "#d42aa9",
  "rgb": {
    "r": 212,
    "g": 42,
    "b": 169
  },
  "hsl": {
    "h": 315.176,
    "s": 66.929,
    "l": 49.804
  },
  "oklch": {
    "l": 0.60124,
    "c": 0.23438,
    "h": 341
  },
  "luminance": 0.18518
}

Semantic roles & 50–950 ramp

primary
#D42AA9
secondary
#86D39A
accent
#EA693E
background
#FEF7FC
surface
#FDEEF8
border
#D5C9D1
text
#170A12
muted
#857C81

Preview Lab

Preview with #D42AA9

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

Preview Lab → · Contrast checker → · Palette generator →

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