#D74871#D74871

#D74871 is a mid, vivid pink. Relative luminance 0.203; OKLCH L 61.1% C 0.180 H 6.8°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#D74871
RGBrgb(215, 72, 113)
HSLhsl(343, 64%, 56%)
HSVhsv(343, 67%, 84%)
CMYKcmyk(0%, 66.5%, 47.4%, 15.7%)
CIE-LABlab(52.15, 58.82, 8.19)
CIE-LCHlch(52.15, 59.39, 7.92°)
OKLaboklab(61.07% 0.1792 0.0214)
OKLCHoklch(61.07% 0.18 6.8)
XYZxyz(33.3250, 20.2783, 17.7788)
Luminance0.2027 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D74871 #48D7AE
analogous
#D748B9 #D74871 #D76748
triadic
#D74871 #71D748 #4871D7
tetradic
#D74871 #B9D748 #48D7AE #6748D7
square
#D74871 #B9D748 #48D7AE #6748D7
split-complementary
#D74871 #48D767 #48B9D7
monochromatic
#871E3C #B92952 #D74871 #E27A98 #EDACBF

Accessibility & contrast

On white

4.15
#D74871 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#D74871 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D74871
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D74871#FFFFFF#000000##000000
##D748711.004.155.055.05
#FFFFFF4.151.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#686A72
Deuteranopia (green-blind)
#8D876E
Tritanopia (blue-blind)
#E93258
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #d74871;
/* rgb */ color: rgb(215, 72, 113);
/* oklch */ color: oklch(61.1% 0.180 6.8);
Tailwind
colors: {
  custom: {
    50: '#e98499',
    500: '#d74871',
    950: '#000000',
  },
}
SCSS
$custom: #d74871;
$custom-light: #e98499;
$custom-dark: #000000;
JSON
{
  "hex": "#d74871",
  "rgb": {
    "r": 215,
    "g": 72,
    "b": 113
  },
  "hsl": {
    "h": 342.797,
    "s": 64.126,
    "l": 56.275
  },
  "oklch": {
    "l": 0.61073,
    "c": 0.18049,
    "h": 6.8
  },
  "luminance": 0.20274
}

Semantic roles & 50–950 ramp

primary
#D74871
secondary
#A0DBCA
accent
#E7B741
background
#FFF8F9
surface
#FEF0F2
border
#D6CBCC
text
#170B0D
muted
#857C7E

Preview Lab

Preview with #D74871

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

Preview Lab → · Contrast checker → · Palette generator →

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