#D0407F#D0407F

#D0407F is a mid, vivid pink. Relative luminance 0.186; OKLCH L 59.6% C 0.188 H 357.7°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#D0407F
RGBrgb(208, 64, 127)
HSLhsl(334, 61%, 53%)
HSVhsv(334, 69%, 82%)
CMYKcmyk(0%, 69.2%, 38.9%, 18.4%)
CIE-LABlab(50.23, 61.19, -3.17)
CIE-LCHlch(50.23, 61.27, 357.04°)
OKLaboklab(59.56% 0.1875 -0.0075)
OKLCHoklch(59.56% 0.188 357.7)
XYZxyz(31.6787, 18.6128, 21.9990)
Luminance0.1861 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D0407F #40D091
analogous
#D040C7 #D0407F #D04940
triadic
#D0407F #7FD040 #407FD0
tetradic
#D0407F #C7D040 #40D091 #4940D0
square
#D0407F #C7D040 #40D091 #4940D0
split-complementary
#D0407F #40D049 #40C7D0
monochromatic
#781E45 #A92A61 #D0407F #DC71A0 #E8A2C1

Accessibility & contrast

On white

4.45
#D0407F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#D0407F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D0407F
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D0407F#FFFFFF#000000##000000
##D0407F1.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C6681
Deuteranopia (green-blind)
#83817C
Tritanopia (blue-blind)
#E1305A
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #d0407f;
/* rgb */ color: rgb(208, 64, 127);
/* oklch */ color: oklch(59.6% 0.188 357.7);
Tailwind
colors: {
  custom: {
    50: '#e37fa4',
    500: '#d0407f',
    950: '#000000',
  },
}
SCSS
$custom: #d0407f;
$custom-light: #e37fa4;
$custom-dark: #000000;
JSON
{
  "hex": "#d0407f",
  "rgb": {
    "r": 208,
    "g": 64,
    "b": 127
  },
  "hsl": {
    "h": 333.75,
    "s": 60.504,
    "l": 53.333
  },
  "oklch": {
    "l": 0.59556,
    "c": 0.18768,
    "h": 357.7
  },
  "luminance": 0.18609
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D0407F

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

Preview Lab → · Contrast checker → · Palette generator →

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