#D04D98#D04D98

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

Color values

HEX#D04D98
RGBrgb(208, 77, 152)
HSLhsl(326, 58%, 56%)
HSVhsv(326, 63%, 82%)
CMYKcmyk(0%, 63%, 26.9%, 18.4%)
CIE-LABlab(52.94, 58.96, -14.04)
CIE-LCHlch(52.94, 60.61, 346.61°)
OKLaboklab(61.83% 0.1786 -0.0368)
OKLCHoklch(61.83% 0.182 348.4)
XYZxyz(34.3352, 20.9881, 31.9425)
Luminance0.2099 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D04D98 #4DD085
analogous
#C64DD0 #D04D98 #D04D56
triadic
#D04D98 #98D04D #4D98D0
tetradic
#D04D98 #D0C64D #4DD085 #4D56D0
square
#D04D98 #D0C64D #4DD085 #4D56D0
split-complementary
#D04D98 #56D04D #4DD0C6
monochromatic
#812258 #B12F79 #D04D98 #DD7DB4 #EAAED0

Accessibility & contrast

On white

4.04
#D04D98 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.20
#D04D98 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D04D98
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D04D98#FFFFFF#000000##000000
##D04D981.004.045.205.20
#FFFFFF4.041.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D709A
Deuteranopia (green-blind)
#828795
Tritanopia (blue-blind)
#DE496C
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #d04d98;
/* rgb */ color: rgb(208, 77, 152);
/* oklch */ color: oklch(61.8% 0.182 348.4);
Tailwind
colors: {
  custom: {
    50: '#e286b6',
    500: '#d04d98',
    950: '#000000',
  },
}
SCSS
$custom: #d04d98;
$custom-light: #e286b6;
$custom-dark: #000000;
JSON
{
  "hex": "#d04d98",
  "rgb": {
    "r": 208,
    "g": 77,
    "b": 152
  },
  "hsl": {
    "h": 325.649,
    "s": 58.222,
    "l": 55.882
  },
  "oklch": {
    "l": 0.61826,
    "c": 0.18238,
    "h": 348.4
  },
  "luminance": 0.20985
}

Semantic roles & 50–950 ramp

primary
#D04D98
secondary
#A1D8B8
accent
#E18946
background
#FEF8FB
surface
#FDF0F6
border
#D5CBD0
text
#160C11
muted
#847D80

Preview Lab

Preview with #D04D98

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

Preview Lab → · Contrast checker → · Palette generator →

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