#D54072#D54072

#D54072 is a mid, vivid pink. Relative luminance 0.190; OKLCH L 60.0% C 0.188 H 4.5°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#D54072
RGBrgb(213, 64, 114)
HSLhsl(340, 64%, 54%)
HSVhsv(340, 70%, 84%)
CMYKcmyk(0%, 70%, 46.5%, 16.5%)
CIE-LABlab(50.72, 61.36, 5.50)
CIE-LCHlch(50.72, 61.61, 5.13°)
OKLaboklab(59.96% 0.1875 0.0147)
OKLCHoklch(59.96% 0.188 4.5)
XYZxyz(32.3138, 19.0320, 17.8883)
Luminance0.1903 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D54072 #40D5A3
analogous
#D540BC #D54072 #D55940
triadic
#D54072 #72D540 #4072D5
tetradic
#D54072 #BCD540 #40D5A3 #5940D5
square
#D54072 #BCD540 #40D5A3 #5940D5
split-complementary
#D54072 #40D559 #40BCD5
monochromatic
#7F1C3D #B12755 #D54072 #E07297 #EBA4BC

Accessibility & contrast

On white

4.37
#D54072 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#D54072 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D54072
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D54072#FFFFFF#000000##000000
##D540721.004.374.814.81
#FFFFFF4.371.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#616673
Deuteranopia (green-blind)
#89836E
Tritanopia (blue-blind)
#E72754
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #d54072;
/* rgb */ color: rgb(213, 64, 114);
/* oklch */ color: oklch(60.0% 0.188 4.5);
Tailwind
colors: {
  custom: {
    50: '#e87f9a',
    500: '#d54072',
    950: '#000000',
  },
}
SCSS
$custom: #d54072;
$custom-light: #e87f9a;
$custom-dark: #000000;
JSON
{
  "hex": "#d54072",
  "rgb": {
    "r": 213,
    "g": 64,
    "b": 114
  },
  "hsl": {
    "h": 339.866,
    "s": 63.948,
    "l": 54.314
  },
  "oklch": {
    "l": 0.5996,
    "c": 0.18812,
    "h": 4.5
  },
  "luminance": 0.19028
}

Semantic roles & 50–950 ramp

primary
#D54072
secondary
#99D8C3
accent
#E7AF41
background
#FFF8F9
surface
#FEEFF2
border
#D6CACC
text
#170B0E
muted
#857C7E

Preview Lab

Preview with #D54072

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

Preview Lab → · Contrast checker → · Palette generator →

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