#D72E7B#D72E7B

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

Color values

HEX#D72E7B
RGBrgb(215, 46, 123)
HSLhsl(333, 68%, 51%)
HSVhsv(333, 79%, 84%)
CMYKcmyk(0%, 78.6%, 42.8%, 15.7%)
CIE-LABlab(49.30, 68.47, -1.98)
CIE-LCHlch(49.30, 68.50, 358.34°)
OKLaboklab(59.06% 0.2106 -0.0044)
OKLCHoklch(59.06% 0.211 358.8)
XYZxyz(32.5790, 17.8355, 20.4621)
Luminance0.1783 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D72E7B #2ED78A
analogous
#D72ECF #D72E7B #D7352E
triadic
#D72E7B #7BD72E #2E7BD7
tetradic
#D72E7B #CFD72E #2ED78A #352ED7
square
#D72E7B #CFD72E #2ED78A #352ED7
split-complementary
#D72E7B #2ED735 #2ECFD7
monochromatic
#741641 #A8205E #D72E7B #E1619B #EB95BC

Accessibility & contrast

On white

4.60
#D72E7B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #D72E7B
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D72E7B#FFFFFF#000000##FFFFFF
##D72E7B1.004.604.574.60
#FFFFFF4.601.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#55617D
Deuteranopia (green-blind)
#838177
Tritanopia (blue-blind)
#E90551
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #d72e7b;
/* rgb */ color: rgb(215, 46, 123);
/* oklch */ color: oklch(59.1% 0.211 358.8);
Tailwind
colors: {
  custom: {
    50: '#e978a1',
    500: '#d72e7b',
    950: '#000000',
  },
}
SCSS
$custom: #d72e7b;
$custom-light: #e978a1;
$custom-dark: #000000;
JSON
{
  "hex": "#d72e7b",
  "rgb": {
    "r": 215,
    "g": 46,
    "b": 123
  },
  "hsl": {
    "h": 332.663,
    "s": 67.871,
    "l": 51.176
  },
  "oklch": {
    "l": 0.59059,
    "c": 0.21063,
    "h": 358.8
  },
  "luminance": 0.17831
}

Semantic roles & 50–950 ramp

primary
#D72E7B
secondary
#8BD6B4
accent
#EB9C3D
background
#FFF7F9
surface
#FEEEF2
border
#D6C9CC
text
#170A0E
muted
#857C7E

Preview Lab

Preview with #D72E7B

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

Preview Lab → · Contrast checker → · Palette generator →

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