#D7418E#D7418E

#D7418E is a mid, vivid pink. Relative luminance 0.202; OKLCH L 61.3% C 0.199 H 353.1°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#D7418E
RGBrgb(215, 65, 142)
HSLhsl(329, 65%, 55%)
HSVhsv(329, 70%, 84%)
CMYKcmyk(0%, 69.8%, 34%, 15.7%)
CIE-LABlab(52.05, 64.40, -9.33)
CIE-LCHlch(52.05, 65.07, 351.76°)
OKLaboklab(61.28% 0.1971 -0.0239)
OKLCHoklch(61.28% 0.199 353.1)
XYZxyz(34.7991, 20.1847, 27.6494)
Luminance0.2018 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7418E #41D78A
analogous
#D541D7 #D7418E #D74143
triadic
#D7418E #8ED741 #418ED7
tetradic
#D7418E #D7D541 #41D78A #4143D7
square
#D7418E #D7D541 #41D78A #4143D7
split-complementary
#D7418E #43D741 #41D7D5
monochromatic
#821B50 #B5266F #D7418E #E274AC #ECA6CA

Accessibility & contrast

On white

4.17
#D7418E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#D7418E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D7418E
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7418E#FFFFFF#000000##000000
##D7418E1.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B6B90
Deuteranopia (green-blind)
#85868B
Tritanopia (blue-blind)
#E73562
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #d7418e;
/* rgb */ color: rgb(215, 65, 142);
/* oklch */ color: oklch(61.3% 0.199 353.1);
Tailwind
colors: {
  custom: {
    50: '#e881af',
    500: '#d7418e',
    950: '#000000',
  },
}
SCSS
$custom: #d7418e;
$custom-light: #e881af;
$custom-dark: #000000;
JSON
{
  "hex": "#d7418e",
  "rgb": {
    "r": 215,
    "g": 65,
    "b": 142
  },
  "hsl": {
    "h": 329.2,
    "s": 65.217,
    "l": 54.902
  },
  "oklch": {
    "l": 0.61275,
    "c": 0.1985,
    "h": 353.1
  },
  "luminance": 0.20181
}

Semantic roles & 50–950 ramp

primary
#D7418E
secondary
#9AD9B9
accent
#E89240
background
#FEF8FA
surface
#FDEFF4
border
#D5CACE
text
#170B10
muted
#857C7F

Preview Lab

Preview with #D7418E

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

Preview Lab → · Contrast checker → · Palette generator →

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