#D04C8B#D04C8B

#D04C8B is a mid, vivid pink. Relative luminance 0.204; OKLCH L 61.2% C 0.177 H 354.1°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#D04C8B
RGBrgb(208, 76, 139)
HSLhsl(331, 58%, 56%)
HSVhsv(331, 63%, 82%)
CMYKcmyk(0%, 63.5%, 33.2%, 18.4%)
CIE-LABlab(52.34, 57.78, -7.23)
CIE-LCHlch(52.34, 58.23, 352.87°)
OKLaboklab(61.24% 0.1763 -0.0184)
OKLCHoklch(61.24% 0.177 354.1)
XYZxyz(33.2588, 20.4465, 26.6161)
Luminance0.2044 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D04C8B #4CD091
analogous
#D04CCD #D04C8B #D04F4C
triadic
#D04C8B #8BD04C #4C8BD0
tetradic
#D04C8B #CDD04C #4CD091 #4F4CD0
square
#D04C8B #CDD04C #4CD091 #4F4CD0
split-complementary
#D04C8B #4CD04F #4CCDD0
monochromatic
#80224F #B02E6C #D04C8B #DD7CAA #E9ADCA

Accessibility & contrast

On white

4.13
#D04C8B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##D04C8B#FFFFFF#000000##000000
##D04C8B1.004.135.095.09
#FFFFFF4.131.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#616E8D
Deuteranopia (green-blind)
#858688
Tritanopia (blue-blind)
#DF4365
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #d04c8b;
/* rgb */ color: rgb(208, 76, 139);
/* oklch */ color: oklch(61.2% 0.177 354.1);
Tailwind
colors: {
  custom: {
    50: '#e286ac',
    500: '#d04c8b',
    950: '#000000',
  },
}
SCSS
$custom: #d04c8b;
$custom-light: #e286ac;
$custom-dark: #000000;
JSON
{
  "hex": "#d04c8b",
  "rgb": {
    "r": 208,
    "g": 76,
    "b": 139
  },
  "hsl": {
    "h": 331.364,
    "s": 58.407,
    "l": 55.686
  },
  "oklch": {
    "l": 0.61238,
    "c": 0.17724,
    "h": 354.1
  },
  "luminance": 0.20443
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D04C8B

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

Preview Lab → · Contrast checker → · Palette generator →

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