#D02E7A#D02E7A

#D02E7A is a mid, highly saturated pink. Relative luminance 0.168; OKLCH L 57.8% C 0.205 H 357.7°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#D02E7A
RGBrgb(208, 46, 122)
HSLhsl(332, 64%, 50%)
HSVhsv(332, 78%, 82%)
CMYKcmyk(0%, 77.9%, 41.3%, 18.4%)
CIE-LABlab(47.97, 66.59, -3.47)
CIE-LCHlch(47.97, 66.68, 357.02°)
OKLaboklab(57.85% 0.2048 -0.0083)
OKLCHoklch(57.85% 0.205 357.7)
XYZxyz(30.5045, 16.7730, 20.0398)
Luminance0.1677 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D02E7A #2ED084
analogous
#D02ECB #D02E7A #D0332E
triadic
#D02E7A #7AD02E #2E7AD0
tetradic
#D02E7A #CBD02E #2ED084 #332ED0
square
#D02E7A #CBD02E #2ED084 #332ED0
split-complementary
#D02E7A #2ED033 #2ECBD0
monochromatic
#6C183F #9E235D #D02E7A #DC5F9A #E792BA

Accessibility & contrast

On white

4.82
#D02E7A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#D02E7A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #D02E7A
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D02E7A#FFFFFF#000000##FFFFFF
##D02E7A1.004.824.354.82
#FFFFFF4.821.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#525E7C
Deuteranopia (green-blind)
#7F7D76
Tritanopia (blue-blind)
#E10F50
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #d02e7a;
/* rgb */ color: rgb(208, 46, 122);
/* oklch */ color: oklch(57.8% 0.205 357.7);
Tailwind
colors: {
  custom: {
    50: '#e477a0',
    500: '#d02e7a',
    950: '#000000',
  },
}
SCSS
$custom: #d02e7a;
$custom-light: #e477a0;
$custom-dark: #000000;
JSON
{
  "hex": "#d02e7a",
  "rgb": {
    "r": 208,
    "g": 46,
    "b": 122
  },
  "hsl": {
    "h": 331.852,
    "s": 63.78,
    "l": 49.804
  },
  "oklch": {
    "l": 0.57846,
    "c": 0.20494,
    "h": 357.7
  },
  "luminance": 0.16769
}

Semantic roles & 50–950 ramp

primary
#D02E7A
secondary
#88D2AF
accent
#E79941
background
#FEF7F9
surface
#FDEEF2
border
#D5C9CC
text
#170A0E
muted
#857C7E

Preview Lab

Preview with #D02E7A

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

Preview Lab → · Contrast checker → · Palette generator →

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