#D04C8D#D04C8D

#D04C8D is a mid, vivid pink. Relative luminance 0.205; OKLCH L 61.3% C 0.178 H 353.1°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#D04C8D
RGBrgb(208, 76, 141)
HSLhsl(330, 58%, 56%)
HSVhsv(330, 63%, 82%)
CMYKcmyk(0%, 63.5%, 32.2%, 18.4%)
CIE-LABlab(52.40, 58.01, -8.32)
CIE-LCHlch(52.40, 58.61, 351.84°)
OKLaboklab(61.31% 0.1769 -0.0213)
OKLCHoklch(61.31% 0.178 353.1)
XYZxyz(33.4063, 20.5055, 27.3928)
Luminance0.2050 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D04C8D #4CD08F
analogous
#D04CCF #D04C8D #D04D4C
triadic
#D04C8D #8DD04C #4C8DD0
tetradic
#D04C8D #CFD04C #4CD08F #4D4CD0
square
#D04C8D #CFD04C #4CD08F #4D4CD0
split-complementary
#D04C8D #4CD04D #4CCFD0
monochromatic
#802250 #B02E6E #D04C8D #DD7CAC #E9ADCB

Accessibility & contrast

On white

4.12
#D04C8D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#D04C8D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D04C8D
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D04C8D#FFFFFF#000000##000000
##D04C8D1.004.125.105.10
#FFFFFF4.121.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#606E8F
Deuteranopia (green-blind)
#85868A
Tritanopia (blue-blind)
#DF4466
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #d04c8d;
/* rgb */ color: rgb(208, 76, 141);
/* oklch */ color: oklch(61.3% 0.178 353.1);
Tailwind
colors: {
  custom: {
    50: '#e286ae',
    500: '#d04c8d',
    950: '#000000',
  },
}
SCSS
$custom: #d04c8d;
$custom-light: #e286ae;
$custom-dark: #000000;
JSON
{
  "hex": "#d04c8d",
  "rgb": {
    "r": 208,
    "g": 76,
    "b": 141
  },
  "hsl": {
    "h": 330.455,
    "s": 58.407,
    "l": 55.686
  },
  "oklch": {
    "l": 0.61308,
    "c": 0.17816,
    "h": 353.1
  },
  "luminance": 0.20502
}

Semantic roles & 50–950 ramp

primary
#D04C8D
secondary
#A0D7BC
accent
#E29546
background
#FEF8FA
surface
#FDF0F4
border
#D5CBCE
text
#160C10
muted
#847D7F

Preview Lab

Preview with #D04C8D

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

Preview Lab → · Contrast checker → · Palette generator →

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