#D54A6F#D54A6F

#D54A6F is a mid, vivid pink. Relative luminance 0.202; OKLCH L 60.9% C 0.176 H 7.8°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#D54A6F
RGBrgb(213, 74, 111)
HSLhsl(344, 62%, 56%)
HSVhsv(344, 65%, 84%)
CMYKcmyk(0%, 65.3%, 47.9%, 16.5%)
CIE-LABlab(52.06, 57.22, 9.21)
CIE-LCHlch(52.06, 57.96, 9.14°)
OKLaboklab(60.92% 0.1741 0.024)
OKLCHoklch(60.92% 0.176 7.8)
XYZxyz(32.7612, 20.1955, 17.2088)
Luminance0.2019 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D54A6F #4AD5B0
analogous
#D54AB5 #D54A6F #D56B4A
triadic
#D54A6F #6FD54A #4A6FD5
tetradic
#D54A6F #B5D54A #4AD5B0 #6B4AD5
square
#D54A6F #B5D54A #4AD5B0 #6B4AD5
split-complementary
#D54A6F #4AD56B #4AB5D5
monochromatic
#861F3A #B72B50 #D54A6F #E17C97 #ECADBE

Accessibility & contrast

On white

4.17
#D54A6F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#D54A6F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D54A6F
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D54A6F#FFFFFF#000000##000000
##D54A6F1.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#696B70
Deuteranopia (green-blind)
#8D866C
Tritanopia (blue-blind)
#E73559
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #d54a6f;
/* rgb */ color: rgb(213, 74, 111);
/* oklch */ color: oklch(60.9% 0.176 7.8);
Tailwind
colors: {
  custom: {
    50: '#e78498',
    500: '#d54a6f',
    950: '#000000',
  },
}
SCSS
$custom: #d54a6f;
$custom-light: #e78498;
$custom-dark: #000000;
JSON
{
  "hex": "#d54a6f",
  "rgb": {
    "r": 213,
    "g": 74,
    "b": 111
  },
  "hsl": {
    "h": 344.029,
    "s": 62.332,
    "l": 56.275
  },
  "oklch": {
    "l": 0.60924,
    "c": 0.17574,
    "h": 7.8
  },
  "luminance": 0.20191
}

Semantic roles & 50–950 ramp

primary
#D54A6F
secondary
#A1DACB
accent
#E5BA42
background
#FEF8F9
surface
#FDF0F2
border
#D5CBCC
text
#170B0D
muted
#857C7E

Preview Lab

Preview with #D54A6F

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

Preview Lab → · Contrast checker → · Palette generator →

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