#D02E6B#D02E6B

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

Color values

HEX#D02E6B
RGBrgb(208, 46, 107)
HSLhsl(337, 64%, 50%)
HSVhsv(337, 78%, 82%)
CMYKcmyk(0%, 77.9%, 48.6%, 18.4%)
CIE-LABlab(47.53, 65.24, 5.07)
CIE-LCHlch(47.53, 65.44, 4.45°)
OKLaboklab(57.38% 0.1998 0.0136)
OKLCHoklch(57.38% 0.2 3.9)
XYZxyz(29.6458, 16.4295, 15.5172)
Luminance0.1643 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D02E6B #2ED093
analogous
#D02EBC #D02E6B #D0422E
triadic
#D02E6B #6BD02E #2E6BD0
tetradic
#D02E6B #BCD02E #2ED093 #422ED0
square
#D02E6B #BCD02E #2ED093 #422ED0
split-complementary
#D02E6B #2ED042 #2EBCD0
monochromatic
#6C1837 #9E2351 #D02E6B #DC5F8E #E792B2

Accessibility & contrast

On white

4.90
#D02E6B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #D02E6B
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D02E6B#FFFFFF#000000##FFFFFF
##D02E6B1.004.904.284.90
#FFFFFF4.901.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#575D6C
Deuteranopia (green-blind)
#827C67
Tritanopia (blue-blind)
#E20049
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #d02e6b;
/* rgb */ color: rgb(208, 46, 107);
/* oklch */ color: oklch(57.4% 0.200 3.9);
Tailwind
colors: {
  custom: {
    50: '#e57795',
    500: '#d02e6b',
    950: '#000000',
  },
}
SCSS
$custom: #d02e6b;
$custom-light: #e57795;
$custom-dark: #000000;
JSON
{
  "hex": "#d02e6b",
  "rgb": {
    "r": 208,
    "g": 46,
    "b": 107
  },
  "hsl": {
    "h": 337.407,
    "s": 63.78,
    "l": 49.804
  },
  "oklch": {
    "l": 0.5738,
    "c": 0.2003,
    "h": 3.9
  },
  "luminance": 0.16425
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D02E6B

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

Preview Lab → · Contrast checker → · Palette generator →

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