#D02E7C#D02E7C

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

Color values

HEX#D02E7C
RGBrgb(208, 46, 124)
HSLhsl(331, 64%, 50%)
HSVhsv(331, 78%, 82%)
CMYKcmyk(0%, 77.9%, 40.4%, 18.4%)
CIE-LABlab(48.04, 66.78, -4.59)
CIE-LCHlch(48.04, 66.94, 356.07°)
OKLaboklab(57.91% 0.2054 -0.0112)
OKLCHoklch(57.91% 0.206 356.9)
XYZxyz(30.6297, 16.8231, 20.6991)
Luminance0.1682 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D02E7C #2ED082
analogous
#D02ECD #D02E7C #D0312E
triadic
#D02E7C #7CD02E #2E7CD0
tetradic
#D02E7C #CDD02E #2ED082 #312ED0
square
#D02E7C #CDD02E #2ED082 #312ED0
split-complementary
#D02E7C #2ED031 #2ECDD0
monochromatic
#6C1840 #9E235E #D02E7C #DC5F9B #E792BB

Accessibility & contrast

On white

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

On black

4.36
#D02E7C on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##D02E7C#FFFFFF#000000##FFFFFF
##D02E7C1.004.814.364.81
#FFFFFF4.811.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#525F7E
Deuteranopia (green-blind)
#7E7D78
Tritanopia (blue-blind)
#E11151
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #d02e7c;
/* rgb */ color: rgb(208, 46, 124);
/* oklch */ color: oklch(57.9% 0.206 356.9);
Tailwind
colors: {
  custom: {
    50: '#e477a1',
    500: '#d02e7c',
    950: '#000000',
  },
}
SCSS
$custom: #d02e7c;
$custom-light: #e477a1;
$custom-dark: #000000;
JSON
{
  "hex": "#d02e7c",
  "rgb": {
    "r": 208,
    "g": 46,
    "b": 124
  },
  "hsl": {
    "h": 331.111,
    "s": 63.78,
    "l": 49.804
  },
  "oklch": {
    "l": 0.57914,
    "c": 0.20569,
    "h": 356.9
  },
  "luminance": 0.16819
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D02E7C

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

Preview Lab → · Contrast checker → · Palette generator →

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