#D42E72#D42E72

#D42E72 is a mid, highly saturated pink. Relative luminance 0.172; OKLCH L 58.3% C 0.205 H 1.8°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#D42E72
RGBrgb(212, 46, 114)
HSLhsl(335, 66%, 51%)
HSVhsv(335, 78%, 83%)
CMYKcmyk(0%, 78.3%, 46.2%, 16.9%)
CIE-LABlab(48.47, 66.89, 2.24)
CIE-LCHlch(48.47, 66.93, 1.92°)
OKLaboklab(58.27% 0.2053 0.0065)
OKLCHoklch(58.27% 0.205 1.8)
XYZxyz(31.1682, 17.1702, 17.5892)
Luminance0.1717 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D42E72 #2ED490
analogous
#D42EC5 #D42E72 #D43D2E
triadic
#D42E72 #72D42E #2E72D4
tetradic
#D42E72 #C5D42E #2ED490 #3D2ED4
square
#D42E72 #C5D42E #2ED490 #3D2ED4
split-complementary
#D42E72 #2ED43D #2EC5D4
monochromatic
#70173C #A32257 #D42E72 #DE6194 #E994B6

Accessibility & contrast

On white

4.74
#D42E72 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#D42E72 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #D42E72
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D42E72#FFFFFF#000000##FFFFFF
##D42E721.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#575F74
Deuteranopia (green-blind)
#837F6E
Tritanopia (blue-blind)
#E6004C
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #d42e72;
/* rgb */ color: rgb(212, 46, 114);
/* oklch */ color: oklch(58.3% 0.205 1.8);
Tailwind
colors: {
  custom: {
    50: '#e7789a',
    500: '#d42e72',
    950: '#000000',
  },
}
SCSS
$custom: #d42e72;
$custom-light: #e7789a;
$custom-dark: #000000;
JSON
{
  "hex": "#d42e72",
  "rgb": {
    "r": 212,
    "g": 46,
    "b": 114
  },
  "hsl": {
    "h": 335.422,
    "s": 65.873,
    "l": 50.588
  },
  "oklch": {
    "l": 0.58269,
    "c": 0.20544,
    "h": 1.8
  },
  "luminance": 0.17166
}

Semantic roles & 50–950 ramp

primary
#D42E72
secondary
#8AD4B6
accent
#E9A33F
background
#FFF7F9
surface
#FEEEF2
border
#D6C9CC
text
#170A0E
muted
#857C7E

Preview Lab

Preview with #D42E72

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

Preview Lab → · Contrast checker → · Palette generator →

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