#D02D72#D02D72

#D02D72 is a mid, highly saturated pink. Relative luminance 0.165; OKLCH L 57.5% C 0.203 H 0.9°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#D02D72
RGBrgb(208, 45, 114)
HSLhsl(335, 64%, 50%)
HSVhsv(335, 78%, 82%)
CMYKcmyk(0%, 78.4%, 45.2%, 18.4%)
CIE-LABlab(47.63, 66.13, 0.92)
CIE-LCHlch(47.63, 66.13, 0.80°)
OKLaboklab(57.52% 0.2031 0.0031)
OKLCHoklch(57.52% 0.203 0.9)
XYZxyz(29.9905, 16.5056, 17.5230)
Luminance0.1650 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D02D72 #2DD08B
analogous
#D02DC4 #D02D72 #D0392D
triadic
#D02D72 #72D02D #2D72D0
tetradic
#D02D72 #C4D02D #2DD08B #392DD0
square
#D02D72 #C4D02D #2DD08B #392DD0
split-complementary
#D02D72 #2DD039 #2DC4D0
monochromatic
#6B173B #9E2256 #D02D72 #DC5E93 #E790B5

Accessibility & contrast

On white

4.88
#D02D72 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#D02D72 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #D02D72
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D02D72#FFFFFF#000000##FFFFFF
##D02D721.004.884.304.88
#FFFFFF4.881.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#545D74
Deuteranopia (green-blind)
#807C6E
Tritanopia (blue-blind)
#E2004C
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #d02d72;
/* rgb */ color: rgb(208, 45, 114);
/* oklch */ color: oklch(57.5% 0.203 0.9);
Tailwind
colors: {
  custom: {
    50: '#e4779a',
    500: '#d02d72',
    950: '#000000',
  },
}
SCSS
$custom: #d02d72;
$custom-light: #e4779a;
$custom-dark: #000000;
JSON
{
  "hex": "#d02d72",
  "rgb": {
    "r": 208,
    "g": 45,
    "b": 114
  },
  "hsl": {
    "h": 334.601,
    "s": 64.427,
    "l": 49.608
  },
  "oklch": {
    "l": 0.57516,
    "c": 0.20315,
    "h": 0.9
  },
  "luminance": 0.16502
}

Semantic roles & 50–950 ramp

primary
#D02D72
secondary
#87D2B2
accent
#E7A140
background
#FEF7F9
surface
#FDEEF2
border
#D5C9CC
text
#170A0E
muted
#857C7E

Preview Lab

Preview with #D02D72

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

Preview Lab → · Contrast checker → · Palette generator →

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