#D02E6A#D02E6A

#D02E6A is a mid, highly saturated pink. Relative luminance 0.164; OKLCH L 57.4% C 0.200 H 4.3°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#D02E6A
RGBrgb(208, 46, 106)
HSLhsl(338, 64%, 50%)
HSVhsv(338, 78%, 82%)
CMYKcmyk(0%, 77.9%, 49%, 18.4%)
CIE-LABlab(47.51, 65.15, 5.65)
CIE-LCHlch(47.51, 65.40, 4.95°)
OKLaboklab(57.35% 0.1995 0.015)
OKLCHoklch(57.35% 0.2 4.3)
XYZxyz(29.5935, 16.4086, 15.2417)
Luminance0.1640 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D02E6A #2ED094
analogous
#D02EBB #D02E6A #D0432E
triadic
#D02E6A #6AD02E #2E6AD0
tetradic
#D02E6A #BBD02E #2ED094 #432ED0
square
#D02E6A #BBD02E #2ED094 #432ED0
split-complementary
#D02E6A #2ED043 #2EBBD0
monochromatic
#6C1837 #9E2350 #D02E6A #DC5F8D #E792B1

Accessibility & contrast

On white

4.91
#D02E6A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#D02E6A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #D02E6A
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D02E6A#FFFFFF#000000##FFFFFF
##D02E6A1.004.914.284.91
#FFFFFF4.911.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#575C6B
Deuteranopia (green-blind)
#827C66
Tritanopia (blue-blind)
#E20048
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #d02e6a;
/* rgb */ color: rgb(208, 46, 106);
/* oklch */ color: oklch(57.4% 0.200 4.3);
Tailwind
colors: {
  custom: {
    50: '#e57794',
    500: '#d02e6a',
    950: '#000000',
  },
}
SCSS
$custom: #d02e6a;
$custom-light: #e57794;
$custom-dark: #000000;
JSON
{
  "hex": "#d02e6a",
  "rgb": {
    "r": 208,
    "g": 46,
    "b": 106
  },
  "hsl": {
    "h": 337.778,
    "s": 63.78,
    "l": 49.804
  },
  "oklch": {
    "l": 0.57352,
    "c": 0.20006,
    "h": 4.3
  },
  "luminance": 0.16404
}

Semantic roles & 50–950 ramp

primary
#D02E6A
secondary
#88D2B6
accent
#E7A941
background
#FEF7F9
surface
#FDEEF1
border
#D5C9CB
text
#170A0D
muted
#857C7E

Preview Lab

Preview with #D02E6A

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

Preview Lab → · Contrast checker → · Palette generator →

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