#D8518B#D8518B

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

Color values

HEX#D8518B
RGBrgb(216, 81, 139)
HSLhsl(334, 63%, 58%)
HSVhsv(334, 63%, 85%)
CMYKcmyk(0%, 62.5%, 35.6%, 15.3%)
CIE-LABlab(54.40, 58.07, -4.03)
CIE-LCHlch(54.40, 58.21, 356.03°)
OKLaboklab(63.01% 0.1774 -0.0099)
OKLCHoklch(63.01% 0.178 356.8)
XYZxyz(35.9236, 22.3518, 26.8436)
Luminance0.2235 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8518B #51D89E
analogous
#D851CE #D8518B #D85A51
triadic
#D8518B #8BD851 #518BD8
tetradic
#D8518B #CED851 #51D89E #5A51D8
square
#D8518B #CED851 #51D89E #5A51D8
split-complementary
#D8518B #51D85A #51CED8
monochromatic
#8F2050 #C12B6B #D8518B #E383AC #EEB5CE

Accessibility & contrast

On white

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

On black

5.47
#D8518B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D8518B
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8518B#FFFFFF#000000##000000
##D8518B1.003.845.475.47
#FFFFFF3.841.0021.0021.00
#0000005.4721.001.001.00
##0000005.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#68728D
Deuteranopia (green-blind)
#8C8B88
Tritanopia (blue-blind)
#E84668
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #d8518b;
/* rgb */ color: rgb(216, 81, 139);
/* oklch */ color: oklch(63.0% 0.178 356.8);
Tailwind
colors: {
  custom: {
    50: '#e889ac',
    500: '#d8518b',
    950: '#000000',
  },
}
SCSS
$custom: #d8518b;
$custom-light: #e889ac;
$custom-dark: #000000;
JSON
{
  "hex": "#d8518b",
  "rgb": {
    "r": 216,
    "g": 81,
    "b": 139
  },
  "hsl": {
    "h": 334.222,
    "s": 63.38,
    "l": 58.235
  },
  "oklch": {
    "l": 0.63012,
    "c": 0.17762,
    "h": 356.8
  },
  "luminance": 0.22348
}

Semantic roles & 50–950 ramp

primary
#D8518B
secondary
#A8DDC6
accent
#E6A041
background
#FEF8FA
surface
#FDF0F4
border
#D5CBCE
text
#170C10
muted
#857D7F

Preview Lab

Preview with #D8518B

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

Preview Lab → · Contrast checker → · Palette generator →

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