#54162B#54162B

#54162B is a dark, moderate pink. Relative luminance 0.026; OKLCH L 31.0% C 0.093 H 3.7°. Best body text is #FFFFFF at 13.76:1 contrast (WCAG AA passes).

Color values

HEX#54162B
RGBrgb(84, 22, 43)
HSLhsl(340, 58%, 21%)
HSVhsv(340, 74%, 33%)
CMYKcmyk(0%, 73.8%, 48.8%, 67.1%)
CIE-LABlab(18.51, 30.49, 2.19)
CIE-LCHlch(18.51, 30.57, 4.10°)
OKLaboklab(30.96% 0.0932 0.006)
OKLCHoklch(30.96% 0.093 3.7)
XYZxyz(4.3794, 2.6336, 2.5627)
Luminance0.0263 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54162B #16543F
analogous
#54164A #54162B #542016
triadic
#54162B #2B5416 #162B54
tetradic
#54162B #4A5416 #16543F #201654
square
#54162B #4A5416 #16543F #201654
split-complementary
#54162B #165420 #164A54
monochromatic
#18060C #240912 #54162B #842344 #B52F5D

Accessibility & contrast

On white

13.76
#54162B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#54162B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #54162B
13.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54162B#FFFFFF#000000##FFFFFF
##54162B1.0013.761.5313.76
#FFFFFF13.761.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#23252C
Deuteranopia (green-blind)
#34322A
Tritanopia (blue-blind)
#5C0D1E
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #54162b;
/* rgb */ color: rgb(84, 22, 43);
/* oklch */ color: oklch(31.0% 0.093 3.7);
Tailwind
colors: {
  custom: {
    50: '#885864',
    500: '#54162b',
    950: '#000000',
  },
}
SCSS
$custom: #54162b;
$custom-light: #885864;
$custom-dark: #000000;
JSON
{
  "hex": "#54162b",
  "rgb": {
    "r": 84,
    "g": 22,
    "b": 43
  },
  "hsl": {
    "h": 339.677,
    "s": 58.491,
    "l": 20.784
  },
  "oklch": {
    "l": 0.30963,
    "c": 0.09338,
    "h": 3.7
  },
  "luminance": 0.02633
}

Semantic roles & 50–950 ramp

primary
#54162B
secondary
#3A8B70
accent
#E2AD46
background
#F8F5F5
surface
#F0E9EA
border
#CBC5C6
text
#0C0305
muted
#7D7879

Preview Lab

Preview with #54162B

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

Preview Lab → · Contrast checker → · Palette generator →

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