#D04D7E#D04D7E

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

Color values

HEX#D04D7E
RGBrgb(208, 77, 126)
HSLhsl(338, 58%, 56%)
HSVhsv(338, 63%, 82%)
CMYKcmyk(0%, 63%, 39.4%, 18.4%)
CIE-LABlab(52.09, 55.89, 0.17)
CIE-LCHlch(52.09, 55.89, 0.17°)
OKLaboklab(60.93% 0.1708 0.0011)
OKLCHoklch(60.93% 0.171 0.4)
XYZxyz(32.4343, 20.2277, 21.9309)
Luminance0.2022 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D04D7E #4DD09F
analogous
#D04DBF #D04D7E #D05D4D
triadic
#D04D7E #7ED04D #4D7ED0
tetradic
#D04D7E #BFD04D #4DD09F #5D4DD0
square
#D04D7E #BFD04D #4DD09F #5D4DD0
split-complementary
#D04D7E #4DD05D #4DBFD0
monochromatic
#812245 #B12F5F #D04D7E #DD7DA1 #EAAEC4

Accessibility & contrast

On white

4.16
#D04D7E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##D04D7E#FFFFFF#000000##000000
##D04D7E1.004.165.045.04
#FFFFFF4.161.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#656C7F
Deuteranopia (green-blind)
#88857B
Tritanopia (blue-blind)
#E03F60
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #d04d7e;
/* rgb */ color: rgb(208, 77, 126);
/* oklch */ color: oklch(60.9% 0.171 0.4);
Tailwind
colors: {
  custom: {
    50: '#e386a3',
    500: '#d04d7e',
    950: '#000000',
  },
}
SCSS
$custom: #d04d7e;
$custom-light: #e386a3;
$custom-dark: #000000;
JSON
{
  "hex": "#d04d7e",
  "rgb": {
    "r": 208,
    "g": 77,
    "b": 126
  },
  "hsl": {
    "h": 337.557,
    "s": 58.222,
    "l": 55.882
  },
  "oklch": {
    "l": 0.60925,
    "c": 0.17081,
    "h": 0.4
  },
  "luminance": 0.20224
}

Semantic roles & 50–950 ramp

primary
#D04D7E
secondary
#A1D8C3
accent
#E1A746
background
#FEF8FA
surface
#FDF0F3
border
#D5CBCD
text
#160C0F
muted
#847D7F

Preview Lab

Preview with #D04D7E

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

Preview Lab → · Contrast checker → · Palette generator →

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