#D04874#D04874

#D04874 is a mid, vivid pink. Relative luminance 0.193; OKLCH L 60.1% C 0.174 H 4.1°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#D04874
RGBrgb(208, 72, 116)
HSLhsl(341, 59%, 55%)
HSVhsv(341, 65%, 82%)
CMYKcmyk(0%, 65.4%, 44.2%, 18.4%)
CIE-LABlab(51.05, 56.96, 4.65)
CIE-LCHlch(51.05, 57.15, 4.67°)
OKLaboklab(60.06% 0.1739 0.0126)
OKLCHoklch(60.06% 0.174 4.1)
XYZxyz(31.4845, 19.3094, 18.5887)
Luminance0.1931 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D04874 #48D0A4
analogous
#D048B8 #D04874 #D06048
triadic
#D04874 #74D048 #4874D0
tetradic
#D04874 #B8D048 #48D0A4 #6048D0
square
#D04874 #B8D048 #48D0A4 #6048D0
split-complementary
#D04874 #48D060 #48B8D0
monochromatic
#7D203E #AE2D57 #D04874 #DD7999 #E9A9BE

Accessibility & contrast

On white

4.32
#D04874 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#D04874 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D04874
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D04874#FFFFFF#000000##000000
##D048741.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#646975
Deuteranopia (green-blind)
#888371
Tritanopia (blue-blind)
#E13659
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #d04874;
/* rgb */ color: rgb(208, 72, 116);
/* oklch */ color: oklch(60.1% 0.174 4.1);
Tailwind
colors: {
  custom: {
    50: '#e3839b',
    500: '#d04874',
    950: '#000000',
  },
}
SCSS
$custom: #d04874;
$custom-light: #e3839b;
$custom-dark: #000000;
JSON
{
  "hex": "#d04874",
  "rgb": {
    "r": 208,
    "g": 72,
    "b": 116
  },
  "hsl": {
    "h": 340.588,
    "s": 59.13,
    "l": 54.902
  },
  "oklch": {
    "l": 0.60056,
    "c": 0.17438,
    "h": 4.1
  },
  "luminance": 0.19306
}

Semantic roles & 50–950 ramp

primary
#D04874
secondary
#9DD7C4
accent
#E2B045
background
#FEF8F9
surface
#FDEFF2
border
#D5CACC
text
#160B0E
muted
#847C7E

Preview Lab

Preview with #D04874

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

Preview Lab → · Contrast checker → · Palette generator →

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