#D04A8B#D04A8B

#D04A8B is a mid, vivid pink. Relative luminance 0.202; OKLCH L 61.0% C 0.180 H 353.8°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#D04A8B
RGBrgb(208, 74, 139)
HSLhsl(331, 59%, 55%)
HSVhsv(331, 64%, 82%)
CMYKcmyk(0%, 64.4%, 33.2%, 18.4%)
CIE-LABlab(52.03, 58.61, -7.68)
CIE-LCHlch(52.03, 59.11, 352.53°)
OKLaboklab(61.01% 0.1789 -0.0196)
OKLCHoklch(61.01% 0.18 353.8)
XYZxyz(33.1232, 20.1752, 26.5709)
Luminance0.2017 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D04A8B #4AD08F
analogous
#D04ACE #D04A8B #D04C4A
triadic
#D04A8B #8BD04A #4A8BD0
tetradic
#D04A8B #CED04A #4AD08F #4C4AD0
square
#D04A8B #CED04A #4AD08F #4C4AD0
split-complementary
#D04A8B #4AD04C #4ACED0
monochromatic
#7F214E #AF2E6C #D04A8B #DD7BAA #E9ABC9

Accessibility & contrast

On white

4.17
#D04A8B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#D04A8B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D04A8B
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D04A8B#FFFFFF#000000##000000
##D04A8B1.004.175.035.03
#FFFFFF4.171.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F6D8D
Deuteranopia (green-blind)
#848588
Tritanopia (blue-blind)
#DF4165
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #d04a8b;
/* rgb */ color: rgb(208, 74, 139);
/* oklch */ color: oklch(61.0% 0.180 353.8);
Tailwind
colors: {
  custom: {
    50: '#e384ac',
    500: '#d04a8b',
    950: '#000000',
  },
}
SCSS
$custom: #d04a8b;
$custom-light: #e384ac;
$custom-dark: #000000;
JSON
{
  "hex": "#d04a8b",
  "rgb": {
    "r": 208,
    "g": 74,
    "b": 139
  },
  "hsl": {
    "h": 330.896,
    "s": 58.772,
    "l": 55.294
  },
  "oklch": {
    "l": 0.61013,
    "c": 0.17995,
    "h": 353.8
  },
  "luminance": 0.20172
}

Semantic roles & 50–950 ramp

primary
#D04A8B
secondary
#9FD7BC
accent
#E29646
background
#FEF8FA
surface
#FDF0F4
border
#D5CBCE
text
#160C10
muted
#847D7F

Preview Lab

Preview with #D04A8B

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

Preview Lab → · Contrast checker → · Palette generator →

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