#D04D7D#D04D7D

#D04D7D is a mid, vivid pink. Relative luminance 0.202; OKLCH L 60.9% C 0.170 H 0.9°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#D04D7D
RGBrgb(208, 77, 125)
HSLhsl(338, 58%, 56%)
HSVhsv(338, 63%, 82%)
CMYKcmyk(0%, 63%, 39.9%, 18.4%)
CIE-LABlab(52.06, 55.79, 0.72)
CIE-LCHlch(52.06, 55.79, 0.74°)
OKLaboklab(60.89% 0.1705 0.0026)
OKLCHoklch(60.89% 0.17 0.9)
XYZxyz(32.3701, 20.2021, 21.5928)
Luminance0.2020 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D04D7D #4DD0A0
analogous
#D04DBE #D04D7D #D05E4D
triadic
#D04D7D #7DD04D #4D7DD0
tetradic
#D04D7D #BED04D #4DD0A0 #5E4DD0
square
#D04D7D #BED04D #4DD0A0 #5E4DD0
split-complementary
#D04D7D #4DD05E #4DBED0
monochromatic
#812245 #B12F5E #D04D7D #DD7DA0 #EAAEC4

Accessibility & contrast

On white

4.17
#D04D7D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#D04D7D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D04D7D
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D04D7D#FFFFFF#000000##000000
##D04D7D1.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#666C7E
Deuteranopia (green-blind)
#89857A
Tritanopia (blue-blind)
#E13F60
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #d04d7d;
/* rgb */ color: rgb(208, 77, 125);
/* oklch */ color: oklch(60.9% 0.170 0.9);
Tailwind
colors: {
  custom: {
    50: '#e386a2',
    500: '#d04d7d',
    950: '#000000',
  },
}
SCSS
$custom: #d04d7d;
$custom-light: #e386a2;
$custom-dark: #000000;
JSON
{
  "hex": "#d04d7d",
  "rgb": {
    "r": 208,
    "g": 77,
    "b": 125
  },
  "hsl": {
    "h": 338.015,
    "s": 58.222,
    "l": 55.882
  },
  "oklch": {
    "l": 0.60894,
    "c": 0.17049,
    "h": 0.9
  },
  "luminance": 0.20198
}

Semantic roles & 50–950 ramp

primary
#D04D7D
secondary
#A1D8C4
accent
#E1A946
background
#FEF8F9
surface
#FDF0F2
border
#D5CBCC
text
#160C0F
muted
#847D7E

Preview Lab

Preview with #D04D7D

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

Preview Lab → · Contrast checker → · Palette generator →

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