#D94087#D94087

#D94087 is a mid, vivid pink. Relative luminance 0.202; OKLCH L 61.3% C 0.198 H 356.3°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#D94087
RGBrgb(217, 64, 135)
HSLhsl(332, 67%, 55%)
HSVhsv(332, 71%, 85%)
CMYKcmyk(0%, 70.5%, 37.8%, 14.9%)
CIE-LABlab(52.03, 64.54, -5.14)
CIE-LCHlch(52.03, 64.75, 355.45°)
OKLaboklab(61.25% 0.1979 -0.0127)
OKLCHoklch(61.25% 0.198 356.3)
XYZxyz(34.8241, 20.1720, 24.9767)
Luminance0.2017 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D94087 #40D992
analogous
#D940D3 #D94087 #D94640
triadic
#D94087 #87D940 #4087D9
tetradic
#D94087 #D3D940 #40D992 #4640D9
square
#D94087 #D3D940 #40D992 #4640D9
split-complementary
#D94087 #40D946 #40D3D9
monochromatic
#841A4B #B72469 #D94087 #E373A7 #EDA6C7

Accessibility & contrast

On white

4.17
#D94087 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#D94087 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D94087
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D94087#FFFFFF#000000##000000
##D940871.004.175.035.03
#FFFFFF4.171.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D6A89
Deuteranopia (green-blind)
#878683
Tritanopia (blue-blind)
#EA305E
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #d94087;
/* rgb */ color: rgb(217, 64, 135);
/* oklch */ color: oklch(61.3% 0.198 356.3);
Tailwind
colors: {
  custom: {
    50: '#ea80a9',
    500: '#d94087',
    950: '#000000',
  },
}
SCSS
$custom: #d94087;
$custom-light: #ea80a9;
$custom-dark: #000000;
JSON
{
  "hex": "#d94087",
  "rgb": {
    "r": 217,
    "g": 64,
    "b": 135
  },
  "hsl": {
    "h": 332.157,
    "s": 66.812,
    "l": 55.098
  },
  "oklch": {
    "l": 0.61254,
    "c": 0.19831,
    "h": 356.3
  },
  "luminance": 0.20168
}

Semantic roles & 50–950 ramp

primary
#D94087
secondary
#9ADABD
accent
#EA9A3E
background
#FFF8FA
surface
#FEEFF4
border
#D6CACE
text
#170B10
muted
#857C7F

Preview Lab

Preview with #D94087

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

Preview Lab → · Contrast checker → · Palette generator →

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