#D04D97#D04D97

#D04D97 is a mid, vivid pink. Relative luminance 0.210; OKLCH L 61.8% C 0.182 H 348.8°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#D04D97
RGBrgb(208, 77, 151)
HSLhsl(326, 58%, 56%)
HSVhsv(326, 63%, 82%)
CMYKcmyk(0%, 63%, 27.4%, 18.4%)
CIE-LABlab(52.90, 58.83, -13.50)
CIE-LCHlch(52.90, 60.36, 347.08°)
OKLaboklab(61.79% 0.1784 -0.0353)
OKLCHoklch(61.79% 0.182 348.8)
XYZxyz(34.2537, 20.9555, 31.5130)
Luminance0.2095 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D04D97 #4DD086
analogous
#C74DD0 #D04D97 #D04D55
triadic
#D04D97 #97D04D #4D97D0
tetradic
#D04D97 #D0C74D #4DD086 #4D55D0
square
#D04D97 #D0C74D #4DD086 #4D55D0
split-complementary
#D04D97 #55D04D #4DD0C7
monochromatic
#812257 #B12F78 #D04D97 #DD7DB3 #EAAED0

Accessibility & contrast

On white

4.05
#D04D97 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.19
#D04D97 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D04D97
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D04D97#FFFFFF#000000##000000
##D04D971.004.055.195.19
#FFFFFF4.051.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E7099
Deuteranopia (green-blind)
#828794
Tritanopia (blue-blind)
#DE486B
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #d04d97;
/* rgb */ color: rgb(208, 77, 151);
/* oklch */ color: oklch(61.8% 0.182 348.8);
Tailwind
colors: {
  custom: {
    50: '#e286b5',
    500: '#d04d97',
    950: '#000000',
  },
}
SCSS
$custom: #d04d97;
$custom-light: #e286b5;
$custom-dark: #000000;
JSON
{
  "hex": "#d04d97",
  "rgb": {
    "r": 208,
    "g": 77,
    "b": 151
  },
  "hsl": {
    "h": 326.107,
    "s": 58.222,
    "l": 55.882
  },
  "oklch": {
    "l": 0.61788,
    "c": 0.18183,
    "h": 348.8
  },
  "luminance": 0.20952
}

Semantic roles & 50–950 ramp

primary
#D04D97
secondary
#A1D8B9
accent
#E18A46
background
#FEF8FB
surface
#FDF0F6
border
#D5CBD0
text
#160C11
muted
#847D80

Preview Lab

Preview with #D04D97

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

Preview Lab → · Contrast checker → · Palette generator →

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