#D2518D#D2518D

#D2518D is a light, vivid pink. Relative luminance 0.215; OKLCH L 62.2% C 0.173 H 354.4°. Best body text is #000000 at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#D2518D
RGBrgb(210, 81, 141)
HSLhsl(332, 59%, 57%)
HSVhsv(332, 61%, 82%)
CMYKcmyk(0%, 61.4%, 32.9%, 17.6%)
CIE-LABlab(53.51, 56.48, -6.64)
CIE-LCHlch(53.51, 56.87, 353.29°)
OKLaboklab(62.19% 0.1722 -0.0168)
OKLCHoklch(62.19% 0.173 354.4)
XYZxyz(34.3303, 21.5132, 27.5387)
Luminance0.2151 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2518D #51D296
analogous
#D251CE #D2518D #D25651
triadic
#D2518D #8DD251 #518DD2
tetradic
#D2518D #CED251 #51D296 #5651D2
square
#D2518D #CED251 #51D296 #5651D2
split-complementary
#D2518D #51D256 #51CED2
monochromatic
#862351 #B72F6E #D2518D #DF82AD #EBB2CD

Accessibility & contrast

On white

3.96
#D2518D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.30
#D2518D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D2518D
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2518D#FFFFFF#000000##000000
##D2518D1.003.965.305.30
#FFFFFF3.961.0021.0021.00
#0000005.3021.001.001.00
##0000005.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#65718F
Deuteranopia (green-blind)
#88898A
Tritanopia (blue-blind)
#E14869
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #d2518d;
/* rgb */ color: rgb(210, 81, 141);
/* oklch */ color: oklch(62.2% 0.173 354.4);
Tailwind
colors: {
  custom: {
    50: '#e488ae',
    500: '#d2518d',
    950: '#000000',
  },
}
SCSS
$custom: #d2518d;
$custom-light: #e488ae;
$custom-dark: #000000;
JSON
{
  "hex": "#d2518d",
  "rgb": {
    "r": 210,
    "g": 81,
    "b": 141
  },
  "hsl": {
    "h": 332.093,
    "s": 58.904,
    "l": 57.059
  },
  "oklch": {
    "l": 0.62186,
    "c": 0.17301,
    "h": 354.4
  },
  "luminance": 0.2151
}

Semantic roles & 50–950 ramp

primary
#D2518D
secondary
#A5DAC1
accent
#E29946
background
#FEF8FA
surface
#FDF0F4
border
#D5CBCE
text
#160C10
muted
#847D7F

Preview Lab

Preview with #D2518D

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

Preview Lab → · Contrast checker → · Palette generator →

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