#D03872#D03872

#D03872 is a mid, vivid pink. Relative luminance 0.175; OKLCH L 58.4% C 0.192 H 2.2°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#D03872
RGBrgb(208, 56, 114)
HSLhsl(337, 62%, 52%)
HSVhsv(337, 73%, 82%)
CMYKcmyk(0%, 73.1%, 45.2%, 18.4%)
CIE-LABlab(48.83, 62.74, 2.66)
CIE-LCHlch(48.83, 62.80, 2.43°)
OKLaboklab(58.4% 0.1923 0.0075)
OKLCHoklch(58.4% 0.192 2.2)
XYZxyz(30.4663, 17.4571, 17.6816)
Luminance0.1745 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D03872 #38D096
analogous
#D038BE #D03872 #D04A38
triadic
#D03872 #72D038 #3872D0
tetradic
#D03872 #BED038 #38D096 #4A38D0
square
#D03872 #BED038 #38D096 #4A38D0
split-complementary
#D03872 #38D04A #38BED0
monochromatic
#731B3C #A42757 #D03872 #DC6A95 #E79BB8

Accessibility & contrast

On white

4.68
#D03872 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#D03872 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #D03872
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D03872#FFFFFF#000000##FFFFFF
##D038721.004.684.494.68
#FFFFFF4.681.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d03872;
/* rgb */ color: rgb(208, 56, 114);
/* oklch */ color: oklch(58.4% 0.192 2.2);
Tailwind
colors: {
  custom: {
    50: '#e47b9a',
    500: '#d03872',
    950: '#000000',
  },
}
SCSS
$custom: #d03872;
$custom-light: #e47b9a;
$custom-dark: #000000;
JSON
{
  "hex": "#d03872",
  "rgb": {
    "r": 208,
    "g": 56,
    "b": 114
  },
  "hsl": {
    "h": 337.105,
    "s": 61.789,
    "l": 51.765
  },
  "oklch": {
    "l": 0.58399,
    "c": 0.19242,
    "h": 2.2
  },
  "luminance": 0.17453
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D03872

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

Preview Lab → · Contrast checker → · Palette generator →

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