#D04081#D04081

#D04081 is a mid, vivid pink. Relative luminance 0.187; OKLCH L 59.6% C 0.188 H 356.8°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#D04081
RGBrgb(208, 64, 129)
HSLhsl(333, 61%, 53%)
HSVhsv(333, 69%, 82%)
CMYKcmyk(0%, 69.2%, 38%, 18.4%)
CIE-LABlab(50.29, 61.40, -4.28)
CIE-LCHlch(50.29, 61.55, 356.01°)
OKLaboklab(59.62% 0.1882 -0.0105)
OKLCHoklch(59.62% 0.188 356.8)
XYZxyz(31.8103, 18.6655, 22.6923)
Luminance0.1866 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D04081 #40D08F
analogous
#D040C9 #D04081 #D04740
triadic
#D04081 #81D040 #4081D0
tetradic
#D04081 #C9D040 #40D08F #4740D0
square
#D04081 #C9D040 #40D08F #4740D0
split-complementary
#D04081 #40D047 #40C9D0
monochromatic
#781E46 #A92A63 #D04081 #DC71A1 #E8A2C2

Accessibility & contrast

On white

4.44
#D04081 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#D04081 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D04081
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D04081#FFFFFF#000000##000000
##D040811.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B6783
Deuteranopia (green-blind)
#83827E
Tritanopia (blue-blind)
#E0315B
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #d04081;
/* rgb */ color: rgb(208, 64, 129);
/* oklch */ color: oklch(59.6% 0.188 356.8);
Tailwind
colors: {
  custom: {
    50: '#e37fa5',
    500: '#d04081',
    950: '#000000',
  },
}
SCSS
$custom: #d04081;
$custom-light: #e37fa5;
$custom-dark: #000000;
JSON
{
  "hex": "#d04081",
  "rgb": {
    "r": 208,
    "g": 64,
    "b": 129
  },
  "hsl": {
    "h": 332.917,
    "s": 60.504,
    "l": 53.333
  },
  "oklch": {
    "l": 0.59623,
    "c": 0.18844,
    "h": 356.8
  },
  "luminance": 0.18662
}

Semantic roles & 50–950 ramp

primary
#D04081
secondary
#97D5B9
accent
#E49C44
background
#FEF8FA
surface
#FDEFF4
border
#D5CACE
text
#160B0F
muted
#847C7F

Preview Lab

Preview with #D04081

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

Preview Lab → · Contrast checker → · Palette generator →

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