#D8518E#D8518E

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

Color values

HEX#D8518E
RGBrgb(216, 81, 142)
HSLhsl(333, 63%, 58%)
HSVhsv(333, 63%, 85%)
CMYKcmyk(0%, 62.5%, 34.3%, 15.3%)
CIE-LABlab(54.49, 58.41, -5.67)
CIE-LCHlch(54.49, 58.68, 354.46°)
OKLaboklab(63.11% 0.1783 -0.0142)
OKLCHoklch(63.11% 0.179 355.4)
XYZxyz(36.1458, 22.4407, 28.0139)
Luminance0.2244 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8518E #51D89B
analogous
#D851D1 #D8518E #D85751
triadic
#D8518E #8ED851 #518ED8
tetradic
#D8518E #D1D851 #51D89B #5751D8
square
#D8518E #D1D851 #51D89B #5751D8
split-complementary
#D8518E #51D857 #51D1D8
monochromatic
#8F2052 #C12B6F #D8518E #E383AE #EEB5CF

Accessibility & contrast

On white

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

On black

5.49
#D8518E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D8518E
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8518E#FFFFFF#000000##000000
##D8518E1.003.835.495.49
#FFFFFF3.831.0021.0021.00
#0000005.4921.001.001.00
##0000005.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#677390
Deuteranopia (green-blind)
#8C8C8B
Tritanopia (blue-blind)
#E84769
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #d8518e;
/* rgb */ color: rgb(216, 81, 142);
/* oklch */ color: oklch(63.1% 0.179 355.4);
Tailwind
colors: {
  custom: {
    50: '#e889af',
    500: '#d8518e',
    950: '#000000',
  },
}
SCSS
$custom: #d8518e;
$custom-light: #e889af;
$custom-dark: #000000;
JSON
{
  "hex": "#d8518e",
  "rgb": {
    "r": 216,
    "g": 81,
    "b": 142
  },
  "hsl": {
    "h": 332.889,
    "s": 63.38,
    "l": 58.235
  },
  "oklch": {
    "l": 0.63111,
    "c": 0.17885,
    "h": 355.4
  },
  "luminance": 0.22437
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D8518E

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

Preview Lab → · Contrast checker → · Palette generator →

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