#D02E7B#D02E7B

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

Color values

HEX#D02E7B
RGBrgb(208, 46, 123)
HSLhsl(331, 64%, 50%)
HSVhsv(331, 78%, 82%)
CMYKcmyk(0%, 77.9%, 40.9%, 18.4%)
CIE-LABlab(48.00, 66.68, -4.03)
CIE-LCHlch(48.00, 66.80, 356.54°)
OKLaboklab(57.88% 0.2051 -0.0097)
OKLCHoklch(57.88% 0.205 357.3)
XYZxyz(30.5668, 16.7979, 20.3678)
Luminance0.1679 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D02E7B #2ED083
analogous
#D02ECC #D02E7B #D0322E
triadic
#D02E7B #7BD02E #2E7BD0
tetradic
#D02E7B #CCD02E #2ED083 #322ED0
square
#D02E7B #CCD02E #2ED083 #322ED0
split-complementary
#D02E7B #2ED032 #2ECCD0
monochromatic
#6C1840 #9E235D #D02E7B #DC5F9B #E792BA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D02E7B#FFFFFF#000000##FFFFFF
##D02E7B1.004.824.364.82
#FFFFFF4.821.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#525F7D
Deuteranopia (green-blind)
#7E7D77
Tritanopia (blue-blind)
#E11051
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #d02e7b;
/* rgb */ color: rgb(208, 46, 123);
/* oklch */ color: oklch(57.9% 0.205 357.3);
Tailwind
colors: {
  custom: {
    50: '#e477a1',
    500: '#d02e7b',
    950: '#000000',
  },
}
SCSS
$custom: #d02e7b;
$custom-light: #e477a1;
$custom-dark: #000000;
JSON
{
  "hex": "#d02e7b",
  "rgb": {
    "r": 208,
    "g": 46,
    "b": 123
  },
  "hsl": {
    "h": 331.481,
    "s": 63.78,
    "l": 49.804
  },
  "oklch": {
    "l": 0.5788,
    "c": 0.2053,
    "h": 357.3
  },
  "luminance": 0.16794
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D02E7B

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

Preview Lab → · Contrast checker → · Palette generator →

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