#D03870#D03870

#D03870 is a mid, vivid pink. Relative luminance 0.174; OKLCH L 58.3% C 0.192 H 3.1°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#D03870
RGBrgb(208, 56, 112)
HSLhsl(338, 62%, 52%)
HSVhsv(338, 73%, 82%)
CMYKcmyk(0%, 73.1%, 46.2%, 18.4%)
CIE-LABlab(48.78, 62.56, 3.80)
CIE-LCHlch(48.78, 62.68, 3.48°)
OKLaboklab(58.34% 0.1916 0.0104)
OKLCHoklch(58.34% 0.192 3.1)
XYZxyz(30.3537, 17.4121, 17.0886)
Luminance0.1741 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D03870 #38D098
analogous
#D038BC #D03870 #D04C38
triadic
#D03870 #70D038 #3870D0
tetradic
#D03870 #BCD038 #38D098 #4C38D0
square
#D03870 #BCD038 #38D098 #4C38D0
split-complementary
#D03870 #38D04C #38BCD0
monochromatic
#731B3B #A42755 #D03870 #DC6A94 #E79BB7

Accessibility & contrast

On white

4.69
#D03870 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#D03870 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #D03870
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D03870#FFFFFF#000000##FFFFFF
##D038701.004.694.484.69
#FFFFFF4.691.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B6171
Deuteranopia (green-blind)
#837F6C
Tritanopia (blue-blind)
#E21B50
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #d03870;
/* rgb */ color: rgb(208, 56, 112);
/* oklch */ color: oklch(58.3% 0.192 3.1);
Tailwind
colors: {
  custom: {
    50: '#e47b98',
    500: '#d03870',
    950: '#000000',
  },
}
SCSS
$custom: #d03870;
$custom-light: #e47b98;
$custom-dark: #000000;
JSON
{
  "hex": "#d03870",
  "rgb": {
    "r": 208,
    "g": 56,
    "b": 112
  },
  "hsl": {
    "h": 337.895,
    "s": 61.789,
    "l": 51.765
  },
  "oklch": {
    "l": 0.58339,
    "c": 0.19186,
    "h": 3.1
  },
  "luminance": 0.17408
}

Semantic roles & 50–950 ramp

primary
#D03870
secondary
#91D3BB
accent
#E5A943
background
#FEF8F9
surface
#FDEFF2
border
#D5CACC
text
#170A0D
muted
#857C7E

Preview Lab

Preview with #D03870

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

Preview Lab → · Contrast checker → · Palette generator →

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