#D54172#D54172

#D54172 is a mid, vivid pink. Relative luminance 0.191; OKLCH L 60.1% C 0.187 H 4.7°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#D54172
RGBrgb(213, 65, 114)
HSLhsl(340, 64%, 55%)
HSVhsv(340, 69%, 84%)
CMYKcmyk(0%, 69.5%, 46.5%, 16.5%)
CIE-LABlab(50.86, 61.00, 5.69)
CIE-LCHlch(50.86, 61.26, 5.33°)
OKLaboklab(60.06% 0.1864 0.0152)
OKLCHoklch(60.06% 0.187 4.7)
XYZxyz(32.3707, 19.1458, 17.9072)
Luminance0.1914 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D54172 #41D5A4
analogous
#D541BC #D54172 #D55A41
triadic
#D54172 #72D541 #4172D5
tetradic
#D54172 #BCD541 #41D5A4 #5A41D5
square
#D54172 #BCD541 #41D5A4 #5A41D5
split-complementary
#D54172 #41D55A #41BCD5
monochromatic
#7F1C3D #B22755 #D54172 #E07397 #EBA5BC

Accessibility & contrast

On white

4.35
#D54172 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#D54172 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D54172
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D54172#FFFFFF#000000##000000
##D541721.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#626773
Deuteranopia (green-blind)
#89846E
Tritanopia (blue-blind)
#E72955
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #d54172;
/* rgb */ color: rgb(213, 65, 114);
/* oklch */ color: oklch(60.1% 0.187 4.7);
Tailwind
colors: {
  custom: {
    50: '#e8809a',
    500: '#d54172',
    950: '#000000',
  },
}
SCSS
$custom: #d54172;
$custom-light: #e8809a;
$custom-dark: #000000;
JSON
{
  "hex": "#d54172",
  "rgb": {
    "r": 213,
    "g": 65,
    "b": 114
  },
  "hsl": {
    "h": 340.135,
    "s": 63.793,
    "l": 54.51
  },
  "oklch": {
    "l": 0.60058,
    "c": 0.18698,
    "h": 4.7
  },
  "luminance": 0.19142
}

Semantic roles & 50–950 ramp

primary
#D54172
secondary
#9AD8C3
accent
#E7B041
background
#FFF8F9
surface
#FEEFF2
border
#D6CACC
text
#170B0E
muted
#857C7E

Preview Lab

Preview with #D54172

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

Preview Lab → · Contrast checker → · Palette generator →

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