#D0518F#D0518F

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

Color values

HEX#D0518F
RGBrgb(208, 81, 143)
HSLhsl(331, 57%, 57%)
HSVhsv(331, 61%, 82%)
CMYKcmyk(0%, 61.1%, 31.3%, 18.4%)
CIE-LABlab(53.26, 56.12, -8.23)
CIE-LCHlch(53.26, 56.72, 351.65°)
OKLaboklab(61.96% 0.1708 -0.0211)
OKLCHoklch(61.96% 0.172 353)
XYZxyz(33.9144, 21.2814, 28.3029)
Luminance0.2128 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D0518F #51D092
analogous
#D051CE #D0518F #D05351
triadic
#D0518F #8FD051 #518FD0
tetradic
#D0518F #CED051 #51D092 #5351D0
square
#D0518F #CED051 #51D092 #5351D0
split-complementary
#D0518F #51D053 #51CED0
monochromatic
#832352 #B33070 #D0518F #DD81AE #EAB1CD

Accessibility & contrast

On white

4.00
#D0518F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.26
#D0518F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D0518F
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D0518F#FFFFFF#000000##000000
##D0518F1.004.005.265.26
#FFFFFF4.001.0021.0021.00
#0000005.2621.001.001.00
##0000005.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#647191
Deuteranopia (green-blind)
#86888C
Tritanopia (blue-blind)
#DF4A6A
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #d0518f;
/* rgb */ color: rgb(208, 81, 143);
/* oklch */ color: oklch(62.0% 0.172 353.0);
Tailwind
colors: {
  custom: {
    50: '#e288af',
    500: '#d0518f',
    950: '#000000',
  },
}
SCSS
$custom: #d0518f;
$custom-light: #e288af;
$custom-dark: #000000;
JSON
{
  "hex": "#d0518f",
  "rgb": {
    "r": 208,
    "g": 81,
    "b": 143
  },
  "hsl": {
    "h": 330.709,
    "s": 57.466,
    "l": 56.667
  },
  "oklch": {
    "l": 0.61961,
    "c": 0.17213,
    "h": 353
  },
  "luminance": 0.21278
}

Semantic roles & 50–950 ramp

primary
#D0518F
secondary
#A4D8BF
accent
#E19647
background
#FEF8FA
surface
#FDF0F4
border
#D5CBCE
text
#160C10
muted
#847D7F

Preview Lab

Preview with #D0518F

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

Preview Lab → · Contrast checker → · Palette generator →

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