#D04C8C#D04C8C

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

Color values

HEX#D04C8C
RGBrgb(208, 76, 140)
HSLhsl(331, 58%, 56%)
HSVhsv(331, 63%, 82%)
CMYKcmyk(0%, 63.5%, 32.7%, 18.4%)
CIE-LABlab(52.37, 57.89, -7.77)
CIE-LCHlch(52.37, 58.41, 352.35°)
OKLaboklab(61.27% 0.1766 -0.0198)
OKLCHoklch(61.27% 0.178 353.6)
XYZxyz(33.3322, 20.4758, 27.0027)
Luminance0.2047 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D04C8C #4CD090
analogous
#D04CCE #D04C8C #D04E4C
triadic
#D04C8C #8CD04C #4C8CD0
tetradic
#D04C8C #CED04C #4CD090 #4E4CD0
square
#D04C8C #CED04C #4CD090 #4E4CD0
split-complementary
#D04C8C #4CD04E #4CCED0
monochromatic
#80224F #B02E6D #D04C8C #DD7CAB #E9ADCA

Accessibility & contrast

On white

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

On black

5.09
#D04C8C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D04C8C
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D04C8C#FFFFFF#000000##000000
##D04C8C1.004.125.095.09
#FFFFFF4.121.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#616E8E
Deuteranopia (green-blind)
#858689
Tritanopia (blue-blind)
#DF4366
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #d04c8c;
/* rgb */ color: rgb(208, 76, 140);
/* oklch */ color: oklch(61.3% 0.178 353.6);
Tailwind
colors: {
  custom: {
    50: '#e286ad',
    500: '#d04c8c',
    950: '#000000',
  },
}
SCSS
$custom: #d04c8c;
$custom-light: #e286ad;
$custom-dark: #000000;
JSON
{
  "hex": "#d04c8c",
  "rgb": {
    "r": 208,
    "g": 76,
    "b": 140
  },
  "hsl": {
    "h": 330.909,
    "s": 58.407,
    "l": 55.686
  },
  "oklch": {
    "l": 0.61273,
    "c": 0.1777,
    "h": 353.6
  },
  "luminance": 0.20472
}

Semantic roles & 50–950 ramp

primary
#D04C8C
secondary
#A0D7BD
accent
#E29646
background
#FEF8FA
surface
#FDF0F4
border
#D5CBCE
text
#160C10
muted
#847D7F

Preview Lab

Preview with #D04C8C

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

Preview Lab → · Contrast checker → · Palette generator →

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