#D0518C#D0518C

#D0518C is a mid, vivid pink. Relative luminance 0.212; OKLCH L 61.9% C 0.171 H 354.4°. Best body text is #000000 at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#D0518C
RGBrgb(208, 81, 140)
HSLhsl(332, 57%, 57%)
HSVhsv(332, 61%, 82%)
CMYKcmyk(0%, 61.1%, 32.7%, 18.4%)
CIE-LABlab(53.16, 55.76, -6.60)
CIE-LCHlch(53.16, 56.15, 353.25°)
OKLaboklab(61.86% 0.1699 -0.0167)
OKLCHoklch(61.86% 0.171 354.4)
XYZxyz(33.6902, 21.1918, 27.1220)
Luminance0.2119 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D0518C #51D095
analogous
#D051CC #D0518C #D05651
triadic
#D0518C #8CD051 #518CD0
tetradic
#D0518C #CCD051 #51D095 #5651D0
square
#D0518C #CCD051 #51D095 #5651D0
split-complementary
#D0518C #51D056 #51CCD0
monochromatic
#832350 #B3306D #D0518C #DD81AC #EAB1CC

Accessibility & contrast

On white

4.01
#D0518C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.24
#D0518C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D0518C
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D0518C#FFFFFF#000000##000000
##D0518C1.004.015.245.24
#FFFFFF4.011.0021.0021.00
#0000005.2421.001.001.00
##0000005.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#65708E
Deuteranopia (green-blind)
#878889
Tritanopia (blue-blind)
#DF4968
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #d0518c;
/* rgb */ color: rgb(208, 81, 140);
/* oklch */ color: oklch(61.9% 0.171 354.4);
Tailwind
colors: {
  custom: {
    50: '#e288ad',
    500: '#d0518c',
    950: '#000000',
  },
}
SCSS
$custom: #d0518c;
$custom-light: #e288ad;
$custom-dark: #000000;
JSON
{
  "hex": "#d0518c",
  "rgb": {
    "r": 208,
    "g": 81,
    "b": 140
  },
  "hsl": {
    "h": 332.126,
    "s": 57.466,
    "l": 56.667
  },
  "oklch": {
    "l": 0.61856,
    "c": 0.17074,
    "h": 354.4
  },
  "luminance": 0.21188
}

Semantic roles & 50–950 ramp

primary
#D0518C
secondary
#A4D8C0
accent
#E19947
background
#FEF8FA
surface
#FDF0F4
border
#D5CBCE
text
#160C10
muted
#847D7F

Preview Lab

Preview with #D0518C

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

Preview Lab → · Contrast checker → · Palette generator →

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