#D34871#D34871

#D34871 is a mid, vivid pink. Relative luminance 0.197; OKLCH L 60.4% C 0.177 H 6.1°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#D34871
RGBrgb(211, 72, 113)
HSLhsl(342, 61%, 55%)
HSVhsv(342, 66%, 83%)
CMYKcmyk(0%, 65.9%, 46.4%, 17.3%)
CIE-LABlab(51.47, 57.60, 7.13)
CIE-LCHlch(51.47, 58.04, 7.06°)
OKLaboklab(60.44% 0.1756 0.0188)
OKLCHoklch(60.44% 0.177 6.1)
XYZxyz(32.1645, 19.6799, 17.7244)
Luminance0.1968 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D34871 #48D3AA
analogous
#D348B6 #D34871 #D36448
triadic
#D34871 #71D348 #4871D3
tetradic
#D34871 #B6D348 #48D3AA #6448D3
square
#D34871 #B6D348 #48D3AA #6448D3
split-complementary
#D34871 #48D364 #48B6D3
monochromatic
#811F3C #B32B53 #D34871 #DF7997 #EBABBE

Accessibility & contrast

On white

4.26
#D34871 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#D34871 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D34871
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D34871#FFFFFF#000000##000000
##D348711.004.264.944.94
#FFFFFF4.261.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#666972
Deuteranopia (green-blind)
#8B856E
Tritanopia (blue-blind)
#E53358
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #d34871;
/* rgb */ color: rgb(211, 72, 113);
/* oklch */ color: oklch(60.4% 0.177 6.1);
Tailwind
colors: {
  custom: {
    50: '#e68399',
    500: '#d34871',
    950: '#000000',
  },
}
SCSS
$custom: #d34871;
$custom-light: #e68399;
$custom-dark: #000000;
JSON
{
  "hex": "#d34871",
  "rgb": {
    "r": 211,
    "g": 72,
    "b": 113
  },
  "hsl": {
    "h": 342.302,
    "s": 61.233,
    "l": 55.49
  },
  "oklch": {
    "l": 0.60443,
    "c": 0.17659,
    "h": 6.1
  },
  "luminance": 0.19676
}

Semantic roles & 50–950 ramp

primary
#D34871
secondary
#9ED8C7
accent
#E4B543
background
#FEF8F9
surface
#FDF0F2
border
#D5CBCC
text
#170B0D
muted
#857C7E

Preview Lab

Preview with #D34871

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

Preview Lab → · Contrast checker → · Palette generator →

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