#D1407D#D1407D

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

Color values

HEX#D1407D
RGBrgb(209, 64, 125)
HSLhsl(335, 61%, 54%)
HSVhsv(335, 69%, 82%)
CMYKcmyk(0%, 69.4%, 40.2%, 18%)
CIE-LABlab(50.34, 61.27, -1.78)
CIE-LCHlch(50.34, 61.29, 358.34°)
OKLaboklab(59.65% 0.1878 -0.0039)
OKLCHoklch(59.65% 0.188 358.8)
XYZxyz(31.8318, 18.7067, 21.3325)
Luminance0.1870 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1407D #40D194
analogous
#D140C5 #D1407D #D14B40
triadic
#D1407D #7DD140 #407DD1
tetradic
#D1407D #C5D140 #40D194 #4B40D1
square
#D1407D #C5D140 #40D194 #4B40D1
split-complementary
#D1407D #40D14B #40C5D1
monochromatic
#791D44 #AB2960 #D1407D #DD719F #E9A3C0

Accessibility & contrast

On white

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

On black

4.74
#D1407D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D1407D
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1407D#FFFFFF#000000##000000
##D1407D1.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D667F
Deuteranopia (green-blind)
#84827A
Tritanopia (blue-blind)
#E22F59
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #d1407d;
/* rgb */ color: rgb(209, 64, 125);
/* oklch */ color: oklch(59.7% 0.188 358.8);
Tailwind
colors: {
  custom: {
    50: '#e47fa2',
    500: '#d1407d',
    950: '#000000',
  },
}
SCSS
$custom: #d1407d;
$custom-light: #e47fa2;
$custom-dark: #000000;
JSON
{
  "hex": "#d1407d",
  "rgb": {
    "r": 209,
    "g": 64,
    "b": 125
  },
  "hsl": {
    "h": 334.759,
    "s": 61.181,
    "l": 53.529
  },
  "oklch": {
    "l": 0.59651,
    "c": 0.18782,
    "h": 358.8
  },
  "luminance": 0.18703
}

Semantic roles & 50–950 ramp

primary
#D1407D
secondary
#97D5BB
accent
#E4A144
background
#FEF8F9
surface
#FDEFF2
border
#D5CACC
text
#160B0F
muted
#847C7E

Preview Lab

Preview with #D1407D

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

Preview Lab → · Contrast checker → · Palette generator →

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