#D8518D#D8518D

#D8518D is a light, vivid pink. Relative luminance 0.224; OKLCH L 63.1% C 0.178 H 355.9°. Best body text is #000000 at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#D8518D
RGBrgb(216, 81, 141)
HSLhsl(333, 63%, 58%)
HSVhsv(333, 63%, 85%)
CMYKcmyk(0%, 62.5%, 34.7%, 15.3%)
CIE-LABlab(54.46, 58.29, -5.12)
CIE-LCHlch(54.46, 58.52, 354.98°)
OKLaboklab(63.08% 0.178 -0.0127)
OKLCHoklch(63.08% 0.178 355.9)
XYZxyz(36.0711, 22.4108, 27.6203)
Luminance0.2241 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8518D #51D89C
analogous
#D851D1 #D8518D #D85851
triadic
#D8518D #8DD851 #518DD8
tetradic
#D8518D #D1D851 #51D89C #5851D8
square
#D8518D #D1D851 #51D89C #5851D8
split-complementary
#D8518D #51D858 #51D1D8
monochromatic
#8F2051 #C12B6E #D8518D #E383AE #EEB5CF

Accessibility & contrast

On white

3.83
#D8518D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.48
#D8518D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D8518D
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8518D#FFFFFF#000000##000000
##D8518D1.003.835.485.48
#FFFFFF3.831.0021.0021.00
#0000005.4821.001.001.00
##0000005.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#67728F
Deuteranopia (green-blind)
#8C8C8A
Tritanopia (blue-blind)
#E84669
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #d8518d;
/* rgb */ color: rgb(216, 81, 141);
/* oklch */ color: oklch(63.1% 0.178 355.9);
Tailwind
colors: {
  custom: {
    50: '#e889ae',
    500: '#d8518d',
    950: '#000000',
  },
}
SCSS
$custom: #d8518d;
$custom-light: #e889ae;
$custom-dark: #000000;
JSON
{
  "hex": "#d8518d",
  "rgb": {
    "r": 216,
    "g": 81,
    "b": 141
  },
  "hsl": {
    "h": 333.333,
    "s": 63.38,
    "l": 58.235
  },
  "oklch": {
    "l": 0.63078,
    "c": 0.17844,
    "h": 355.9
  },
  "luminance": 0.22407
}

Semantic roles & 50–950 ramp

primary
#D8518D
secondary
#A8DDC5
accent
#E69D41
background
#FEF8FA
surface
#FDF0F4
border
#D5CBCE
text
#170C10
muted
#857D7F

Preview Lab

Preview with #D8518D

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

Preview Lab → · Contrast checker → · Palette generator →

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