#D0407E#D0407E

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

Color values

HEX#D0407E
RGBrgb(208, 64, 126)
HSLhsl(334, 61%, 53%)
HSVhsv(334, 69%, 82%)
CMYKcmyk(0%, 69.2%, 39.4%, 18.4%)
CIE-LABlab(50.20, 61.08, -2.61)
CIE-LCHlch(50.20, 61.14, 357.55°)
OKLaboklab(59.52% 0.1872 -0.0061)
OKLCHoklch(59.52% 0.187 358.1)
XYZxyz(31.6138, 18.5869, 21.6574)
Luminance0.1858 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D0407E #40D092
analogous
#D040C6 #D0407E #D04A40
triadic
#D0407E #7ED040 #407ED0
tetradic
#D0407E #C6D040 #40D092 #4A40D0
square
#D0407E #C6D040 #40D092 #4A40D0
split-complementary
#D0407E #40D04A #40C6D0
monochromatic
#781E45 #A92A61 #D0407E #DC719F #E8A2C0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D0407E#FFFFFF#000000##000000
##D0407E1.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)
#5C6680
Deuteranopia (green-blind)
#83817B
Tritanopia (blue-blind)
#E1305A
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #d0407e;
/* rgb */ color: rgb(208, 64, 126);
/* oklch */ color: oklch(59.5% 0.187 358.1);
Tailwind
colors: {
  custom: {
    50: '#e37fa3',
    500: '#d0407e',
    950: '#000000',
  },
}
SCSS
$custom: #d0407e;
$custom-light: #e37fa3;
$custom-dark: #000000;
JSON
{
  "hex": "#d0407e",
  "rgb": {
    "r": 208,
    "g": 64,
    "b": 126
  },
  "hsl": {
    "h": 334.167,
    "s": 60.504,
    "l": 53.333
  },
  "oklch": {
    "l": 0.59524,
    "c": 0.18731,
    "h": 358.1
  },
  "luminance": 0.18583
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D0407E

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

Preview Lab → · Contrast checker → · Palette generator →

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