#54162D#54162D

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

Color values

HEX#54162D
RGBrgb(84, 22, 45)
HSLhsl(338, 58%, 21%)
HSVhsv(338, 74%, 33%)
CMYKcmyk(0%, 73.8%, 46.4%, 67.1%)
CIE-LABlab(18.58, 30.72, 0.86)
CIE-LCHlch(18.58, 30.73, 1.61°)
OKLaboklab(31.03% 0.094 0.0026)
OKLCHoklch(31.03% 0.094 1.6)
XYZxyz(4.4170, 2.6486, 2.7607)
Luminance0.0265 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54162D #16543D
analogous
#54164C #54162D #541E16
triadic
#54162D #2D5416 #162D54
tetradic
#54162D #4C5416 #16543D #1E1654
square
#54162D #4C5416 #16543D #1E1654
split-complementary
#54162D #16541E #164C54
monochromatic
#18060D #240913 #54162D #842347 #B52F61

Accessibility & contrast

On white

13.73
#54162D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #54162D
13.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54162D#FFFFFF#000000##FFFFFF
##54162D1.0013.731.5313.73
#FFFFFF13.731.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#23262E
Deuteranopia (green-blind)
#33322C
Tritanopia (blue-blind)
#5C0E1F
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #54162d;
/* rgb */ color: rgb(84, 22, 45);
/* oklch */ color: oklch(31.0% 0.094 1.6);
Tailwind
colors: {
  custom: {
    50: '#885865',
    500: '#54162d',
    950: '#000000',
  },
}
SCSS
$custom: #54162d;
$custom-light: #885865;
$custom-dark: #000000;
JSON
{
  "hex": "#54162d",
  "rgb": {
    "r": 84,
    "g": 22,
    "b": 45
  },
  "hsl": {
    "h": 337.742,
    "s": 58.491,
    "l": 20.784
  },
  "oklch": {
    "l": 0.31033,
    "c": 0.09405,
    "h": 1.6
  },
  "luminance": 0.02648
}

Semantic roles & 50–950 ramp

primary
#54162D
secondary
#3A8B6D
accent
#E2A846
background
#F8F5F6
surface
#F0E9EB
border
#CBC5C6
text
#0C0305
muted
#7D787A

Preview Lab

Preview with #54162D

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

Preview Lab → · Contrast checker → · Palette generator →

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