#D1407F#D1407F

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

Color values

HEX#D1407F
RGBrgb(209, 64, 127)
HSLhsl(334, 61%, 54%)
HSVhsv(334, 69%, 82%)
CMYKcmyk(0%, 69.4%, 39.2%, 18%)
CIE-LABlab(50.40, 61.47, -2.89)
CIE-LCHlch(50.40, 61.54, 357.31°)
OKLaboklab(59.72% 0.1884 -0.0068)
OKLCHoklch(59.72% 0.189 357.9)
XYZxyz(31.9608, 18.7583, 22.0122)
Luminance0.1875 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1407F #40D192
analogous
#D140C7 #D1407F #D14940
triadic
#D1407F #7FD140 #407FD1
tetradic
#D1407F #C7D140 #40D192 #4940D1
square
#D1407F #C7D140 #40D192 #4940D1
split-complementary
#D1407F #40D149 #40C7D1
monochromatic
#791D45 #AB2961 #D1407F #DD71A0 #E9A3C1

Accessibility & contrast

On white

4.42
#D1407F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##D1407F#FFFFFF#000000##000000
##D1407F1.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C6781
Deuteranopia (green-blind)
#84827C
Tritanopia (blue-blind)
#E2305A
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #d1407f;
/* rgb */ color: rgb(209, 64, 127);
/* oklch */ color: oklch(59.7% 0.189 357.9);
Tailwind
colors: {
  custom: {
    50: '#e47fa4',
    500: '#d1407f',
    950: '#000000',
  },
}
SCSS
$custom: #d1407f;
$custom-light: #e47fa4;
$custom-dark: #000000;
JSON
{
  "hex": "#d1407f",
  "rgb": {
    "r": 209,
    "g": 64,
    "b": 127
  },
  "hsl": {
    "h": 333.931,
    "s": 61.181,
    "l": 53.529
  },
  "oklch": {
    "l": 0.59715,
    "c": 0.18854,
    "h": 357.9
  },
  "luminance": 0.18754
}

Semantic roles & 50–950 ramp

primary
#D1407F
secondary
#97D5BA
accent
#E49E44
background
#FEF8FA
surface
#FDEFF3
border
#D5CACD
text
#160B0F
muted
#847C7F

Preview Lab

Preview with #D1407F

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

Preview Lab → · Contrast checker → · Palette generator →

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