#D04D9E#D04D9E

#D04D9E is a light, vivid pink. Relative luminance 0.212; OKLCH L 62.1% C 0.186 H 345.8°. Best body text is #000000 at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#D04D9E
RGBrgb(208, 77, 158)
HSLhsl(323, 58%, 56%)
HSVhsv(323, 63%, 82%)
CMYKcmyk(0%, 63%, 24%, 18.4%)
CIE-LABlab(53.16, 59.74, -17.24)
CIE-LCHlch(53.16, 62.18, 343.90°)
OKLaboklab(62.06% 0.1801 -0.0456)
OKLCHoklch(62.06% 0.186 345.8)
XYZxyz(34.8391, 21.1897, 34.5963)
Luminance0.2119 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D04D9E #4DD07F
analogous
#C04DD0 #D04D9E #D04D5C
triadic
#D04D9E #9ED04D #4D9ED0
tetradic
#D04D9E #D0C04D #4DD07F #4D5CD0
square
#D04D9E #D0C04D #4DD07F #4D5CD0
split-complementary
#D04D9E #5CD04D #4DD0C0
monochromatic
#81225C #B12F7F #D04D9E #DD7DB8 #EAAED3

Accessibility & contrast

On white

4.01
#D04D9E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.24
#D04D9E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D04D9E
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D04D9E#FFFFFF#000000##000000
##D04D9E1.004.015.245.24
#FFFFFF4.011.0021.0021.00
#0000005.2421.001.001.00
##0000005.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B71A0
Deuteranopia (green-blind)
#80879B
Tritanopia (blue-blind)
#DD4B6F
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #d04d9e;
/* rgb */ color: rgb(208, 77, 158);
/* oklch */ color: oklch(62.1% 0.186 345.8);
Tailwind
colors: {
  custom: {
    50: '#e286ba',
    500: '#d04d9e',
    950: '#000000',
  },
}
SCSS
$custom: #d04d9e;
$custom-light: #e286ba;
$custom-dark: #000000;
JSON
{
  "hex": "#d04d9e",
  "rgb": {
    "r": 208,
    "g": 77,
    "b": 158
  },
  "hsl": {
    "h": 322.901,
    "s": 58.222,
    "l": 55.882
  },
  "oklch": {
    "l": 0.6206,
    "c": 0.18581,
    "h": 345.8
  },
  "luminance": 0.21186
}

Semantic roles & 50–950 ramp

primary
#D04D9E
secondary
#A1D8B6
accent
#E18246
background
#FEF8FB
surface
#FDF0F6
border
#D5CBD0
text
#160C11
muted
#847D80

Preview Lab

Preview with #D04D9E

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

Preview Lab → · Contrast checker → · Palette generator →

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