#54173C#54173C

#54173C is a dark, moderate pink. Relative luminance 0.028; OKLCH L 31.8% C 0.100 H 346.9°. Best body text is #FFFFFF at 13.42:1 contrast (WCAG AA passes).

Color values

HEX#54173C
RGBrgb(84, 23, 60)
HSLhsl(324, 57%, 21%)
HSVhsv(324, 73%, 33%)
CMYKcmyk(0%, 72.6%, 28.6%, 67.1%)
CIE-LABlab(19.33, 32.27, -8.59)
CIE-LCHlch(19.33, 33.39, 345.10°)
OKLaboklab(31.78% 0.0977 -0.0227)
OKLCHoklch(31.78% 0.1 346.9)
XYZxyz(4.7784, 2.8243, 4.5676)
Luminance0.0282 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54173C #17542F
analogous
#4D1754 #54173C #54171D
triadic
#54173C #3C5417 #173C54
tetradic
#54173C #544D17 #17542F #171D54
square
#54173C #544D17 #17542F #171D54
split-complementary
#54173C #1D5417 #17544D
monochromatic
#180711 #240A1A #54173C #84245E #B43181

Accessibility & contrast

On white

13.42
#54173C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#54173C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #54173C
13.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54173C#FFFFFF#000000##FFFFFF
##54173C1.0013.421.5613.42
#FFFFFF13.421.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E283D
Deuteranopia (green-blind)
#30333B
Tritanopia (blue-blind)
#5A1527
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #54173c;
/* rgb */ color: rgb(84, 23, 60);
/* oklch */ color: oklch(31.8% 0.100 346.9);
Tailwind
colors: {
  custom: {
    50: '#875971',
    500: '#54173c',
    950: '#000000',
  },
}
SCSS
$custom: #54173c;
$custom-light: #875971;
$custom-dark: #000000;
JSON
{
  "hex": "#54173c",
  "rgb": {
    "r": 84,
    "g": 23,
    "b": 60
  },
  "hsl": {
    "h": 323.607,
    "s": 57.009,
    "l": 20.98
  },
  "oklch": {
    "l": 0.31776,
    "c": 0.10032,
    "h": 346.9
  },
  "luminance": 0.02824
}

Semantic roles & 50–950 ramp

primary
#54173C
secondary
#3C8B5B
accent
#E08448
background
#F8F5F6
surface
#F0E9EC
border
#CBC5C7
text
#0C0407
muted
#7D797A

Preview Lab

Preview with #54173C

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

Preview Lab → · Contrast checker → · Palette generator →

#54173C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva