#D1518C#D1518C

#D1518C is a light, vivid pink. Relative luminance 0.213; OKLCH L 62.0% C 0.172 H 354.6°. Best body text is #000000 at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#D1518C
RGBrgb(209, 81, 140)
HSLhsl(332, 58%, 57%)
HSVhsv(332, 61%, 82%)
CMYKcmyk(0%, 61.2%, 33%, 18%)
CIE-LABlab(53.32, 56.06, -6.35)
CIE-LCHlch(53.32, 56.42, 353.54°)
OKLaboklab(62% 0.1709 -0.016)
OKLCHoklch(62% 0.172 354.6)
XYZxyz(33.9723, 21.3372, 27.1353)
Luminance0.2133 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1518C #51D196
analogous
#D151CC #D1518C #D15651
triadic
#D1518C #8CD151 #518CD1
tetradic
#D1518C #CCD151 #51D196 #5651D1
square
#D1518C #CCD151 #51D196 #5651D1
split-complementary
#D1518C #51D156 #51CCD1
monochromatic
#852350 #B5306D #D1518C #DE81AC #EBB2CC

Accessibility & contrast

On white

3.99
#D1518C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.27
#D1518C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D1518C
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1518C#FFFFFF#000000##000000
##D1518C1.003.995.275.27
#FFFFFF3.991.0021.0021.00
#0000005.2721.001.001.00
##0000005.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#65718E
Deuteranopia (green-blind)
#888889
Tritanopia (blue-blind)
#E04868
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #d1518c;
/* rgb */ color: rgb(209, 81, 140);
/* oklch */ color: oklch(62.0% 0.172 354.6);
Tailwind
colors: {
  custom: {
    50: '#e388ad',
    500: '#d1518c',
    950: '#000000',
  },
}
SCSS
$custom: #d1518c;
$custom-light: #e388ad;
$custom-dark: #000000;
JSON
{
  "hex": "#d1518c",
  "rgb": {
    "r": 209,
    "g": 81,
    "b": 140
  },
  "hsl": {
    "h": 332.344,
    "s": 58.182,
    "l": 56.863
  },
  "oklch": {
    "l": 0.62004,
    "c": 0.17165,
    "h": 354.6
  },
  "luminance": 0.21334
}

Semantic roles & 50–950 ramp

primary
#D1518C
secondary
#A5D9C1
accent
#E19A46
background
#FEF8FA
surface
#FDF0F4
border
#D5CBCE
text
#160C10
muted
#847D7F

Preview Lab

Preview with #D1518C

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

Preview Lab → · Contrast checker → · Palette generator →

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