#D04C81#D04C81

#D04C81 is a mid, vivid pink. Relative luminance 0.202; OKLCH L 60.9% C 0.173 H 358.7°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#D04C81
RGBrgb(208, 76, 129)
HSLhsl(336, 58%, 56%)
HSVhsv(336, 63%, 82%)
CMYKcmyk(0%, 63.5%, 38%, 18.4%)
CIE-LABlab(52.03, 56.64, -1.73)
CIE-LCHlch(52.03, 56.67, 358.25°)
OKLaboklab(60.9% 0.1731 -0.0038)
OKLCHoklch(60.9% 0.173 358.7)
XYZxyz(32.5613, 20.1675, 22.9426)
Luminance0.2016 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D04C81 #4CD09B
analogous
#D04CC3 #D04C81 #D0594C
triadic
#D04C81 #81D04C #4C81D0
tetradic
#D04C81 #C3D04C #4CD09B #594CD0
square
#D04C81 #C3D04C #4CD09B #594CD0
split-complementary
#D04C81 #4CD059 #4CC3D0
monochromatic
#802248 #B02E63 #D04C81 #DD7CA3 #E9ADC5

Accessibility & contrast

On white

4.17
#D04C81 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#D04C81 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D04C81
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D04C81#FFFFFF#000000##000000
##D04C811.004.175.035.03
#FFFFFF4.171.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#646C82
Deuteranopia (green-blind)
#87857E
Tritanopia (blue-blind)
#E03F61
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #d04c81;
/* rgb */ color: rgb(208, 76, 129);
/* oklch */ color: oklch(60.9% 0.173 358.7);
Tailwind
colors: {
  custom: {
    50: '#e385a5',
    500: '#d04c81',
    950: '#000000',
  },
}
SCSS
$custom: #d04c81;
$custom-light: #e385a5;
$custom-dark: #000000;
JSON
{
  "hex": "#d04c81",
  "rgb": {
    "r": 208,
    "g": 76,
    "b": 129
  },
  "hsl": {
    "h": 335.909,
    "s": 58.407,
    "l": 55.686
  },
  "oklch": {
    "l": 0.60904,
    "c": 0.17318,
    "h": 358.7
  },
  "luminance": 0.20164
}

Semantic roles & 50–950 ramp

primary
#D04C81
secondary
#A0D7C1
accent
#E2A346
background
#FEF8FA
surface
#FDF0F4
border
#D5CBCE
text
#160C0F
muted
#847D7F

Preview Lab

Preview with #D04C81

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

Preview Lab → · Contrast checker → · Palette generator →

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