#D04074#D04074

#D04074 is a mid, vivid pink. Relative luminance 0.183; OKLCH L 59.2% C 0.184 H 2.6°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#D04074
RGBrgb(208, 64, 116)
HSLhsl(338, 61%, 53%)
HSVhsv(338, 69%, 82%)
CMYKcmyk(0%, 69.2%, 44.2%, 18.4%)
CIE-LABlab(49.91, 60.09, 3.01)
CIE-LCHlch(49.91, 60.17, 2.86°)
OKLaboklab(59.21% 0.1839 0.0084)
OKLCHoklch(59.21% 0.184 2.6)
XYZxyz(31.0005, 18.3416, 18.4274)
Luminance0.1834 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D04074 #40D09C
analogous
#D040BC #D04074 #D05440
triadic
#D04074 #74D040 #4074D0
tetradic
#D04074 #BCD040 #40D09C #5440D0
square
#D04074 #BCD040 #40D09C #5440D0
split-complementary
#D04074 #40D054 #40BCD0
monochromatic
#781E3E #A92A58 #D04074 #DC7198 #E8A2BB

Accessibility & contrast

On white

4.50
#D04074 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.67
#D04074 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D04074
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D04074#FFFFFF#000000##000000
##D040741.004.504.674.67
#FFFFFF4.501.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F6575
Deuteranopia (green-blind)
#858171
Tritanopia (blue-blind)
#E22B55
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #d04074;
/* rgb */ color: rgb(208, 64, 116);
/* oklch */ color: oklch(59.2% 0.184 2.6);
Tailwind
colors: {
  custom: {
    50: '#e47f9b',
    500: '#d04074',
    950: '#000000',
  },
}
SCSS
$custom: #d04074;
$custom-light: #e47f9b;
$custom-dark: #000000;
JSON
{
  "hex": "#d04074",
  "rgb": {
    "r": 208,
    "g": 64,
    "b": 116
  },
  "hsl": {
    "h": 338.333,
    "s": 60.504,
    "l": 53.333
  },
  "oklch": {
    "l": 0.59212,
    "c": 0.18408,
    "h": 2.6
  },
  "luminance": 0.18338
}

Semantic roles & 50–950 ramp

primary
#D04074
secondary
#97D5BE
accent
#E4AA44
background
#FEF8F9
surface
#FDEFF2
border
#D5CACC
text
#170B0E
muted
#857C7E

Preview Lab

Preview with #D04074

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

Preview Lab → · Contrast checker → · Palette generator →

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