#D02E6D#D02E6D

#D02E6D is a mid, highly saturated pink. Relative luminance 0.165; OKLCH L 57.4% C 0.201 H 3.1°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#D02E6D
RGBrgb(208, 46, 109)
HSLhsl(337, 64%, 50%)
HSVhsv(337, 78%, 82%)
CMYKcmyk(0%, 77.9%, 47.6%, 18.4%)
CIE-LABlab(47.59, 65.41, 3.92)
CIE-LCHlch(47.59, 65.52, 3.43°)
OKLaboklab(57.44% 0.2005 0.0107)
OKLCHoklch(57.44% 0.201 3.1)
XYZxyz(29.7523, 16.4721, 16.0778)
Luminance0.1647 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D02E6D #2ED091
analogous
#D02EBE #D02E6D #D0402E
triadic
#D02E6D #6DD02E #2E6DD0
tetradic
#D02E6D #BED02E #2ED091 #402ED0
square
#D02E6D #BED02E #2ED091 #402ED0
split-complementary
#D02E6D #2ED040 #2EBED0
monochromatic
#6C1838 #9E2353 #D02E6D #DC5F90 #E792B3

Accessibility & contrast

On white

4.89
#D02E6D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#D02E6D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #D02E6D
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D02E6D#FFFFFF#000000##FFFFFF
##D02E6D1.004.894.294.89
#FFFFFF4.891.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#565D6E
Deuteranopia (green-blind)
#817C69
Tritanopia (blue-blind)
#E2004A
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #d02e6d;
/* rgb */ color: rgb(208, 46, 109);
/* oklch */ color: oklch(57.4% 0.201 3.1);
Tailwind
colors: {
  custom: {
    50: '#e57796',
    500: '#d02e6d',
    950: '#000000',
  },
}
SCSS
$custom: #d02e6d;
$custom-light: #e57796;
$custom-dark: #000000;
JSON
{
  "hex": "#d02e6d",
  "rgb": {
    "r": 208,
    "g": 46,
    "b": 109
  },
  "hsl": {
    "h": 336.667,
    "s": 63.78,
    "l": 49.804
  },
  "oklch": {
    "l": 0.57438,
    "c": 0.20083,
    "h": 3.1
  },
  "luminance": 0.16468
}

Semantic roles & 50–950 ramp

primary
#D02E6D
secondary
#88D2B5
accent
#E7A641
background
#FEF7F9
surface
#FDEEF1
border
#D5C9CB
text
#170A0D
muted
#857C7E

Preview Lab

Preview with #D02E6D

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

Preview Lab → · Contrast checker → · Palette generator →

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