#D04A9D#D04A9D

#D04A9D is a mid, vivid pink. Relative luminance 0.207; OKLCH L 61.7% C 0.189 H 345.9°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#D04A9D
RGBrgb(208, 74, 157)
HSLhsl(323, 59%, 55%)
HSVhsv(323, 64%, 82%)
CMYKcmyk(0%, 64.4%, 24.5%, 18.4%)
CIE-LABlab(52.67, 60.84, -17.39)
CIE-LCHlch(52.67, 63.28, 344.05°)
OKLaboklab(61.69% 0.1837 -0.046)
OKLCHoklch(61.69% 0.189 345.9)
XYZxyz(34.5483, 20.7452, 34.0765)
Luminance0.2074 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D04A9D #4AD07D
analogous
#C04AD0 #D04A9D #D04A5A
triadic
#D04A9D #9DD04A #4A9DD0
tetradic
#D04A9D #D0C04A #4AD07D #4A5AD0
square
#D04A9D #D0C04A #4AD07D #4A5AD0
split-complementary
#D04A9D #5AD04A #4AD0C0
monochromatic
#7F215B #AF2E7E #D04A9D #DD7BB7 #E9ABD2

Accessibility & contrast

On white

4.08
#D04A9D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#D04A9D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D04A9D
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D04A9D#FFFFFF#000000##000000
##D04A9D1.004.085.155.15
#FFFFFF4.081.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#596F9F
Deuteranopia (green-blind)
#7F869A
Tritanopia (blue-blind)
#DD486D
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #d04a9d;
/* rgb */ color: rgb(208, 74, 157);
/* oklch */ color: oklch(61.7% 0.189 345.9);
Tailwind
colors: {
  custom: {
    50: '#e285ba',
    500: '#d04a9d',
    950: '#000000',
  },
}
SCSS
$custom: #d04a9d;
$custom-light: #e285ba;
$custom-dark: #000000;
JSON
{
  "hex": "#d04a9d",
  "rgb": {
    "r": 208,
    "g": 74,
    "b": 157
  },
  "hsl": {
    "h": 322.836,
    "s": 58.772,
    "l": 55.294
  },
  "oklch": {
    "l": 0.61689,
    "c": 0.18934,
    "h": 345.9
  },
  "luminance": 0.20742
}

Semantic roles & 50–950 ramp

primary
#D04A9D
secondary
#9FD7B4
accent
#E28146
background
#FEF8FB
surface
#FDF0F6
border
#D5CBD0
text
#160C11
muted
#847D80

Preview Lab

Preview with #D04A9D

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

Preview Lab → · Contrast checker → · Palette generator →

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