#D04997#D04997

#D04997 is a mid, vivid pink. Relative luminance 0.204; OKLCH L 61.3% C 0.187 H 348.4°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#D04997
RGBrgb(208, 73, 151)
HSLhsl(325, 59%, 55%)
HSVhsv(325, 65%, 82%)
CMYKcmyk(0%, 64.9%, 27.4%, 18.4%)
CIE-LABlab(52.30, 60.47, -14.41)
CIE-LCHlch(52.30, 62.17, 346.60°)
OKLaboklab(61.35% 0.1834 -0.0378)
OKLCHoklch(61.35% 0.187 348.4)
XYZxyz(33.9823, 20.4129, 31.4226)
Luminance0.2041 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D04997 #49D082
analogous
#C549D0 #D04997 #D04954
triadic
#D04997 #97D049 #4997D0
tetradic
#D04997 #D0C549 #49D082 #4954D0
square
#D04997 #D0C549 #49D082 #4954D0
split-complementary
#D04997 #54D049 #49D0C5
monochromatic
#7E2157 #AF2D78 #D04997 #DD7AB3 #E9AACF

Accessibility & contrast

On white

4.13
#D04997 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#D04997 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D04997
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D04997#FFFFFF#000000##000000
##D049971.004.135.085.08
#FFFFFF4.131.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A6E99
Deuteranopia (green-blind)
#818594
Tritanopia (blue-blind)
#DE446A
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #d04997;
/* rgb */ color: rgb(208, 73, 151);
/* oklch */ color: oklch(61.3% 0.187 348.4);
Tailwind
colors: {
  custom: {
    50: '#e284b5',
    500: '#d04997',
    950: '#000000',
  },
}
SCSS
$custom: #d04997;
$custom-light: #e284b5;
$custom-dark: #000000;
JSON
{
  "hex": "#d04997",
  "rgb": {
    "r": 208,
    "g": 73,
    "b": 151
  },
  "hsl": {
    "h": 325.333,
    "s": 58.952,
    "l": 55.098
  },
  "oklch": {
    "l": 0.61346,
    "c": 0.1873,
    "h": 348.4
  },
  "luminance": 0.20409
}

Semantic roles & 50–950 ramp

primary
#D04997
secondary
#9ED7B6
accent
#E28846
background
#FEF8FB
surface
#FDF0F6
border
#D5CBD0
text
#160C11
muted
#847D80

Preview Lab

Preview with #D04997

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

Preview Lab → · Contrast checker → · Palette generator →

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