#D42E78#D42E78

#D42E78 is a mid, highly saturated pink. Relative luminance 0.173; OKLCH L 58.5% C 0.207 H 359.4°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#D42E78
RGBrgb(212, 46, 120)
HSLhsl(333, 66%, 51%)
HSVhsv(333, 78%, 83%)
CMYKcmyk(0%, 78.3%, 43.4%, 16.9%)
CIE-LABlab(48.65, 67.43, -1.17)
CIE-LCHlch(48.65, 67.44, 359.01°)
OKLaboklab(58.46% 0.2073 -0.0023)
OKLCHoklch(58.46% 0.207 359.4)
XYZxyz(31.5210, 17.3113, 19.4472)
Luminance0.1731 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D42E78 #2ED48A
analogous
#D42ECB #D42E78 #D4372E
triadic
#D42E78 #78D42E #2E78D4
tetradic
#D42E78 #CBD42E #2ED48A #372ED4
square
#D42E78 #CBD42E #2ED48A #372ED4
split-complementary
#D42E78 #2ED437 #2ECBD4
monochromatic
#70173F #A3225B #D42E78 #DE6199 #E994BA

Accessibility & contrast

On white

4.71
#D42E78 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#D42E78 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #D42E78
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D42E78#FFFFFF#000000##FFFFFF
##D42E781.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#555F7A
Deuteranopia (green-blind)
#827F74
Tritanopia (blue-blind)
#E6054F
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #d42e78;
/* rgb */ color: rgb(212, 46, 120);
/* oklch */ color: oklch(58.5% 0.207 359.4);
Tailwind
colors: {
  custom: {
    50: '#e7789e',
    500: '#d42e78',
    950: '#000000',
  },
}
SCSS
$custom: #d42e78;
$custom-light: #e7789e;
$custom-dark: #000000;
JSON
{
  "hex": "#d42e78",
  "rgb": {
    "r": 212,
    "g": 46,
    "b": 120
  },
  "hsl": {
    "h": 333.253,
    "s": 65.873,
    "l": 50.588
  },
  "oklch": {
    "l": 0.58456,
    "c": 0.20731,
    "h": 359.4
  },
  "luminance": 0.17307
}

Semantic roles & 50–950 ramp

primary
#D42E78
secondary
#8AD4B3
accent
#E99D3F
background
#FFF7F9
surface
#FEEEF2
border
#D6C9CC
text
#170A0E
muted
#857C7E

Preview Lab

Preview with #D42E78

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

Preview Lab → · Contrast checker → · Palette generator →

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