#D02E7F#D02E7F

#D02E7F is a mid, highly saturated pink. Relative luminance 0.169; OKLCH L 58.0% C 0.207 H 355.7°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#D02E7F
RGBrgb(208, 46, 127)
HSLhsl(330, 64%, 50%)
HSVhsv(330, 78%, 82%)
CMYKcmyk(0%, 77.9%, 38.9%, 18.4%)
CIE-LABlab(48.13, 67.08, -6.27)
CIE-LCHlch(48.13, 67.37, 354.66°)
OKLaboklab(58.02% 0.2063 -0.0157)
OKLCHoklch(58.02% 0.207 355.7)
XYZxyz(30.8224, 16.9001, 21.7135)
Luminance0.1690 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D02E7F #2ED07F
analogous
#D02ED0 #D02E7F #D02E2E
triadic
#D02E7F #7FD02E #2E7FD0
tetradic
#D02E7F #D0D02E #2ED07F #2E2ED0
square
#D02E7F #D0D02E #2ED07F #2E2ED0
split-complementary
#D02E7F #2ED02E #2ED0D0
monochromatic
#6C1842 #9E2360 #D02E7F #DC5F9E #E792BC

Accessibility & contrast

On white

4.80
#D02E7F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#D02E7F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #D02E7F
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D02E7F#FFFFFF#000000##FFFFFF
##D02E7F1.004.804.384.80
#FFFFFF4.801.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#515F81
Deuteranopia (green-blind)
#7D7D7B
Tritanopia (blue-blind)
#E11553
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #d02e7f;
/* rgb */ color: rgb(208, 46, 127);
/* oklch */ color: oklch(58.0% 0.207 355.7);
Tailwind
colors: {
  custom: {
    50: '#e477a4',
    500: '#d02e7f',
    950: '#000000',
  },
}
SCSS
$custom: #d02e7f;
$custom-light: #e477a4;
$custom-dark: #000000;
JSON
{
  "hex": "#d02e7f",
  "rgb": {
    "r": 208,
    "g": 46,
    "b": 127
  },
  "hsl": {
    "h": 330,
    "s": 63.78,
    "l": 49.804
  },
  "oklch": {
    "l": 0.58017,
    "c": 0.20686,
    "h": 355.7
  },
  "luminance": 0.16896
}

Semantic roles & 50–950 ramp

primary
#D02E7F
secondary
#88D2AD
accent
#E79441
background
#FEF7FA
surface
#FDEEF3
border
#D5C9CD
text
#170A0F
muted
#857C7F

Preview Lab

Preview with #D02E7F

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

Preview Lab → · Contrast checker → · Palette generator →

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