#D04C9D#D04C9D

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

Color values

HEX#D04C9D
RGBrgb(208, 76, 157)
HSLhsl(323, 58%, 56%)
HSVhsv(323, 63%, 82%)
CMYKcmyk(0%, 63.5%, 24.5%, 18.4%)
CIE-LABlab(52.97, 60.03, -16.94)
CIE-LCHlch(52.97, 62.37, 344.24°)
OKLaboklab(61.91% 0.1812 -0.0448)
OKLCHoklch(61.91% 0.187 346.1)
XYZxyz(34.6839, 21.0165, 34.1217)
Luminance0.2101 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D04C9D #4CD07F
analogous
#C14CD0 #D04C9D #D04C5B
triadic
#D04C9D #9DD04C #4C9DD0
tetradic
#D04C9D #D0C14C #4CD07F #4C5BD0
square
#D04C9D #D0C14C #4CD07F #4C5BD0
split-complementary
#D04C9D #5BD04C #4CD0C1
monochromatic
#80225C #B02E7E #D04C9D #DD7CB8 #E9ADD2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D04C9D#FFFFFF#000000##000000
##D04C9D1.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)
#5A709F
Deuteranopia (green-blind)
#80879A
Tritanopia (blue-blind)
#DD4A6E
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #d04c9d;
/* rgb */ color: rgb(208, 76, 157);
/* oklch */ color: oklch(61.9% 0.187 346.1);
Tailwind
colors: {
  custom: {
    50: '#e286ba',
    500: '#d04c9d',
    950: '#000000',
  },
}
SCSS
$custom: #d04c9d;
$custom-light: #e286ba;
$custom-dark: #000000;
JSON
{
  "hex": "#d04c9d",
  "rgb": {
    "r": 208,
    "g": 76,
    "b": 157
  },
  "hsl": {
    "h": 323.182,
    "s": 58.407,
    "l": 55.686
  },
  "oklch": {
    "l": 0.61909,
    "c": 0.18661,
    "h": 346.1
  },
  "luminance": 0.21013
}

Semantic roles & 50–950 ramp

primary
#D04C9D
secondary
#A0D7B6
accent
#E28246
background
#FEF8FB
surface
#FDF0F6
border
#D5CBD0
text
#160C11
muted
#847D80

Preview Lab

Preview with #D04C9D

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

Preview Lab → · Contrast checker → · Palette generator →

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