#D7418F#D7418F

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

Color values

HEX#D7418F
RGBrgb(215, 65, 143)
HSLhsl(329, 65%, 55%)
HSVhsv(329, 70%, 84%)
CMYKcmyk(0%, 69.8%, 33.5%, 15.7%)
CIE-LABlab(52.08, 64.51, -9.88)
CIE-LCHlch(52.08, 65.26, 351.30°)
OKLaboklab(61.31% 0.1973 -0.0254)
OKLCHoklch(61.31% 0.199 352.7)
XYZxyz(34.8745, 20.2149, 28.0466)
Luminance0.2021 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7418F #41D789
analogous
#D441D7 #D7418F #D74144
triadic
#D7418F #8FD741 #418FD7
tetradic
#D7418F #D7D441 #41D789 #4144D7
square
#D7418F #D7D441 #41D789 #4144D7
split-complementary
#D7418F #44D741 #41D7D4
monochromatic
#821B51 #B52670 #D7418F #E274AD #ECA6CB

Accessibility & contrast

On white

4.16
#D7418F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##D7418F#FFFFFF#000000##000000
##D7418F1.004.165.045.04
#FFFFFF4.161.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A6B91
Deuteranopia (green-blind)
#84868C
Tritanopia (blue-blind)
#E73662
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #d7418f;
/* rgb */ color: rgb(215, 65, 143);
/* oklch */ color: oklch(61.3% 0.199 352.7);
Tailwind
colors: {
  custom: {
    50: '#e881af',
    500: '#d7418f',
    950: '#000000',
  },
}
SCSS
$custom: #d7418f;
$custom-light: #e881af;
$custom-dark: #000000;
JSON
{
  "hex": "#d7418f",
  "rgb": {
    "r": 215,
    "g": 65,
    "b": 143
  },
  "hsl": {
    "h": 328.8,
    "s": 65.217,
    "l": 54.902
  },
  "oklch": {
    "l": 0.61311,
    "c": 0.19894,
    "h": 352.7
  },
  "luminance": 0.20211
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D7418F

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

Preview Lab → · Contrast checker → · Palette generator →

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