#D34872#D34872

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

Color values

HEX#D34872
RGBrgb(211, 72, 114)
HSLhsl(342, 61%, 55%)
HSVhsv(342, 66%, 83%)
CMYKcmyk(0%, 65.9%, 46%, 17.3%)
CIE-LABlab(51.50, 57.69, 6.57)
CIE-LCHlch(51.50, 58.06, 6.49°)
OKLaboklab(60.47% 0.176 0.0174)
OKLCHoklch(60.47% 0.177 5.6)
XYZxyz(32.2211, 19.7025, 18.0225)
Luminance0.1970 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D34872 #48D3A9
analogous
#D348B7 #D34872 #D36448
triadic
#D34872 #72D348 #4872D3
tetradic
#D34872 #B7D348 #48D3A9 #6448D3
square
#D34872 #B7D348 #48D3A9 #6448D3
split-complementary
#D34872 #48D364 #48B7D3
monochromatic
#811F3D #B32B54 #D34872 #DF7998 #EBABBE

Accessibility & contrast

On white

4.25
#D34872 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##D34872#FFFFFF#000000##000000
##D348721.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#666973
Deuteranopia (green-blind)
#8B856F
Tritanopia (blue-blind)
#E53459
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #d34872;
/* rgb */ color: rgb(211, 72, 114);
/* oklch */ color: oklch(60.5% 0.177 5.6);
Tailwind
colors: {
  custom: {
    50: '#e6839a',
    500: '#d34872',
    950: '#000000',
  },
}
SCSS
$custom: #d34872;
$custom-light: #e6839a;
$custom-dark: #000000;
JSON
{
  "hex": "#d34872",
  "rgb": {
    "r": 211,
    "g": 72,
    "b": 114
  },
  "hsl": {
    "h": 341.871,
    "s": 61.233,
    "l": 55.49
  },
  "oklch": {
    "l": 0.6047,
    "c": 0.17682,
    "h": 5.6
  },
  "luminance": 0.19699
}

Semantic roles & 50–950 ramp

primary
#D34872
secondary
#9ED8C7
accent
#E4B443
background
#FEF8F9
surface
#FDF0F2
border
#D5CBCC
text
#170B0E
muted
#857C7E

Preview Lab

Preview with #D34872

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

Preview Lab → · Contrast checker → · Palette generator →

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