#D42E99#D42E99

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

Color values

HEX#D42E99
RGBrgb(212, 46, 153)
HSLhsl(321, 66%, 51%)
HSVhsv(321, 78%, 83%)
CMYKcmyk(0%, 78.3%, 27.8%, 16.9%)
CIE-LABlab(49.80, 70.88, -19.34)
CIE-LCHlch(49.80, 73.47, 344.74°)
OKLaboklab(59.67% 0.2159 -0.0512)
OKLCHoklch(59.67% 0.222 346.7)
XYZxyz(33.8798, 18.2548, 31.8702)
Luminance0.1825 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D42E99 #2ED469
analogous
#BC2ED4 #D42E99 #D42E46
triadic
#D42E99 #99D42E #2E99D4
tetradic
#D42E99 #D4BC2E #2ED469 #2E46D4
square
#D42E99 #D4BC2E #2ED469 #2E46D4
split-complementary
#D42E99 #46D42E #2ED4BC
monochromatic
#701751 #A32275 #D42E99 #DE61B2 #E994CB

Accessibility & contrast

On white

4.52
#D42E99 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#D42E99 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D42E99
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D42E99#FFFFFF#000000##000000
##D42E991.004.524.654.65
#FFFFFF4.521.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#47649C
Deuteranopia (green-blind)
#798195
Tritanopia (blue-blind)
#E32861
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #d42e99;
/* rgb */ color: rgb(212, 46, 153);
/* oklch */ color: oklch(59.7% 0.222 346.7);
Tailwind
colors: {
  custom: {
    50: '#e679b7',
    500: '#d42e99',
    950: '#000000',
  },
}
SCSS
$custom: #d42e99;
$custom-light: #e679b7;
$custom-dark: #000000;
JSON
{
  "hex": "#d42e99",
  "rgb": {
    "r": 212,
    "g": 46,
    "b": 153
  },
  "hsl": {
    "h": 321.325,
    "s": 65.873,
    "l": 50.588
  },
  "oklch": {
    "l": 0.59674,
    "c": 0.22184,
    "h": 346.7
  },
  "luminance": 0.18251
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D42E99

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

Preview Lab → · Contrast checker → · Palette generator →

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