#D8418D#D8418D

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

Color values

HEX#D8418D
RGBrgb(216, 65, 141)
HSLhsl(330, 66%, 55%)
HSVhsv(330, 70%, 85%)
CMYKcmyk(0%, 69.9%, 34.7%, 15.3%)
CIE-LABlab(52.18, 64.56, -8.51)
CIE-LCHlch(52.18, 65.12, 352.49°)
OKLaboklab(61.4% 0.1977 -0.0217)
OKLCHoklch(61.4% 0.199 353.7)
XYZxyz(35.0190, 20.3067, 27.2696)
Luminance0.2030 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8418D #41D88C
analogous
#D741D8 #D8418D #D84142
triadic
#D8418D #8DD841 #418DD8
tetradic
#D8418D #D8D741 #41D88C #4142D8
square
#D8418D #D8D741 #41D88C #4142D8
split-complementary
#D8418D #42D841 #41D8D7
monochromatic
#841B50 #B6256E #D8418D #E274AB #EDA7CA

Accessibility & contrast

On white

4.15
#D8418D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#D8418D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D8418D
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8418D#FFFFFF#000000##000000
##D8418D1.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B6B8F
Deuteranopia (green-blind)
#86878A
Tritanopia (blue-blind)
#E83461
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #d8418d;
/* rgb */ color: rgb(216, 65, 141);
/* oklch */ color: oklch(61.4% 0.199 353.7);
Tailwind
colors: {
  custom: {
    50: '#e981ae',
    500: '#d8418d',
    950: '#000000',
  },
}
SCSS
$custom: #d8418d;
$custom-light: #e981ae;
$custom-dark: #000000;
JSON
{
  "hex": "#d8418d",
  "rgb": {
    "r": 216,
    "g": 65,
    "b": 141
  },
  "hsl": {
    "h": 329.801,
    "s": 65.939,
    "l": 55.098
  },
  "oklch": {
    "l": 0.61396,
    "c": 0.19884,
    "h": 353.7
  },
  "luminance": 0.20303
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D8418D

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

Preview Lab → · Contrast checker → · Palette generator →

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