#D7418D#D7418D

#D7418D is a mid, vivid pink. Relative luminance 0.202; OKLCH L 61.2% C 0.198 H 353.5°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#D7418D
RGBrgb(215, 65, 141)
HSLhsl(330, 65%, 55%)
HSVhsv(330, 70%, 84%)
CMYKcmyk(0%, 69.8%, 34.4%, 15.7%)
CIE-LABlab(52.01, 64.28, -8.78)
CIE-LCHlch(52.01, 64.88, 352.22°)
OKLaboklab(61.24% 0.1968 -0.0224)
OKLCHoklch(61.24% 0.198 353.5)
XYZxyz(34.7244, 20.1548, 27.2558)
Luminance0.2015 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7418D #41D78B
analogous
#D641D7 #D7418D #D74142
triadic
#D7418D #8DD741 #418DD7
tetradic
#D7418D #D7D641 #41D78B #4142D7
square
#D7418D #D7D641 #41D78B #4142D7
split-complementary
#D7418D #42D741 #41D7D6
monochromatic
#821B4F #B5266E #D7418D #E274AB #ECA6CA

Accessibility & contrast

On white

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

On black

5.03
#D7418D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D7418D
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7418D#FFFFFF#000000##000000
##D7418D1.004.175.035.03
#FFFFFF4.171.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B6B8F
Deuteranopia (green-blind)
#85868A
Tritanopia (blue-blind)
#E73561
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #d7418d;
/* rgb */ color: rgb(215, 65, 141);
/* oklch */ color: oklch(61.2% 0.198 353.5);
Tailwind
colors: {
  custom: {
    50: '#e881ae',
    500: '#d7418d',
    950: '#000000',
  },
}
SCSS
$custom: #d7418d;
$custom-light: #e881ae;
$custom-dark: #000000;
JSON
{
  "hex": "#d7418d",
  "rgb": {
    "r": 215,
    "g": 65,
    "b": 141
  },
  "hsl": {
    "h": 329.6,
    "s": 65.217,
    "l": 54.902
  },
  "oklch": {
    "l": 0.61239,
    "c": 0.19805,
    "h": 353.5
  },
  "luminance": 0.20151
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D7418D

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

Preview Lab → · Contrast checker → · Palette generator →

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