#D04175#D04175

#D04175 is a mid, vivid pink. Relative luminance 0.185; OKLCH L 59.3% C 0.183 H 2.3°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#D04175
RGBrgb(208, 65, 117)
HSLhsl(338, 60%, 54%)
HSVhsv(338, 69%, 82%)
CMYKcmyk(0%, 68.8%, 43.8%, 18.4%)
CIE-LABlab(50.07, 59.81, 2.64)
CIE-LCHlch(50.07, 59.87, 2.53°)
OKLaboklab(59.34% 0.183 0.0075)
OKLCHoklch(59.34% 0.183 2.3)
XYZxyz(31.1159, 18.4787, 18.7544)
Luminance0.1847 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D04175 #41D09C
analogous
#D041BC #D04175 #D05441
triadic
#D04175 #75D041 #4175D0
tetradic
#D04175 #BCD041 #41D09C #5441D0
square
#D04175 #BCD041 #41D09C #5441D0
split-complementary
#D04175 #41D054 #41BCD0
monochromatic
#791E3F #AA2A58 #D04175 #DC7299 #E8A3BC

Accessibility & contrast

On white

4.47
#D04175 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#D04175 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D04175
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D04175#FFFFFF#000000##000000
##D041751.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F6576
Deuteranopia (green-blind)
#868172
Tritanopia (blue-blind)
#E12D56
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #d04175;
/* rgb */ color: rgb(208, 65, 117);
/* oklch */ color: oklch(59.3% 0.183 2.3);
Tailwind
colors: {
  custom: {
    50: '#e47f9c',
    500: '#d04175',
    950: '#000000',
  },
}
SCSS
$custom: #d04175;
$custom-light: #e47f9c;
$custom-dark: #000000;
JSON
{
  "hex": "#d04175",
  "rgb": {
    "r": 208,
    "g": 65,
    "b": 117
  },
  "hsl": {
    "h": 338.182,
    "s": 60.338,
    "l": 53.529
  },
  "oklch": {
    "l": 0.59342,
    "c": 0.18318,
    "h": 2.3
  },
  "luminance": 0.18475
}

Semantic roles & 50–950 ramp

primary
#D04175
secondary
#98D5BF
accent
#E3AA44
background
#FEF8F9
surface
#FDEFF2
border
#D5CACC
text
#160B0E
muted
#847C7E

Preview Lab

Preview with #D04175

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

Preview Lab → · Contrast checker → · Palette generator →

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