#D72E7C#D72E7C

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

Color values

HEX#D72E7C
RGBrgb(215, 46, 124)
HSLhsl(332, 68%, 51%)
HSVhsv(332, 79%, 84%)
CMYKcmyk(0%, 78.6%, 42.3%, 15.7%)
CIE-LABlab(49.33, 68.57, -2.54)
CIE-LCHlch(49.33, 68.61, 357.88°)
OKLaboklab(59.09% 0.2109 -0.0058)
OKLCHoklch(59.09% 0.211 358.4)
XYZxyz(32.6419, 17.8606, 20.7934)
Luminance0.1786 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D72E7C #2ED789
analogous
#D72ED0 #D72E7C #D7342E
triadic
#D72E7C #7CD72E #2E7CD7
tetradic
#D72E7C #D0D72E #2ED789 #342ED7
square
#D72E7C #D0D72E #2ED789 #342ED7
split-complementary
#D72E7C #2ED734 #2ED0D7
monochromatic
#741642 #A8205F #D72E7C #E1619C #EB95BC

Accessibility & contrast

On white

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

On black

4.57
#D72E7C on #000000
AA ✓AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##D72E7C#FFFFFF#000000##FFFFFF
##D72E7C1.004.594.574.59
#FFFFFF4.591.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#55617E
Deuteranopia (green-blind)
#838178
Tritanopia (blue-blind)
#E90652
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #d72e7c;
/* rgb */ color: rgb(215, 46, 124);
/* oklch */ color: oklch(59.1% 0.211 358.4);
Tailwind
colors: {
  custom: {
    50: '#e978a1',
    500: '#d72e7c',
    950: '#000000',
  },
}
SCSS
$custom: #d72e7c;
$custom-light: #e978a1;
$custom-dark: #000000;
JSON
{
  "hex": "#d72e7c",
  "rgb": {
    "r": 215,
    "g": 46,
    "b": 124
  },
  "hsl": {
    "h": 332.308,
    "s": 67.871,
    "l": 51.176
  },
  "oklch": {
    "l": 0.59091,
    "c": 0.21097,
    "h": 358.4
  },
  "luminance": 0.17856
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D72E7C

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

Preview Lab → · Contrast checker → · Palette generator →

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