#D74171#D74171

#D74171 is a mid, vivid pink. Relative luminance 0.194; OKLCH L 60.4% C 0.189 H 5.5°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#D74171
RGBrgb(215, 65, 113)
HSLhsl(341, 65%, 55%)
HSVhsv(341, 70%, 84%)
CMYKcmyk(0%, 69.8%, 47.4%, 15.7%)
CIE-LABlab(51.18, 61.49, 6.81)
CIE-LCHlch(51.18, 61.87, 6.32°)
OKLaboklab(60.35% 0.1877 0.018)
OKLCHoklch(60.35% 0.189 5.5)
XYZxyz(32.8979, 19.4242, 17.6365)
Luminance0.1942 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D74171 #41D7A7
analogous
#D741BC #D74171 #D75C41
triadic
#D74171 #71D741 #4171D7
tetradic
#D74171 #BCD741 #41D7A7 #5C41D7
square
#D74171 #BCD741 #41D7A7 #5C41D7
split-complementary
#D74171 #41D75C #41BCD7
monochromatic
#821B3C #B52654 #D74171 #E27497 #ECA6BD

Accessibility & contrast

On white

4.30
#D74171 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#D74171 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D74171
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D74171#FFFFFF#000000##000000
##D741711.004.304.884.88
#FFFFFF4.301.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#636772
Deuteranopia (green-blind)
#8B856D
Tritanopia (blue-blind)
#EA2755
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #d74171;
/* rgb */ color: rgb(215, 65, 113);
/* oklch */ color: oklch(60.4% 0.189 5.5);
Tailwind
colors: {
  custom: {
    50: '#e98099',
    500: '#d74171',
    950: '#000000',
  },
}
SCSS
$custom: #d74171;
$custom-light: #e98099;
$custom-dark: #000000;
JSON
{
  "hex": "#d74171",
  "rgb": {
    "r": 215,
    "g": 65,
    "b": 113
  },
  "hsl": {
    "h": 340.8,
    "s": 65.217,
    "l": 54.902
  },
  "oklch": {
    "l": 0.60353,
    "c": 0.1886,
    "h": 5.5
  },
  "luminance": 0.1942
}

Semantic roles & 50–950 ramp

primary
#D74171
secondary
#9AD9C5
accent
#E8B240
background
#FFF8F9
surface
#FEEFF2
border
#D6CACC
text
#170B0D
muted
#857C7E

Preview Lab

Preview with #D74171

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

Preview Lab → · Contrast checker → · Palette generator →

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