#D8418F#D8418F

#D8418F is a mid, vivid pink. Relative luminance 0.204; OKLCH L 61.5% C 0.200 H 352.9°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#D8418F
RGBrgb(216, 65, 143)
HSLhsl(329, 66%, 55%)
HSVhsv(329, 70%, 85%)
CMYKcmyk(0%, 69.9%, 33.8%, 15.3%)
CIE-LABlab(52.25, 64.78, -9.60)
CIE-LCHlch(52.25, 65.49, 351.57°)
OKLaboklab(61.47% 0.1982 -0.0246)
OKLCHoklch(61.47% 0.2 352.9)
XYZxyz(35.1692, 20.3668, 28.0604)
Luminance0.2036 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8418F #41D88A
analogous
#D641D8 #D8418F #D84143
triadic
#D8418F #8FD841 #418FD8
tetradic
#D8418F #D8D641 #41D88A #4143D8
square
#D8418F #D8D641 #41D88A #4143D8
split-complementary
#D8418F #43D841 #41D8D6
monochromatic
#841B51 #B62570 #D8418F #E274AD #EDA7CB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D8418F#FFFFFF#000000##000000
##D8418F1.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)
#5B6B91
Deuteranopia (green-blind)
#85878C
Tritanopia (blue-blind)
#E83562
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #d8418f;
/* rgb */ color: rgb(216, 65, 143);
/* oklch */ color: oklch(61.5% 0.200 352.9);
Tailwind
colors: {
  custom: {
    50: '#e981af',
    500: '#d8418f',
    950: '#000000',
  },
}
SCSS
$custom: #d8418f;
$custom-light: #e981af;
$custom-dark: #000000;
JSON
{
  "hex": "#d8418f",
  "rgb": {
    "r": 216,
    "g": 65,
    "b": 143
  },
  "hsl": {
    "h": 329.007,
    "s": 65.939,
    "l": 55.098
  },
  "oklch": {
    "l": 0.61468,
    "c": 0.19973,
    "h": 352.9
  },
  "luminance": 0.20363
}

Semantic roles & 50–950 ramp

primary
#D8418F
secondary
#9BDAB9
accent
#E9913F
background
#FEF8FA
surface
#FDEFF4
border
#D5CACE
text
#170B10
muted
#857C7F

Preview Lab

Preview with #D8418F

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

Preview Lab → · Contrast checker → · Palette generator →

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