#D04D82#D04D82

#D04D82 is a mid, vivid pink. Relative luminance 0.203; OKLCH L 61.1% C 0.172 H 358.4°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#D04D82
RGBrgb(208, 77, 130)
HSLhsl(336, 58%, 56%)
HSVhsv(336, 63%, 82%)
CMYKcmyk(0%, 63%, 37.5%, 18.4%)
CIE-LABlab(52.21, 56.33, -2.05)
CIE-LCHlch(52.21, 56.37, 357.92°)
OKLaboklab(61.05% 0.1721 -0.0047)
OKLCHoklch(61.05% 0.172 358.4)
XYZxyz(32.6976, 20.3330, 23.3175)
Luminance0.2033 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D04D82 #4DD09B
analogous
#D04DC3 #D04D82 #D0594D
triadic
#D04D82 #82D04D #4D82D0
tetradic
#D04D82 #C3D04D #4DD09B #594DD0
square
#D04D82 #C3D04D #4DD09B #594DD0
split-complementary
#D04D82 #4DD059 #4DC3D0
monochromatic
#812248 #B12F63 #D04D82 #DD7DA4 #EAAEC6

Accessibility & contrast

On white

4.15
#D04D82 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#D04D82 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D04D82
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D04D82#FFFFFF#000000##000000
##D04D821.004.155.075.07
#FFFFFF4.151.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#646D83
Deuteranopia (green-blind)
#88867F
Tritanopia (blue-blind)
#E04162
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #d04d82;
/* rgb */ color: rgb(208, 77, 130);
/* oklch */ color: oklch(61.1% 0.172 358.4);
Tailwind
colors: {
  custom: {
    50: '#e386a6',
    500: '#d04d82',
    950: '#000000',
  },
}
SCSS
$custom: #d04d82;
$custom-light: #e386a6;
$custom-dark: #000000;
JSON
{
  "hex": "#d04d82",
  "rgb": {
    "r": 208,
    "g": 77,
    "b": 130
  },
  "hsl": {
    "h": 335.725,
    "s": 58.222,
    "l": 55.882
  },
  "oklch": {
    "l": 0.61052,
    "c": 0.1722,
    "h": 358.4
  },
  "luminance": 0.20329
}

Semantic roles & 50–950 ramp

primary
#D04D82
secondary
#A1D8C2
accent
#E1A346
background
#FEF8FA
surface
#FDF0F4
border
#D5CBCE
text
#160C0F
muted
#847D7F

Preview Lab

Preview with #D04D82

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

Preview Lab → · Contrast checker → · Palette generator →

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