#D8518A#D8518A

#D8518A is a light, vivid pink. Relative luminance 0.223; OKLCH L 63.0% C 0.177 H 357.3°. Best body text is #000000 at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#D8518A
RGBrgb(216, 81, 138)
HSLhsl(335, 63%, 58%)
HSVhsv(335, 63%, 85%)
CMYKcmyk(0%, 62.5%, 36.1%, 15.3%)
CIE-LABlab(54.37, 57.95, -3.48)
CIE-LCHlch(54.37, 58.06, 356.56°)
OKLaboklab(62.98% 0.177 -0.0084)
OKLCHoklch(62.98% 0.177 357.3)
XYZxyz(35.8509, 22.3227, 26.4606)
Luminance0.2232 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8518A #51D89F
analogous
#D851CD #D8518A #D85B51
triadic
#D8518A #8AD851 #518AD8
tetradic
#D8518A #CDD851 #51D89F #5B51D8
square
#D8518A #CDD851 #51D89F #5B51D8
split-complementary
#D8518A #51D85B #51CDD8
monochromatic
#8F204F #C12B6A #D8518A #E383AC #EEB5CD

Accessibility & contrast

On white

3.84
#D8518A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.46
#D8518A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D8518A
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8518A#FFFFFF#000000##000000
##D8518A1.003.845.465.46
#FFFFFF3.841.0021.0021.00
#0000005.4621.001.001.00
##0000005.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#68728C
Deuteranopia (green-blind)
#8D8B87
Tritanopia (blue-blind)
#E84568
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #d8518a;
/* rgb */ color: rgb(216, 81, 138);
/* oklch */ color: oklch(63.0% 0.177 357.3);
Tailwind
colors: {
  custom: {
    50: '#e889ac',
    500: '#d8518a',
    950: '#000000',
  },
}
SCSS
$custom: #d8518a;
$custom-light: #e889ac;
$custom-dark: #000000;
JSON
{
  "hex": "#d8518a",
  "rgb": {
    "r": 216,
    "g": 81,
    "b": 138
  },
  "hsl": {
    "h": 334.667,
    "s": 63.38,
    "l": 58.235
  },
  "oklch": {
    "l": 0.62979,
    "c": 0.17724,
    "h": 357.3
  },
  "luminance": 0.22319
}

Semantic roles & 50–950 ramp

primary
#D8518A
secondary
#A8DDC7
accent
#E6A141
background
#FEF8FA
surface
#FDF0F4
border
#D5CBCE
text
#170C10
muted
#857D7F

Preview Lab

Preview with #D8518A

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

Preview Lab → · Contrast checker → · Palette generator →

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