#54162E#54162E

#54162E is a dark, moderate pink. Relative luminance 0.027; OKLCH L 31.1% C 0.094 H 0.5°. Best body text is #FFFFFF at 13.71:1 contrast (WCAG AA passes).

Color values

HEX#54162E
RGBrgb(84, 22, 46)
HSLhsl(337, 58%, 21%)
HSVhsv(337, 74%, 33%)
CMYKcmyk(0%, 73.8%, 45.2%, 67.1%)
CIE-LABlab(18.61, 30.84, 0.20)
CIE-LCHlch(18.61, 30.84, 0.37°)
OKLaboklab(31.07% 0.0944 0.0009)
OKLCHoklch(31.07% 0.094 0.5)
XYZxyz(4.4365, 2.6564, 2.8634)
Luminance0.0266 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54162E #16543C
analogous
#54164D #54162E #541D16
triadic
#54162E #2E5416 #162E54
tetradic
#54162E #4D5416 #16543C #1D1654
square
#54162E #4D5416 #16543C #1D1654
split-complementary
#54162E #16541D #164D54
monochromatic
#18060D #240913 #54162E #842349 #B52F63

Accessibility & contrast

On white

13.71
#54162E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #54162E
13.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54162E#FFFFFF#000000##FFFFFF
##54162E1.0013.711.5313.71
#FFFFFF13.711.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#22262F
Deuteranopia (green-blind)
#33322D
Tritanopia (blue-blind)
#5B0E20
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #54162e;
/* rgb */ color: rgb(84, 22, 46);
/* oklch */ color: oklch(31.1% 0.094 0.5);
Tailwind
colors: {
  custom: {
    50: '#885866',
    500: '#54162e',
    950: '#000000',
  },
}
SCSS
$custom: #54162e;
$custom-light: #885866;
$custom-dark: #000000;
JSON
{
  "hex": "#54162e",
  "rgb": {
    "r": 84,
    "g": 22,
    "b": 46
  },
  "hsl": {
    "h": 336.774,
    "s": 58.491,
    "l": 20.784
  },
  "oklch": {
    "l": 0.31069,
    "c": 0.09441,
    "h": 0.5
  },
  "luminance": 0.02656
}

Semantic roles & 50–950 ramp

primary
#54162E
secondary
#3A8B6C
accent
#E2A546
background
#F8F5F6
surface
#F0E9EB
border
#CBC5C6
text
#0C0406
muted
#7D797A

Preview Lab

Preview with #54162E

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

Preview Lab → · Contrast checker → · Palette generator →

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