#D72E7F#D72E7F

#D72E7F is a mid, highly saturated pink. Relative luminance 0.179; OKLCH L 59.2% C 0.212 H 357.2°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#D72E7F
RGBrgb(215, 46, 127)
HSLhsl(331, 68%, 51%)
HSVhsv(331, 79%, 84%)
CMYKcmyk(0%, 78.6%, 40.9%, 15.7%)
CIE-LABlab(49.42, 68.85, -4.22)
CIE-LCHlch(49.42, 68.98, 356.49°)
OKLaboklab(59.19% 0.2118 -0.0102)
OKLCHoklch(59.19% 0.212 357.2)
XYZxyz(32.8345, 17.9377, 21.8078)
Luminance0.1793 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D72E7F #2ED786
analogous
#D72ED3 #D72E7F #D7312E
triadic
#D72E7F #7FD72E #2E7FD7
tetradic
#D72E7F #D3D72E #2ED786 #312ED7
square
#D72E7F #D3D72E #2ED786 #312ED7
split-complementary
#D72E7F #2ED731 #2ED3D7
monochromatic
#741643 #A82061 #D72E7F #E1619E #EB95BE

Accessibility & contrast

On white

4.58
#D72E7F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#D72E7F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D72E7F
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D72E7F#FFFFFF#000000##000000
##D72E7F1.004.584.594.59
#FFFFFF4.581.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#546181
Deuteranopia (green-blind)
#82817B
Tritanopia (blue-blind)
#E90B53
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #d72e7f;
/* rgb */ color: rgb(215, 46, 127);
/* oklch */ color: oklch(59.2% 0.212 357.2);
Tailwind
colors: {
  custom: {
    50: '#e978a4',
    500: '#d72e7f',
    950: '#000000',
  },
}
SCSS
$custom: #d72e7f;
$custom-light: #e978a4;
$custom-dark: #000000;
JSON
{
  "hex": "#d72e7f",
  "rgb": {
    "r": 215,
    "g": 46,
    "b": 127
  },
  "hsl": {
    "h": 331.243,
    "s": 67.871,
    "l": 51.176
  },
  "oklch": {
    "l": 0.5919,
    "c": 0.21205,
    "h": 357.2
  },
  "luminance": 0.17933
}

Semantic roles & 50–950 ramp

primary
#D72E7F
secondary
#8BD6B2
accent
#EB973D
background
#FFF7FA
surface
#FEEEF3
border
#D6C9CD
text
#170A0F
muted
#857C7F

Preview Lab

Preview with #D72E7F

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

Preview Lab → · Contrast checker → · Palette generator →

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