#D72E7D#D72E7D

#D72E7D is a mid, highly saturated pink. Relative luminance 0.179; OKLCH L 59.1% C 0.211 H 358.0°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#D72E7D
RGBrgb(215, 46, 125)
HSLhsl(332, 68%, 51%)
HSVhsv(332, 79%, 84%)
CMYKcmyk(0%, 78.6%, 41.9%, 15.7%)
CIE-LABlab(49.36, 68.66, -3.10)
CIE-LCHlch(49.36, 68.73, 357.41°)
OKLaboklab(59.12% 0.2112 -0.0073)
OKLCHoklch(59.12% 0.211 358)
XYZxyz(32.7055, 17.8860, 21.1282)
Luminance0.1788 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D72E7D #2ED788
analogous
#D72ED1 #D72E7D #D7332E
triadic
#D72E7D #7DD72E #2E7DD7
tetradic
#D72E7D #D1D72E #2ED788 #332ED7
square
#D72E7D #D1D72E #2ED788 #332ED7
split-complementary
#D72E7D #2ED733 #2ED1D7
monochromatic
#741642 #A8205F #D72E7D #E1619D #EB95BD

Accessibility & contrast

On white

4.59
#D72E7D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#D72E7D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #D72E7D
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D72E7D#FFFFFF#000000##FFFFFF
##D72E7D1.004.594.584.59
#FFFFFF4.591.0021.001.00
#0000004.5821.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#55617F
Deuteranopia (green-blind)
#838179
Tritanopia (blue-blind)
#E90852
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #d72e7d;
/* rgb */ color: rgb(215, 46, 125);
/* oklch */ color: oklch(59.1% 0.211 358.0);
Tailwind
colors: {
  custom: {
    50: '#e978a2',
    500: '#d72e7d',
    950: '#000000',
  },
}
SCSS
$custom: #d72e7d;
$custom-light: #e978a2;
$custom-dark: #000000;
JSON
{
  "hex": "#d72e7d",
  "rgb": {
    "r": 215,
    "g": 46,
    "b": 125
  },
  "hsl": {
    "h": 331.953,
    "s": 67.871,
    "l": 51.176
  },
  "oklch": {
    "l": 0.59124,
    "c": 0.21133,
    "h": 358
  },
  "luminance": 0.17882
}

Semantic roles & 50–950 ramp

primary
#D72E7D
secondary
#8BD6B3
accent
#EB9A3D
background
#FFF7F9
surface
#FEEEF2
border
#D6C9CC
text
#170A0F
muted
#857C7E

Preview Lab

Preview with #D72E7D

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

Preview Lab → · Contrast checker → · Palette generator →

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