#54173E#54173E

#54173E is a dark, moderate pink. Relative luminance 0.028; OKLCH L 31.9% C 0.102 H 345.1°. Best body text is #FFFFFF at 13.38:1 contrast (WCAG AA passes).

Color values

HEX#54173E
RGBrgb(84, 23, 62)
HSLhsl(322, 57%, 21%)
HSVhsv(322, 73%, 33%)
CMYKcmyk(0%, 72.6%, 26.2%, 67.1%)
CIE-LABlab(19.42, 32.57, -9.84)
CIE-LCHlch(19.42, 34.03, 343.19°)
OKLaboklab(31.87% 0.0983 -0.0261)
OKLCHoklch(31.87% 0.102 345.1)
XYZxyz(4.8322, 2.8459, 4.8513)
Luminance0.0284 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54173E #17542D
analogous
#4B1754 #54173E #54171F
triadic
#54173E #3E5417 #173E54
tetradic
#54173E #544B17 #17542D #171F54
square
#54173E #544B17 #17542D #171F54
split-complementary
#54173E #1F5417 #17544B
monochromatic
#180712 #240A1B #54173E #842461 #B43185

Accessibility & contrast

On white

13.38
#54173E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#54173E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #54173E
13.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54173E#FFFFFF#000000##FFFFFF
##54173E1.0013.381.5713.38
#FFFFFF13.381.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E283F
Deuteranopia (green-blind)
#2F333D
Tritanopia (blue-blind)
#5A1628
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #54173e;
/* rgb */ color: rgb(84, 23, 62);
/* oklch */ color: oklch(31.9% 0.102 345.1);
Tailwind
colors: {
  custom: {
    50: '#875973',
    500: '#54173e',
    950: '#000000',
  },
}
SCSS
$custom: #54173e;
$custom-light: #875973;
$custom-dark: #000000;
JSON
{
  "hex": "#54173e",
  "rgb": {
    "r": 84,
    "g": 23,
    "b": 62
  },
  "hsl": {
    "h": 321.639,
    "s": 57.009,
    "l": 20.98
  },
  "oklch": {
    "l": 0.31871,
    "c": 0.10167,
    "h": 345.1
  },
  "luminance": 0.02845
}

Semantic roles & 50–950 ramp

primary
#54173E
secondary
#3C8B58
accent
#E07F48
background
#F8F5F6
surface
#F0E9EC
border
#CBC5C7
text
#0B0408
muted
#7C797B

Preview Lab

Preview with #54173E

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

Preview Lab → · Contrast checker → · Palette generator →

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