#D8518C#D8518C

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

Color values

HEX#D8518C
RGBrgb(216, 81, 140)
HSLhsl(334, 63%, 58%)
HSVhsv(334, 63%, 85%)
CMYKcmyk(0%, 62.5%, 35.2%, 15.3%)
CIE-LABlab(54.43, 58.18, -4.58)
CIE-LCHlch(54.43, 58.36, 355.50°)
OKLaboklab(63.04% 0.1777 -0.0113)
OKLCHoklch(63.04% 0.178 356.4)
XYZxyz(35.9970, 22.3812, 27.2302)
Luminance0.2238 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8518C #51D89D
analogous
#D851CF #D8518C #D85951
triadic
#D8518C #8CD851 #518CD8
tetradic
#D8518C #CFD851 #51D89D #5951D8
square
#D8518C #CFD851 #51D89D #5951D8
split-complementary
#D8518C #51D859 #51CFD8
monochromatic
#8F2050 #C12B6C #D8518C #E383AD #EEB5CE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D8518C#FFFFFF#000000##000000
##D8518C1.003.845.485.48
#FFFFFF3.841.0021.0021.00
#0000005.4821.001.001.00
##0000005.4821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d8518c;
/* rgb */ color: rgb(216, 81, 140);
/* oklch */ color: oklch(63.0% 0.178 356.4);
Tailwind
colors: {
  custom: {
    50: '#e889ad',
    500: '#d8518c',
    950: '#000000',
  },
}
SCSS
$custom: #d8518c;
$custom-light: #e889ad;
$custom-dark: #000000;
JSON
{
  "hex": "#d8518c",
  "rgb": {
    "r": 216,
    "g": 81,
    "b": 140
  },
  "hsl": {
    "h": 333.778,
    "s": 63.38,
    "l": 58.235
  },
  "oklch": {
    "l": 0.63045,
    "c": 0.17803,
    "h": 356.4
  },
  "luminance": 0.22377
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D8518C

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

Preview Lab → · Contrast checker → · Palette generator →

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