#54173A#54173A

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

Color values

HEX#54173A
RGBrgb(84, 23, 58)
HSLhsl(326, 57%, 21%)
HSVhsv(326, 73%, 33%)
CMYKcmyk(0%, 72.6%, 31%, 67.1%)
CIE-LABlab(19.24, 31.97, -7.32)
CIE-LCHlch(19.24, 32.80, 347.10°)
OKLaboklab(31.68% 0.0972 -0.0192)
OKLCHoklch(31.68% 0.099 348.8)
XYZxyz(4.7265, 2.8036, 4.2944)
Luminance0.0280 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54173A #175431
analogous
#4F1754 #54173A #54171B
triadic
#54173A #3A5417 #173A54
tetradic
#54173A #544F17 #175431 #171B54
square
#54173A #544F17 #175431 #171B54
split-complementary
#54173A #1B5417 #17544F
monochromatic
#180711 #240A19 #54173A #84245B #B4317C

Accessibility & contrast

On white

13.46
#54173A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #54173A
13.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54173A#FFFFFF#000000##FFFFFF
##54173A1.0013.461.5613.46
#FFFFFF13.461.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F283B
Deuteranopia (green-blind)
#313339
Tritanopia (blue-blind)
#5A1526
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #54173a;
/* rgb */ color: rgb(84, 23, 58);
/* oklch */ color: oklch(31.7% 0.099 348.8);
Tailwind
colors: {
  custom: {
    50: '#875970',
    500: '#54173a',
    950: '#000000',
  },
}
SCSS
$custom: #54173a;
$custom-light: #875970;
$custom-dark: #000000;
JSON
{
  "hex": "#54173a",
  "rgb": {
    "r": 84,
    "g": 23,
    "b": 58
  },
  "hsl": {
    "h": 325.574,
    "s": 57.009,
    "l": 20.98
  },
  "oklch": {
    "l": 0.31684,
    "c": 0.09903,
    "h": 348.8
  },
  "luminance": 0.02803
}

Semantic roles & 50–950 ramp

primary
#54173A
secondary
#3C8B5E
accent
#E08948
background
#F8F5F6
surface
#F0E9EC
border
#CBC5C7
text
#0C0407
muted
#7D797A

Preview Lab

Preview with #54173A

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

Preview Lab → · Contrast checker → · Palette generator →

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