#D8418E#D8418E

#D8418E is a mid, vivid pink. Relative luminance 0.203; OKLCH L 61.4% C 0.199 H 353.3°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#D8418E
RGBrgb(216, 65, 142)
HSLhsl(329, 66%, 55%)
HSVhsv(329, 70%, 85%)
CMYKcmyk(0%, 69.9%, 34.3%, 15.3%)
CIE-LABlab(52.22, 64.67, -9.06)
CIE-LCHlch(52.22, 65.30, 352.03°)
OKLaboklab(61.43% 0.1979 -0.0232)
OKLCHoklch(61.43% 0.199 353.3)
XYZxyz(35.0937, 20.3366, 27.6632)
Luminance0.2033 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8418E #41D88B
analogous
#D741D8 #D8418E #D84142
triadic
#D8418E #8ED841 #418ED8
tetradic
#D8418E #D8D741 #41D88B #4142D8
square
#D8418E #D8D741 #41D88B #4142D8
split-complementary
#D8418E #42D841 #41D8D7
monochromatic
#841B50 #B6256F #D8418E #E274AC #EDA7CA

Accessibility & contrast

On white

4.14
#D8418E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#D8418E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D8418E
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8418E#FFFFFF#000000##000000
##D8418E1.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B6B90
Deuteranopia (green-blind)
#85878B
Tritanopia (blue-blind)
#E83562
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #d8418e;
/* rgb */ color: rgb(216, 65, 142);
/* oklch */ color: oklch(61.4% 0.199 353.3);
Tailwind
colors: {
  custom: {
    50: '#e981af',
    500: '#d8418e',
    950: '#000000',
  },
}
SCSS
$custom: #d8418e;
$custom-light: #e981af;
$custom-dark: #000000;
JSON
{
  "hex": "#d8418e",
  "rgb": {
    "r": 216,
    "g": 65,
    "b": 142
  },
  "hsl": {
    "h": 329.404,
    "s": 65.939,
    "l": 55.098
  },
  "oklch": {
    "l": 0.61432,
    "c": 0.19929,
    "h": 353.3
  },
  "luminance": 0.20333
}

Semantic roles & 50–950 ramp

primary
#D8418E
secondary
#9BDABA
accent
#E9923F
background
#FEF8FA
surface
#FDEFF4
border
#D5CACE
text
#170B10
muted
#857C7F

Preview Lab

Preview with #D8418E

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

Preview Lab → · Contrast checker → · Palette generator →

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