#D04178#D04178

#D04178 is a mid, vivid pink. Relative luminance 0.185; OKLCH L 59.4% C 0.184 H 1.0°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#D04178
RGBrgb(208, 65, 120)
HSLhsl(337, 60%, 54%)
HSVhsv(337, 69%, 82%)
CMYKcmyk(0%, 68.8%, 42.3%, 18.4%)
CIE-LABlab(50.16, 60.10, 0.95)
CIE-LCHlch(50.16, 60.11, 0.90°)
OKLaboklab(59.43% 0.1841 0.0032)
OKLCHoklch(59.43% 0.184 1)
XYZxyz(31.2951, 18.5504, 19.6982)
Luminance0.1855 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D04178 #41D099
analogous
#D041C0 #D04178 #D05141
triadic
#D04178 #78D041 #4178D0
tetradic
#D04178 #C0D041 #41D099 #5141D0
square
#D04178 #C0D041 #41D099 #5141D0
split-complementary
#D04178 #41D051 #41C0D0
monochromatic
#791E41 #AA2A5B #D04178 #DC729B #E8A3BE

Accessibility & contrast

On white

4.46
#D04178 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#D04178 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D04178
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D04178#FFFFFF#000000##000000
##D041781.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F6679
Deuteranopia (green-blind)
#858175
Tritanopia (blue-blind)
#E12E58
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #d04178;
/* rgb */ color: rgb(208, 65, 120);
/* oklch */ color: oklch(59.4% 0.184 1.0);
Tailwind
colors: {
  custom: {
    50: '#e47f9e',
    500: '#d04178',
    950: '#000000',
  },
}
SCSS
$custom: #d04178;
$custom-light: #e47f9e;
$custom-dark: #000000;
JSON
{
  "hex": "#d04178",
  "rgb": {
    "r": 208,
    "g": 65,
    "b": 120
  },
  "hsl": {
    "h": 336.923,
    "s": 60.338,
    "l": 53.529
  },
  "oklch": {
    "l": 0.59433,
    "c": 0.18409,
    "h": 1
  },
  "luminance": 0.18547
}

Semantic roles & 50–950 ramp

primary
#D04178
secondary
#98D5BD
accent
#E3A644
background
#FEF8F9
surface
#FDEFF2
border
#D5CACC
text
#160B0E
muted
#847C7E

Preview Lab

Preview with #D04178

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

Preview Lab → · Contrast checker → · Palette generator →

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