#D42E9A#D42E9A

#D42E9A is a mid, highly saturated pink. Relative luminance 0.183; OKLCH L 59.7% C 0.222 H 346.3°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#D42E9A
RGBrgb(212, 46, 154)
HSLhsl(321, 66%, 51%)
HSVhsv(321, 78%, 83%)
CMYKcmyk(0%, 78.3%, 27.4%, 16.9%)
CIE-LABlab(49.84, 71.00, -19.87)
CIE-LCHlch(49.84, 73.73, 344.36°)
OKLaboklab(59.72% 0.2161 -0.0527)
OKLCHoklch(59.72% 0.222 346.3)
XYZxyz(33.9627, 18.2880, 32.3070)
Luminance0.1828 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D42E9A #2ED468
analogous
#BB2ED4 #D42E9A #D42E47
triadic
#D42E9A #9AD42E #2E9AD4
tetradic
#D42E9A #D4BB2E #2ED468 #2E47D4
square
#D42E9A #D4BB2E #2ED468 #2E47D4
split-complementary
#D42E9A #47D42E #2ED4BB
monochromatic
#701751 #A32276 #D42E9A #DE61B3 #E994CB

Accessibility & contrast

On white

4.51
#D42E9A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#D42E9A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D42E9A
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D42E9A#FFFFFF#000000##000000
##D42E9A1.004.514.664.66
#FFFFFF4.511.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#47659D
Deuteranopia (green-blind)
#798196
Tritanopia (blue-blind)
#E32861
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #d42e9a;
/* rgb */ color: rgb(212, 46, 154);
/* oklch */ color: oklch(59.7% 0.222 346.3);
Tailwind
colors: {
  custom: {
    50: '#e679b8',
    500: '#d42e9a',
    950: '#000000',
  },
}
SCSS
$custom: #d42e9a;
$custom-light: #e679b8;
$custom-dark: #000000;
JSON
{
  "hex": "#d42e9a",
  "rgb": {
    "r": 212,
    "g": 46,
    "b": 154
  },
  "hsl": {
    "h": 320.964,
    "s": 65.873,
    "l": 50.588
  },
  "oklch": {
    "l": 0.59716,
    "c": 0.22238,
    "h": 346.3
  },
  "luminance": 0.18284
}

Semantic roles & 50–950 ramp

primary
#D42E9A
secondary
#8AD4A4
accent
#E97A3F
background
#FEF7FB
surface
#FDEEF6
border
#D5C9D0
text
#170A11
muted
#857C80

Preview Lab

Preview with #D42E9A

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

Preview Lab → · Contrast checker → · Palette generator →

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