#D72E8C#D72E8C

#D72E8C is a mid, highly saturated pink. Relative luminance 0.183; OKLCH L 59.7% C 0.217 H 352.2°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#D72E8C
RGBrgb(215, 46, 140)
HSLhsl(327, 68%, 51%)
HSVhsv(327, 79%, 84%)
CMYKcmyk(0%, 78.6%, 34.9%, 15.7%)
CIE-LABlab(49.86, 70.16, -11.42)
CIE-LCHlch(49.86, 71.08, 350.75°)
OKLaboklab(59.65% 0.2154 -0.0294)
OKLCHoklch(59.65% 0.217 352.2)
XYZxyz(33.7371, 18.2987, 26.5613)
Luminance0.1830 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D72E8C #2ED779
analogous
#CD2ED7 #D72E8C #D72E37
triadic
#D72E8C #8CD72E #2E8CD7
tetradic
#D72E8C #D7CD2E #2ED779 #2E37D7
square
#D72E8C #D7CD2E #2ED779 #2E37D7
split-complementary
#D72E8C #37D72E #2ED7CD
monochromatic
#74164B #A8206C #D72E8C #E161A8 #EB95C5

Accessibility & contrast

On white

4.51
#D72E8C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#D72E8C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D72E8C
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D72E8C#FFFFFF#000000##000000
##D72E8C1.004.514.664.66
#FFFFFF4.511.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F638E
Deuteranopia (green-blind)
#7F8188
Tritanopia (blue-blind)
#E81B5A
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #d72e8c;
/* rgb */ color: rgb(215, 46, 140);
/* oklch */ color: oklch(59.7% 0.217 352.2);
Tailwind
colors: {
  custom: {
    50: '#e979ad',
    500: '#d72e8c',
    950: '#000000',
  },
}
SCSS
$custom: #d72e8c;
$custom-light: #e979ad;
$custom-dark: #000000;
JSON
{
  "hex": "#d72e8c",
  "rgb": {
    "r": 215,
    "g": 46,
    "b": 140
  },
  "hsl": {
    "h": 326.627,
    "s": 67.871,
    "l": 51.176
  },
  "oklch": {
    "l": 0.59651,
    "c": 0.2174,
    "h": 352.2
  },
  "luminance": 0.18295
}

Semantic roles & 50–950 ramp

primary
#D72E8C
secondary
#8BD6AC
accent
#EB8A3D
background
#FFF7FA
surface
#FEEEF4
border
#D6C9CE
text
#170A10
muted
#857C7F

Preview Lab

Preview with #D72E8C

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

Preview Lab → · Contrast checker → · Palette generator →

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