#D42E98#D42E98

#D42E98 is a mid, highly saturated pink. Relative luminance 0.182; OKLCH L 59.6% C 0.221 H 347.0°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#D42E98
RGBrgb(212, 46, 152)
HSLhsl(322, 66%, 51%)
HSVhsv(322, 78%, 83%)
CMYKcmyk(0%, 78.3%, 28.3%, 16.9%)
CIE-LABlab(49.76, 70.76, -18.80)
CIE-LCHlch(49.76, 73.22, 345.12°)
OKLaboklab(59.63% 0.2157 -0.0497)
OKLCHoklch(59.63% 0.221 347)
XYZxyz(33.7976, 18.2219, 31.4370)
Luminance0.1822 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D42E98 #2ED46A
analogous
#BD2ED4 #D42E98 #D42E45
triadic
#D42E98 #98D42E #2E98D4
tetradic
#D42E98 #D4BD2E #2ED46A #2E45D4
square
#D42E98 #D4BD2E #2ED46A #2E45D4
split-complementary
#D42E98 #45D42E #2ED4BD
monochromatic
#701750 #A32274 #D42E98 #DE61B1 #E994CA

Accessibility & contrast

On white

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

On black

4.64
#D42E98 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D42E98
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D42E98#FFFFFF#000000##000000
##D42E981.004.524.644.64
#FFFFFF4.521.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#48649B
Deuteranopia (green-blind)
#7A8094
Tritanopia (blue-blind)
#E32760
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #d42e98;
/* rgb */ color: rgb(212, 46, 152);
/* oklch */ color: oklch(59.6% 0.221 347.0);
Tailwind
colors: {
  custom: {
    50: '#e679b6',
    500: '#d42e98',
    950: '#000000',
  },
}
SCSS
$custom: #d42e98;
$custom-light: #e679b6;
$custom-dark: #000000;
JSON
{
  "hex": "#d42e98",
  "rgb": {
    "r": 212,
    "g": 46,
    "b": 152
  },
  "hsl": {
    "h": 321.687,
    "s": 65.873,
    "l": 50.588
  },
  "oklch": {
    "l": 0.59632,
    "c": 0.22131,
    "h": 347
  },
  "luminance": 0.18218
}

Semantic roles & 50–950 ramp

primary
#D42E98
secondary
#8AD4A5
accent
#E97C3F
background
#FEF7FB
surface
#FDEEF6
border
#D5C9D0
text
#170A11
muted
#857C80

Preview Lab

Preview with #D42E98

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

Preview Lab → · Contrast checker → · Palette generator →

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