#D6407A#D6407A

#D6407A is a mid, vivid pink. Relative luminance 0.194; OKLCH L 60.4% C 0.191 H 1.2°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#D6407A
RGBrgb(214, 64, 122)
HSLhsl(337, 65%, 55%)
HSVhsv(337, 70%, 84%)
CMYKcmyk(0%, 70.1%, 43%, 16.1%)
CIE-LABlab(51.12, 62.40, 1.27)
CIE-LCHlch(51.12, 62.41, 1.17°)
OKLaboklab(60.36% 0.1912 0.004)
OKLCHoklch(60.36% 0.191 1.2)
XYZxyz(33.0803, 19.3722, 20.4058)
Luminance0.1937 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D6407A #40D69C
analogous
#D640C5 #D6407A #D65140
triadic
#D6407A #7AD640 #407AD6
tetradic
#D6407A #C5D640 #40D69C #5140D6
square
#D6407A #C5D640 #40D69C #5140D6
split-complementary
#D6407A #40D651 #40C5D6
monochromatic
#801B42 #B2265D #D6407A #E1729D #ECA5C0

Accessibility & contrast

On white

4.31
#D6407A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#D6407A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D6407A
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D6407A#FFFFFF#000000##000000
##D6407A1.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#60677B
Deuteranopia (green-blind)
#888476
Tritanopia (blue-blind)
#E82B58
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #d6407a;
/* rgb */ color: rgb(214, 64, 122);
/* oklch */ color: oklch(60.4% 0.191 1.2);
Tailwind
colors: {
  custom: {
    50: '#e880a0',
    500: '#d6407a',
    950: '#000000',
  },
}
SCSS
$custom: #d6407a;
$custom-light: #e880a0;
$custom-dark: #000000;
JSON
{
  "hex": "#d6407a",
  "rgb": {
    "r": 214,
    "g": 64,
    "b": 122
  },
  "hsl": {
    "h": 336.8,
    "s": 64.655,
    "l": 54.51
  },
  "oklch": {
    "l": 0.60357,
    "c": 0.1912,
    "h": 1.2
  },
  "luminance": 0.19368
}

Semantic roles & 50–950 ramp

primary
#D6407A
secondary
#99D9C0
accent
#E8A740
background
#FEF8F9
surface
#FDEFF2
border
#D5CACC
text
#170B0E
muted
#857C7E

Preview Lab

Preview with #D6407A

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

Preview Lab → · Contrast checker → · Palette generator →

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