#D03874#D03874

#D03874 is a mid, vivid pink. Relative luminance 0.175; OKLCH L 58.5% C 0.193 H 1.4°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#D03874
RGBrgb(208, 56, 116)
HSLhsl(336, 62%, 52%)
HSVhsv(336, 73%, 82%)
CMYKcmyk(0%, 73.1%, 44.2%, 18.4%)
CIE-LABlab(48.89, 62.93, 1.53)
CIE-LCHlch(48.89, 62.95, 1.39°)
OKLaboklab(58.46% 0.193 0.0046)
OKLCHoklch(58.46% 0.193 1.4)
XYZxyz(30.5814, 17.5032, 18.2877)
Luminance0.1750 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D03874 #38D094
analogous
#D038C0 #D03874 #D04838
triadic
#D03874 #74D038 #3874D0
tetradic
#D03874 #C0D038 #38D094 #4838D0
square
#D03874 #C0D038 #38D094 #4838D0
split-complementary
#D03874 #38D048 #38C0D0
monochromatic
#731B3E #A42758 #D03874 #DC6A97 #E79BB9

Accessibility & contrast

On white

4.67
#D03874 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#D03874 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #D03874
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D03874#FFFFFF#000000##FFFFFF
##D038741.004.674.504.67
#FFFFFF4.671.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A6175
Deuteranopia (green-blind)
#837F70
Tritanopia (blue-blind)
#E21E52
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #d03874;
/* rgb */ color: rgb(208, 56, 116);
/* oklch */ color: oklch(58.5% 0.193 1.4);
Tailwind
colors: {
  custom: {
    50: '#e47b9b',
    500: '#d03874',
    950: '#000000',
  },
}
SCSS
$custom: #d03874;
$custom-light: #e47b9b;
$custom-dark: #000000;
JSON
{
  "hex": "#d03874",
  "rgb": {
    "r": 208,
    "g": 56,
    "b": 116
  },
  "hsl": {
    "h": 336.316,
    "s": 61.789,
    "l": 51.765
  },
  "oklch": {
    "l": 0.58459,
    "c": 0.19301,
    "h": 1.4
  },
  "luminance": 0.17499
}

Semantic roles & 50–950 ramp

primary
#D03874
secondary
#91D3B9
accent
#E5A543
background
#FEF8F9
surface
#FDEFF2
border
#D5CACC
text
#170A0E
muted
#857C7E

Preview Lab

Preview with #D03874

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

Preview Lab → · Contrast checker → · Palette generator →

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