#D04D8D#D04D8D

#D04D8D is a mid, vivid pink. Relative luminance 0.206; OKLCH L 61.4% C 0.177 H 353.3°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#D04D8D
RGBrgb(208, 77, 141)
HSLhsl(331, 58%, 56%)
HSVhsv(331, 63%, 82%)
CMYKcmyk(0%, 63%, 32.2%, 18.4%)
CIE-LABlab(52.56, 57.59, -8.09)
CIE-LCHlch(52.56, 58.16, 352.00°)
OKLaboklab(61.42% 0.1756 -0.0207)
OKLCHoklch(61.42% 0.177 353.3)
XYZxyz(33.4757, 20.6443, 27.4159)
Luminance0.2064 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D04D8D #4DD090
analogous
#D04DCE #D04D8D #D04E4D
triadic
#D04D8D #8DD04D #4D8DD0
tetradic
#D04D8D #CED04D #4DD090 #4E4DD0
square
#D04D8D #CED04D #4DD090 #4E4DD0
split-complementary
#D04D8D #4DD04E #4DCED0
monochromatic
#812250 #B12F6E #D04D8D #DD7DAC #EAAECB

Accessibility & contrast

On white

4.10
#D04D8D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.13
#D04D8D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D04D8D
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D04D8D#FFFFFF#000000##000000
##D04D8D1.004.105.135.13
#FFFFFF4.101.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#616E8F
Deuteranopia (green-blind)
#85868A
Tritanopia (blue-blind)
#DF4567
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #d04d8d;
/* rgb */ color: rgb(208, 77, 141);
/* oklch */ color: oklch(61.4% 0.177 353.3);
Tailwind
colors: {
  custom: {
    50: '#e286ae',
    500: '#d04d8d',
    950: '#000000',
  },
}
SCSS
$custom: #d04d8d;
$custom-light: #e286ae;
$custom-dark: #000000;
JSON
{
  "hex": "#d04d8d",
  "rgb": {
    "r": 208,
    "g": 77,
    "b": 141
  },
  "hsl": {
    "h": 330.687,
    "s": 58.222,
    "l": 55.882
  },
  "oklch": {
    "l": 0.61422,
    "c": 0.17678,
    "h": 353.3
  },
  "luminance": 0.20641
}

Semantic roles & 50–950 ramp

primary
#D04D8D
secondary
#A1D8BD
accent
#E19646
background
#FEF8FA
surface
#FDF0F4
border
#D5CBCE
text
#160C10
muted
#847D7F

Preview Lab

Preview with #D04D8D

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

Preview Lab → · Contrast checker → · Palette generator →

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