#D5418F#D5418F

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

Color values

HEX#D5418F
RGBrgb(213, 65, 143)
HSLhsl(328, 64%, 55%)
HSVhsv(328, 69%, 84%)
CMYKcmyk(0%, 69.5%, 32.9%, 16.5%)
CIE-LABlab(51.74, 63.96, -10.42)
CIE-LCHlch(51.74, 64.81, 350.75°)
OKLaboklab(61% 0.1955 -0.0269)
OKLCHoklch(61% 0.197 352.2)
XYZxyz(34.2907, 19.9138, 28.0192)
Luminance0.1991 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5418F #41D587
analogous
#D141D5 #D5418F #D54145
triadic
#D5418F #8FD541 #418FD5
tetradic
#D5418F #D5D141 #41D587 #4145D5
square
#D5418F #D5D141 #41D587 #4145D5
split-complementary
#D5418F #45D541 #41D5D1
monochromatic
#7F1C50 #B22770 #D5418F #E073AD #EBA5CA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D5418F#FFFFFF#000000##000000
##D5418F1.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)
#596A91
Deuteranopia (green-blind)
#83858C
Tritanopia (blue-blind)
#E53762
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #d5418f;
/* rgb */ color: rgb(213, 65, 143);
/* oklch */ color: oklch(61.0% 0.197 352.2);
Tailwind
colors: {
  custom: {
    50: '#e681af',
    500: '#d5418f',
    950: '#000000',
  },
}
SCSS
$custom: #d5418f;
$custom-light: #e681af;
$custom-dark: #000000;
JSON
{
  "hex": "#d5418f",
  "rgb": {
    "r": 213,
    "g": 65,
    "b": 143
  },
  "hsl": {
    "h": 328.378,
    "s": 63.793,
    "l": 54.51
  },
  "oklch": {
    "l": 0.60998,
    "c": 0.19738,
    "h": 352.2
  },
  "luminance": 0.1991
}

Semantic roles & 50–950 ramp

primary
#D5418F
secondary
#9AD8B7
accent
#E78F41
background
#FEF8FA
surface
#FDEFF4
border
#D5CACE
text
#170B10
muted
#857C7F

Preview Lab

Preview with #D5418F

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

Preview Lab → · Contrast checker → · Palette generator →

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