#D02E6C#D02E6C

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

Color values

HEX#D02E6C
RGBrgb(208, 46, 108)
HSLhsl(337, 64%, 50%)
HSVhsv(337, 78%, 82%)
CMYKcmyk(0%, 77.9%, 48.1%, 18.4%)
CIE-LABlab(47.56, 65.32, 4.50)
CIE-LCHlch(47.56, 65.48, 3.94°)
OKLaboklab(57.41% 0.2002 0.0122)
OKLCHoklch(57.41% 0.201 3.5)
XYZxyz(29.6987, 16.4507, 15.7959)
Luminance0.1645 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D02E6C #2ED092
analogous
#D02EBD #D02E6C #D0412E
triadic
#D02E6C #6CD02E #2E6CD0
tetradic
#D02E6C #BDD02E #2ED092 #412ED0
square
#D02E6C #BDD02E #2ED092 #412ED0
split-complementary
#D02E6C #2ED041 #2EBDD0
monochromatic
#6C1838 #9E2352 #D02E6C #DC5F8F #E792B2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D02E6C#FFFFFF#000000##FFFFFF
##D02E6C1.004.904.294.90
#FFFFFF4.901.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#565D6D
Deuteranopia (green-blind)
#817C68
Tritanopia (blue-blind)
#E20049
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #d02e6c;
/* rgb */ color: rgb(208, 46, 108);
/* oklch */ color: oklch(57.4% 0.201 3.5);
Tailwind
colors: {
  custom: {
    50: '#e57795',
    500: '#d02e6c',
    950: '#000000',
  },
}
SCSS
$custom: #d02e6c;
$custom-light: #e57795;
$custom-dark: #000000;
JSON
{
  "hex": "#d02e6c",
  "rgb": {
    "r": 208,
    "g": 46,
    "b": 108
  },
  "hsl": {
    "h": 337.037,
    "s": 63.78,
    "l": 49.804
  },
  "oklch": {
    "l": 0.57409,
    "c": 0.20056,
    "h": 3.5
  },
  "luminance": 0.16447
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D02E6C

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

Preview Lab → · Contrast checker → · Palette generator →

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