#D02E7D#D02E7D

#D02E7D is a mid, highly saturated pink. Relative luminance 0.168; OKLCH L 57.9% C 0.206 H 356.5°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#D02E7D
RGBrgb(208, 46, 125)
HSLhsl(331, 64%, 50%)
HSVhsv(331, 78%, 82%)
CMYKcmyk(0%, 77.9%, 39.9%, 18.4%)
CIE-LABlab(48.07, 66.88, -5.15)
CIE-LCHlch(48.07, 67.08, 355.59°)
OKLaboklab(57.95% 0.2057 -0.0127)
OKLCHoklch(57.95% 0.206 356.5)
XYZxyz(30.6933, 16.8485, 21.0339)
Luminance0.1684 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D02E7D #2ED081
analogous
#D02ECE #D02E7D #D0302E
triadic
#D02E7D #7DD02E #2E7DD0
tetradic
#D02E7D #CED02E #2ED081 #302ED0
square
#D02E7D #CED02E #2ED081 #302ED0
split-complementary
#D02E7D #2ED030 #2ECED0
monochromatic
#6C1841 #9E235F #D02E7D #DC5F9C #E792BB

Accessibility & contrast

On white

4.81
#D02E7D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#D02E7D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #D02E7D
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D02E7D#FFFFFF#000000##FFFFFF
##D02E7D1.004.814.374.81
#FFFFFF4.811.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#515F7F
Deuteranopia (green-blind)
#7E7D79
Tritanopia (blue-blind)
#E11252
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #d02e7d;
/* rgb */ color: rgb(208, 46, 125);
/* oklch */ color: oklch(57.9% 0.206 356.5);
Tailwind
colors: {
  custom: {
    50: '#e477a2',
    500: '#d02e7d',
    950: '#000000',
  },
}
SCSS
$custom: #d02e7d;
$custom-light: #e477a2;
$custom-dark: #000000;
JSON
{
  "hex": "#d02e7d",
  "rgb": {
    "r": 208,
    "g": 46,
    "b": 125
  },
  "hsl": {
    "h": 330.741,
    "s": 63.78,
    "l": 49.804
  },
  "oklch": {
    "l": 0.57948,
    "c": 0.20606,
    "h": 356.5
  },
  "luminance": 0.16845
}

Semantic roles & 50–950 ramp

primary
#D02E7D
secondary
#88D2AE
accent
#E79641
background
#FEF7F9
surface
#FDEEF2
border
#D5C9CC
text
#170A0F
muted
#857C7E

Preview Lab

Preview with #D02E7D

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

Preview Lab → · Contrast checker → · Palette generator →

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