#D5418E#D5418E

#D5418E is a mid, vivid pink. Relative luminance 0.199; OKLCH L 61.0% C 0.197 H 352.6°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#D5418E
RGBrgb(213, 65, 142)
HSLhsl(329, 64%, 55%)
HSVhsv(329, 69%, 84%)
CMYKcmyk(0%, 69.5%, 33.3%, 16.5%)
CIE-LABlab(51.71, 63.85, -9.87)
CIE-LCHlch(51.71, 64.61, 351.21°)
OKLaboklab(60.96% 0.1953 -0.0254)
OKLCHoklch(60.96% 0.197 352.6)
XYZxyz(34.2153, 19.8836, 27.6220)
Luminance0.1988 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5418E #41D588
analogous
#D241D5 #D5418E #D54144
triadic
#D5418E #8ED541 #418ED5
tetradic
#D5418E #D5D241 #41D588 #4144D5
square
#D5418E #D5D241 #41D588 #4144D5
split-complementary
#D5418E #44D541 #41D5D2
monochromatic
#7F1C50 #B2276F #D5418E #E073AC #EBA5CA

Accessibility & contrast

On white

4.22
#D5418E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#D5418E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D5418E
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5418E#FFFFFF#000000##000000
##D5418E1.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A6A90
Deuteranopia (green-blind)
#83858B
Tritanopia (blue-blind)
#E53662
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #d5418e;
/* rgb */ color: rgb(213, 65, 142);
/* oklch */ color: oklch(61.0% 0.197 352.6);
Tailwind
colors: {
  custom: {
    50: '#e781af',
    500: '#d5418e',
    950: '#000000',
  },
}
SCSS
$custom: #d5418e;
$custom-light: #e781af;
$custom-dark: #000000;
JSON
{
  "hex": "#d5418e",
  "rgb": {
    "r": 213,
    "g": 65,
    "b": 142
  },
  "hsl": {
    "h": 328.784,
    "s": 63.793,
    "l": 54.51
  },
  "oklch": {
    "l": 0.60961,
    "c": 0.1969,
    "h": 352.6
  },
  "luminance": 0.1988
}

Semantic roles & 50–950 ramp

primary
#D5418E
secondary
#9AD8B8
accent
#E79141
background
#FEF8FA
surface
#FDEFF4
border
#D5CACE
text
#170B10
muted
#857C7F

Preview Lab

Preview with #D5418E

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

Preview Lab → · Contrast checker → · Palette generator →

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