#D34171#D34171

#D34171 is a mid, vivid pink. Relative luminance 0.188; OKLCH L 59.7% C 0.185 H 4.7°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#D34171
RGBrgb(211, 65, 113)
HSLhsl(340, 62%, 54%)
HSVhsv(340, 69%, 83%)
CMYKcmyk(0%, 69.2%, 46.4%, 17.3%)
CIE-LABlab(50.48, 60.32, 5.72)
CIE-LCHlch(50.48, 60.59, 5.41°)
OKLaboklab(59.71% 0.1843 0.0153)
OKLCHoklch(59.71% 0.185 4.7)
XYZxyz(31.7374, 18.8258, 17.5821)
Luminance0.1882 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D34171 #41D3A3
analogous
#D341BA #D34171 #D35A41
triadic
#D34171 #71D341 #4171D3
tetradic
#D34171 #BAD341 #41D3A3 #5A41D3
square
#D34171 #BAD341 #41D3A3 #5A41D3
split-complementary
#D34171 #41D35A #41BAD3
monochromatic
#7D1D3C #AE2854 #D34171 #DF7396 #EAA4BB

Accessibility & contrast

On white

4.41
#D34171 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#D34171 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D34171
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D34171#FFFFFF#000000##000000
##D341711.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#626672
Deuteranopia (green-blind)
#88836E
Tritanopia (blue-blind)
#E52955
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #d34171;
/* rgb */ color: rgb(211, 65, 113);
/* oklch */ color: oklch(59.7% 0.185 4.7);
Tailwind
colors: {
  custom: {
    50: '#e68099',
    500: '#d34171',
    950: '#000000',
  },
}
SCSS
$custom: #d34171;
$custom-light: #e68099;
$custom-dark: #000000;
JSON
{
  "hex": "#d34171",
  "rgb": {
    "r": 211,
    "g": 65,
    "b": 113
  },
  "hsl": {
    "h": 340.274,
    "s": 62.393,
    "l": 54.118
  },
  "oklch": {
    "l": 0.59708,
    "c": 0.1849,
    "h": 4.7
  },
  "luminance": 0.18822
}

Semantic roles & 50–950 ramp

primary
#D34171
secondary
#99D7C3
accent
#E5B042
background
#FEF8F9
surface
#FDEFF2
border
#D5CACC
text
#170B0D
muted
#857C7E

Preview Lab

Preview with #D34171

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

Preview Lab → · Contrast checker → · Palette generator →

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