#D02D71#D02D71

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

Color values

HEX#D02D71
RGBrgb(208, 45, 113)
HSLhsl(335, 64%, 50%)
HSVhsv(335, 78%, 82%)
CMYKcmyk(0%, 78.4%, 45.7%, 18.4%)
CIE-LABlab(47.60, 66.04, 1.49)
CIE-LCHlch(47.60, 66.05, 1.29°)
OKLaboklab(57.49% 0.2028 0.0046)
OKLCHoklch(57.49% 0.203 1.3)
XYZxyz(29.9339, 16.4830, 17.2249)
Luminance0.1648 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D02D71 #2DD08C
analogous
#D02DC3 #D02D71 #D03A2D
triadic
#D02D71 #71D02D #2D71D0
tetradic
#D02D71 #C3D02D #2DD08C #3A2DD0
square
#D02D71 #C3D02D #2DD08C #3A2DD0
split-complementary
#D02D71 #2DD03A #2DC3D0
monochromatic
#6B173A #9E2256 #D02D71 #DC5E93 #E790B5

Accessibility & contrast

On white

4.89
#D02D71 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #D02D71
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D02D71#FFFFFF#000000##FFFFFF
##D02D711.004.894.304.89
#FFFFFF4.891.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#555D73
Deuteranopia (green-blind)
#807C6D
Tritanopia (blue-blind)
#E2004B
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #d02d71;
/* rgb */ color: rgb(208, 45, 113);
/* oklch */ color: oklch(57.5% 0.203 1.3);
Tailwind
colors: {
  custom: {
    50: '#e47799',
    500: '#d02d71',
    950: '#000000',
  },
}
SCSS
$custom: #d02d71;
$custom-light: #e47799;
$custom-dark: #000000;
JSON
{
  "hex": "#d02d71",
  "rgb": {
    "r": 208,
    "g": 45,
    "b": 113
  },
  "hsl": {
    "h": 334.969,
    "s": 64.427,
    "l": 49.608
  },
  "oklch": {
    "l": 0.57486,
    "c": 0.20285,
    "h": 1.3
  },
  "luminance": 0.16479
}

Semantic roles & 50–950 ramp

primary
#D02D71
secondary
#87D2B3
accent
#E7A240
background
#FEF7F9
surface
#FDEEF2
border
#D5C9CC
text
#170A0D
muted
#857C7E

Preview Lab

Preview with #D02D71

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

Preview Lab → · Contrast checker → · Palette generator →

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