#D1407B#D1407B

#D1407B is a mid, vivid pink. Relative luminance 0.187; OKLCH L 59.6% C 0.187 H 359.7°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#D1407B
RGBrgb(209, 64, 123)
HSLhsl(336, 61%, 54%)
HSVhsv(336, 69%, 82%)
CMYKcmyk(0%, 69.4%, 41.1%, 18%)
CIE-LABlab(50.28, 61.06, -0.66)
CIE-LCHlch(50.28, 61.07, 359.38°)
OKLaboklab(59.59% 0.1871 -0.001)
OKLCHoklch(59.59% 0.187 359.7)
XYZxyz(31.7053, 18.6561, 20.6664)
Luminance0.1865 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1407B #40D196
analogous
#D140C3 #D1407B #D14D40
triadic
#D1407B #7BD140 #407BD1
tetradic
#D1407B #C3D140 #40D196 #4D40D1
square
#D1407B #C3D140 #40D196 #4D40D1
split-complementary
#D1407B #40D14D #40C3D1
monochromatic
#791D43 #AB295E #D1407B #DD719D #E9A3BF

Accessibility & contrast

On white

4.44
#D1407B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#D1407B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D1407B
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1407B#FFFFFF#000000##000000
##D1407B1.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D667D
Deuteranopia (green-blind)
#858278
Tritanopia (blue-blind)
#E22E58
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #d1407b;
/* rgb */ color: rgb(209, 64, 123);
/* oklch */ color: oklch(59.6% 0.187 359.7);
Tailwind
colors: {
  custom: {
    50: '#e47fa1',
    500: '#d1407b',
    950: '#000000',
  },
}
SCSS
$custom: #d1407b;
$custom-light: #e47fa1;
$custom-dark: #000000;
JSON
{
  "hex": "#d1407b",
  "rgb": {
    "r": 209,
    "g": 64,
    "b": 123
  },
  "hsl": {
    "h": 335.586,
    "s": 61.181,
    "l": 53.529
  },
  "oklch": {
    "l": 0.59587,
    "c": 0.18713,
    "h": 359.7
  },
  "luminance": 0.18652
}

Semantic roles & 50–950 ramp

primary
#D1407B
secondary
#97D5BC
accent
#E4A344
background
#FEF8F9
surface
#FDEFF2
border
#D5CACC
text
#170B0E
muted
#857C7E

Preview Lab

Preview with #D1407B

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

Preview Lab → · Contrast checker → · Palette generator →

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