#D84878#D84878

#D84878 is a mid, vivid pink. Relative luminance 0.206; OKLCH L 61.4% C 0.183 H 3.8°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#D84878
RGBrgb(216, 72, 120)
HSLhsl(340, 65%, 56%)
HSVhsv(340, 67%, 85%)
CMYKcmyk(0%, 66.7%, 44.4%, 15.3%)
CIE-LABlab(52.50, 59.77, 4.52)
CIE-LCHlch(52.50, 59.94, 4.32°)
OKLaboklab(61.43% 0.1826 0.0123)
OKLCHoklch(61.43% 0.183 3.8)
XYZxyz(34.0290, 20.5940, 19.9487)
Luminance0.2059 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D84878 #48D8A8
analogous
#D848C0 #D84878 #D86048
triadic
#D84878 #78D848 #4878D8
tetradic
#D84878 #C0D848 #48D8A8 #6048D8
square
#D84878 #C0D848 #48D8A8 #6048D8
split-complementary
#D84878 #48D860 #48C0D8
monochromatic
#891D41 #BB2859 #D84878 #E37A9D #EEADC2

Accessibility & contrast

On white

4.10
#D84878 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#D84878 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D84878
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D84878#FFFFFF#000000##000000
##D848781.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#676B79
Deuteranopia (green-blind)
#8D8875
Tritanopia (blue-blind)
#EA345B
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #d84878;
/* rgb */ color: rgb(216, 72, 120);
/* oklch */ color: oklch(61.4% 0.183 3.8);
Tailwind
colors: {
  custom: {
    50: '#e9849e',
    500: '#d84878',
    950: '#000000',
  },
}
SCSS
$custom: #d84878;
$custom-light: #e9849e;
$custom-dark: #000000;
JSON
{
  "hex": "#d84878",
  "rgb": {
    "r": 216,
    "g": 72,
    "b": 120
  },
  "hsl": {
    "h": 340,
    "s": 64.865,
    "l": 56.471
  },
  "oklch": {
    "l": 0.61426,
    "c": 0.18303,
    "h": 3.8
  },
  "luminance": 0.2059
}

Semantic roles & 50–950 ramp

primary
#D84878
secondary
#A0DBC8
accent
#E8B040
background
#FFF8F9
surface
#FEF0F2
border
#D6CBCC
text
#170B0E
muted
#857C7E

Preview Lab

Preview with #D84878

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

Preview Lab → · Contrast checker → · Palette generator →

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