#D6407F#D6407F

#D6407F is a mid, vivid pink. Relative luminance 0.195; OKLCH L 60.5% C 0.193 H 359.0°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#D6407F
RGBrgb(214, 64, 127)
HSLhsl(335, 65%, 55%)
HSVhsv(335, 70%, 84%)
CMYKcmyk(0%, 70.1%, 40.7%, 16.1%)
CIE-LABlab(51.27, 62.89, -1.52)
CIE-LCHlch(51.27, 62.91, 358.61°)
OKLaboklab(60.51% 0.1928 -0.0032)
OKLCHoklch(60.51% 0.193 359)
XYZxyz(33.3981, 19.4994, 22.0796)
Luminance0.1950 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D6407F #40D697
analogous
#D640CA #D6407F #D64C40
triadic
#D6407F #7FD640 #407FD6
tetradic
#D6407F #CAD640 #40D697 #4C40D6
square
#D6407F #CAD640 #40D697 #4C40D6
split-complementary
#D6407F #40D64C #40CAD6
monochromatic
#801B46 #B22661 #D6407F #E172A1 #ECA5C3

Accessibility & contrast

On white

4.29
#D6407F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#D6407F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D6407F
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D6407F#FFFFFF#000000##000000
##D6407F1.004.294.904.90
#FFFFFF4.291.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E6881
Deuteranopia (green-blind)
#87857C
Tritanopia (blue-blind)
#E72D5A
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #d6407f;
/* rgb */ color: rgb(214, 64, 127);
/* oklch */ color: oklch(60.5% 0.193 359.0);
Tailwind
colors: {
  custom: {
    50: '#e880a4',
    500: '#d6407f',
    950: '#000000',
  },
}
SCSS
$custom: #d6407f;
$custom-light: #e880a4;
$custom-dark: #000000;
JSON
{
  "hex": "#d6407f",
  "rgb": {
    "r": 214,
    "g": 64,
    "b": 127
  },
  "hsl": {
    "h": 334.8,
    "s": 64.655,
    "l": 54.51
  },
  "oklch": {
    "l": 0.60513,
    "c": 0.19283,
    "h": 359
  },
  "luminance": 0.19495
}

Semantic roles & 50–950 ramp

primary
#D6407F
secondary
#99D9BE
accent
#E8A140
background
#FEF8FA
surface
#FDEFF3
border
#D5CACD
text
#170B0F
muted
#857C7F

Preview Lab

Preview with #D6407F

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

Preview Lab → · Contrast checker → · Palette generator →

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