#D02D74#D02D74

#D02D74 is a mid, highly saturated pink. Relative luminance 0.165; OKLCH L 57.6% C 0.204 H 0.1°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#D02D74
RGBrgb(208, 45, 116)
HSLhsl(334, 64%, 50%)
HSVhsv(334, 78%, 82%)
CMYKcmyk(0%, 78.4%, 44.2%, 18.4%)
CIE-LABlab(47.69, 66.31, -0.22)
CIE-LCHlch(47.69, 66.31, 359.81°)
OKLaboklab(57.58% 0.2038 0.0002)
OKLCHoklch(57.58% 0.204 0.1)
XYZxyz(30.1056, 16.5517, 18.1291)
Luminance0.1655 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D02D74 #2DD089
analogous
#D02DC6 #D02D74 #D0372D
triadic
#D02D74 #74D02D #2D74D0
tetradic
#D02D74 #C6D02D #2DD089 #372DD0
square
#D02D74 #C6D02D #2DD089 #372DD0
split-complementary
#D02D74 #2DD037 #2DC6D0
monochromatic
#6B173C #9E2258 #D02D74 #DC5E95 #E790B6

Accessibility & contrast

On white

4.87
#D02D74 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#D02D74 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #D02D74
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D02D74#FFFFFF#000000##FFFFFF
##D02D741.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#545D76
Deuteranopia (green-blind)
#807C70
Tritanopia (blue-blind)
#E2024D
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #d02d74;
/* rgb */ color: rgb(208, 45, 116);
/* oklch */ color: oklch(57.6% 0.204 0.1);
Tailwind
colors: {
  custom: {
    50: '#e4779b',
    500: '#d02d74',
    950: '#000000',
  },
}
SCSS
$custom: #d02d74;
$custom-light: #e4779b;
$custom-dark: #000000;
JSON
{
  "hex": "#d02d74",
  "rgb": {
    "r": 208,
    "g": 45,
    "b": 116
  },
  "hsl": {
    "h": 333.865,
    "s": 64.427,
    "l": 49.608
  },
  "oklch": {
    "l": 0.57579,
    "c": 0.20378,
    "h": 0.1
  },
  "luminance": 0.16548
}

Semantic roles & 50–950 ramp

primary
#D02D74
secondary
#87D2B1
accent
#E79F40
background
#FEF7F9
surface
#FDEEF2
border
#D5C9CC
text
#170A0E
muted
#857C7E

Preview Lab

Preview with #D02D74

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

Preview Lab → · Contrast checker → · Palette generator →

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