#D4407B#D4407B

#D4407B is a mid, vivid pink. Relative luminance 0.191; OKLCH L 60.1% C 0.190 H 0.3°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#D4407B
RGBrgb(212, 64, 123)
HSLhsl(336, 63%, 54%)
HSVhsv(336, 70%, 83%)
CMYKcmyk(0%, 69.8%, 42%, 16.9%)
CIE-LABlab(50.80, 61.92, 0.16)
CIE-LCHlch(50.80, 61.92, 0.15°)
OKLaboklab(60.07% 0.1898 0.0011)
OKLCHoklch(60.07% 0.19 0.3)
XYZxyz(32.5623, 19.0980, 20.7066)
Luminance0.1909 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4407B #40D499
analogous
#D440C5 #D4407B #D44F40
triadic
#D4407B #7BD440 #407BD4
tetradic
#D4407B #C5D440 #40D499 #4F40D4
square
#D4407B #C5D440 #40D499 #4F40D4
split-complementary
#D4407B #40D44F #40C5D4
monochromatic
#7D1C43 #AF275E #D4407B #DF729E #EAA4C0

Accessibility & contrast

On white

4.36
#D4407B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#D4407B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D4407B
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4407B#FFFFFF#000000##000000
##D4407B1.004.364.824.82
#FFFFFF4.361.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F677D
Deuteranopia (green-blind)
#878378
Tritanopia (blue-blind)
#E52C59
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #d4407b;
/* rgb */ color: rgb(212, 64, 123);
/* oklch */ color: oklch(60.1% 0.190 0.3);
Tailwind
colors: {
  custom: {
    50: '#e67fa1',
    500: '#d4407b',
    950: '#000000',
  },
}
SCSS
$custom: #d4407b;
$custom-light: #e67fa1;
$custom-dark: #000000;
JSON
{
  "hex": "#d4407b",
  "rgb": {
    "r": 212,
    "g": 64,
    "b": 123
  },
  "hsl": {
    "h": 336.081,
    "s": 63.248,
    "l": 54.118
  },
  "oklch": {
    "l": 0.60067,
    "c": 0.18976,
    "h": 0.3
  },
  "luminance": 0.19094
}

Semantic roles & 50–950 ramp

primary
#D4407B
secondary
#98D7BE
accent
#E6A542
background
#FEF8F9
surface
#FDEFF2
border
#D5CACC
text
#170B0E
muted
#857C7E

Preview Lab

Preview with #D4407B

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

Preview Lab → · Contrast checker → · Palette generator →

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