#54173B#54173B

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

Color values

HEX#54173B
RGBrgb(84, 23, 59)
HSLhsl(325, 57%, 21%)
HSVhsv(325, 73%, 33%)
CMYKcmyk(0%, 72.6%, 29.8%, 67.1%)
CIE-LABlab(19.28, 32.12, -7.95)
CIE-LCHlch(19.28, 33.09, 346.09°)
OKLaboklab(31.73% 0.0974 -0.0209)
OKLCHoklch(31.73% 0.1 347.9)
XYZxyz(4.7522, 2.8139, 4.4297)
Luminance0.0281 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54173B #175430
analogous
#4E1754 #54173B #54171C
triadic
#54173B #3B5417 #173B54
tetradic
#54173B #544E17 #175430 #171C54
square
#54173B #544E17 #175430 #171C54
split-complementary
#54173B #1C5417 #17544E
monochromatic
#180711 #240A19 #54173B #84245D #B4317E

Accessibility & contrast

On white

13.44
#54173B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #54173B
13.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54173B#FFFFFF#000000##FFFFFF
##54173B1.0013.441.5613.44
#FFFFFF13.441.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F283C
Deuteranopia (green-blind)
#30333A
Tritanopia (blue-blind)
#5A1526
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #54173b;
/* rgb */ color: rgb(84, 23, 59);
/* oklch */ color: oklch(31.7% 0.100 347.9);
Tailwind
colors: {
  custom: {
    50: '#875971',
    500: '#54173b',
    950: '#000000',
  },
}
SCSS
$custom: #54173b;
$custom-light: #875971;
$custom-dark: #000000;
JSON
{
  "hex": "#54173b",
  "rgb": {
    "r": 84,
    "g": 23,
    "b": 59
  },
  "hsl": {
    "h": 324.59,
    "s": 57.009,
    "l": 20.98
  },
  "oklch": {
    "l": 0.31729,
    "c": 0.09966,
    "h": 347.9
  },
  "luminance": 0.02813
}

Semantic roles & 50–950 ramp

primary
#54173B
secondary
#3C8B5C
accent
#E08648
background
#F8F5F6
surface
#F0E9EC
border
#CBC5C7
text
#0C0407
muted
#7D797A

Preview Lab

Preview with #54173B

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

Preview Lab → · Contrast checker → · Palette generator →

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