#D1407E#D1407E

#D1407E is a mid, vivid pink. Relative luminance 0.187; OKLCH L 59.7% C 0.188 H 358.4°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#D1407E
RGBrgb(209, 64, 126)
HSLhsl(334, 61%, 54%)
HSVhsv(334, 69%, 82%)
CMYKcmyk(0%, 69.4%, 39.7%, 18%)
CIE-LABlab(50.37, 61.37, -2.34)
CIE-LCHlch(50.37, 61.41, 357.82°)
OKLaboklab(59.68% 0.1881 -0.0054)
OKLCHoklch(59.68% 0.188 358.4)
XYZxyz(31.8960, 18.7323, 21.6707)
Luminance0.1873 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1407E #40D193
analogous
#D140C6 #D1407E #D14A40
triadic
#D1407E #7ED140 #407ED1
tetradic
#D1407E #C6D140 #40D193 #4A40D1
square
#D1407E #C6D140 #40D193 #4A40D1
split-complementary
#D1407E #40D14A #40C6D1
monochromatic
#791D45 #AB2961 #D1407E #DD719F #E9A3C1

Accessibility & contrast

On white

4.43
#D1407E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#D1407E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D1407E
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1407E#FFFFFF#000000##000000
##D1407E1.004.434.754.75
#FFFFFF4.431.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D6680
Deuteranopia (green-blind)
#84827B
Tritanopia (blue-blind)
#E22F5A
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #d1407e;
/* rgb */ color: rgb(209, 64, 126);
/* oklch */ color: oklch(59.7% 0.188 358.4);
Tailwind
colors: {
  custom: {
    50: '#e47fa3',
    500: '#d1407e',
    950: '#000000',
  },
}
SCSS
$custom: #d1407e;
$custom-light: #e47fa3;
$custom-dark: #000000;
JSON
{
  "hex": "#d1407e",
  "rgb": {
    "r": 209,
    "g": 64,
    "b": 126
  },
  "hsl": {
    "h": 334.345,
    "s": 61.181,
    "l": 53.529
  },
  "oklch": {
    "l": 0.59683,
    "c": 0.18818,
    "h": 358.4
  },
  "luminance": 0.18728
}

Semantic roles & 50–950 ramp

primary
#D1407E
secondary
#97D5BB
accent
#E4A044
background
#FEF8FA
surface
#FDEFF3
border
#D5CACD
text
#160B0F
muted
#847C7F

Preview Lab

Preview with #D1407E

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

Preview Lab → · Contrast checker → · Palette generator →

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