#D94878#D94878

#D94878 is a mid, vivid pink. Relative luminance 0.207; OKLCH L 61.6% C 0.184 H 4.0°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#D94878
RGBrgb(217, 72, 120)
HSLhsl(340, 66%, 57%)
HSVhsv(340, 67%, 85%)
CMYKcmyk(0%, 66.8%, 44.7%, 14.9%)
CIE-LABlab(52.67, 60.07, 4.78)
CIE-LCHlch(52.67, 60.26, 4.55°)
OKLaboklab(61.58% 0.1835 0.0129)
OKLCHoklch(61.58% 0.184 4)
XYZxyz(34.3254, 20.7468, 19.9626)
Luminance0.2074 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D94878 #48D9A9
analogous
#D948C1 #D94878 #D96148
triadic
#D94878 #78D948 #4878D9
tetradic
#D94878 #C1D948 #48D9A9 #6148D9
square
#D94878 #C1D948 #48D9A9 #6148D9
split-complementary
#D94878 #48D961 #48C1D9
monochromatic
#8A1D41 #BD2759 #D94878 #E47B9D #EEADC3

Accessibility & contrast

On white

4.08
#D94878 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#D94878 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D94878
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D94878#FFFFFF#000000##000000
##D948781.004.085.155.15
#FFFFFF4.081.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#676C79
Deuteranopia (green-blind)
#8D8875
Tritanopia (blue-blind)
#EB335B
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #d94878;
/* rgb */ color: rgb(217, 72, 120);
/* oklch */ color: oklch(61.6% 0.184 4.0);
Tailwind
colors: {
  custom: {
    50: '#ea849e',
    500: '#d94878',
    950: '#000000',
  },
}
SCSS
$custom: #d94878;
$custom-light: #ea849e;
$custom-dark: #000000;
JSON
{
  "hex": "#d94878",
  "rgb": {
    "r": 217,
    "g": 72,
    "b": 120
  },
  "hsl": {
    "h": 340.138,
    "s": 65.611,
    "l": 56.667
  },
  "oklch": {
    "l": 0.61583,
    "c": 0.18397,
    "h": 4
  },
  "luminance": 0.20743
}

Semantic roles & 50–950 ramp

primary
#D94878
secondary
#A1DCC8
accent
#E9B13F
background
#FFF8F9
surface
#FEF0F2
border
#D6CBCC
text
#170C0E
muted
#857D7E

Preview Lab

Preview with #D94878

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

Preview Lab → · Contrast checker → · Palette generator →

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