#D03972#D03972

#D03972 is a mid, vivid pink. Relative luminance 0.176; OKLCH L 58.5% C 0.191 H 2.4°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#D03972
RGBrgb(208, 57, 114)
HSLhsl(337, 62%, 52%)
HSVhsv(337, 73%, 82%)
CMYKcmyk(0%, 72.6%, 45.2%, 18.4%)
CIE-LABlab(48.95, 62.41, 2.84)
CIE-LCHlch(48.95, 62.47, 2.60°)
OKLaboklab(58.49% 0.1912 0.008)
OKLCHoklch(58.49% 0.191 2.4)
XYZxyz(30.5152, 17.5550, 17.6979)
Luminance0.1755 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D03972 #39D097
analogous
#D039BE #D03972 #D04C39
triadic
#D03972 #72D039 #3972D0
tetradic
#D03972 #BED039 #39D097 #4C39D0
square
#D03972 #BED039 #39D097 #4C39D0
split-complementary
#D03972 #39D04C #39BED0
monochromatic
#731B3D #A52757 #D03972 #DC6A95 #E79CB8

Accessibility & contrast

On white

4.66
#D03972 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#D03972 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #D03972
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D03972#FFFFFF#000000##FFFFFF
##D039721.004.664.514.66
#FFFFFF4.661.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B6273
Deuteranopia (green-blind)
#837F6E
Tritanopia (blue-blind)
#E21F51
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #d03972;
/* rgb */ color: rgb(208, 57, 114);
/* oklch */ color: oklch(58.5% 0.191 2.4);
Tailwind
colors: {
  custom: {
    50: '#e47c9a',
    500: '#d03972',
    950: '#000000',
  },
}
SCSS
$custom: #d03972;
$custom-light: #e47c9a;
$custom-dark: #000000;
JSON
{
  "hex": "#d03972",
  "rgb": {
    "r": 208,
    "g": 57,
    "b": 114
  },
  "hsl": {
    "h": 337.351,
    "s": 61.633,
    "l": 51.961
  },
  "oklch": {
    "l": 0.58488,
    "c": 0.19136,
    "h": 2.4
  },
  "luminance": 0.17551
}

Semantic roles & 50–950 ramp

primary
#D03972
secondary
#91D3BA
accent
#E5A843
background
#FEF8F9
surface
#FDEFF2
border
#D5CACC
text
#170A0E
muted
#857C7E

Preview Lab

Preview with #D03972

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

Preview Lab → · Contrast checker → · Palette generator →

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