#D94872#D94872

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

Color values

HEX#D94872
RGBrgb(217, 72, 114)
HSLhsl(343, 66%, 57%)
HSVhsv(343, 67%, 85%)
CMYKcmyk(0%, 66.8%, 47.5%, 14.9%)
CIE-LABlab(52.52, 59.52, 8.15)
CIE-LCHlch(52.52, 60.07, 7.80°)
OKLaboklab(61.42% 0.1814 0.0214)
OKLCHoklch(61.42% 0.183 6.7)
XYZxyz(33.9726, 20.6057, 18.1046)
Luminance0.2060 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D94872 #48D9AF
analogous
#D948BA #D94872 #D96748
triadic
#D94872 #72D948 #4872D9
tetradic
#D94872 #BAD948 #48D9AF #6748D9
square
#D94872 #BAD948 #48D9AF #6748D9
split-complementary
#D94872 #48D967 #48BAD9
monochromatic
#8A1D3C #BD2752 #D94872 #E47B99 #EEADC0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D94872#FFFFFF#000000##000000
##D948721.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)
#686B73
Deuteranopia (green-blind)
#8E886F
Tritanopia (blue-blind)
#EC3159
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #d94872;
/* rgb */ color: rgb(217, 72, 114);
/* oklch */ color: oklch(61.4% 0.183 6.7);
Tailwind
colors: {
  custom: {
    50: '#ea849a',
    500: '#d94872',
    950: '#000000',
  },
}
SCSS
$custom: #d94872;
$custom-light: #ea849a;
$custom-dark: #000000;
JSON
{
  "hex": "#d94872",
  "rgb": {
    "r": 217,
    "g": 72,
    "b": 114
  },
  "hsl": {
    "h": 342.621,
    "s": 65.611,
    "l": 56.667
  },
  "oklch": {
    "l": 0.61416,
    "c": 0.18261,
    "h": 6.7
  },
  "luminance": 0.20601
}

Semantic roles & 50–950 ramp

primary
#D94872
secondary
#A1DCCB
accent
#E9B83F
background
#FFF8F9
surface
#FEF0F2
border
#D6CBCC
text
#170B0E
muted
#857C7E

Preview Lab

Preview with #D94872

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

Preview Lab → · Contrast checker → · Palette generator →

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