#54162C#54162C

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

Color values

HEX#54162C
RGBrgb(84, 22, 44)
HSLhsl(339, 58%, 21%)
HSVhsv(339, 74%, 33%)
CMYKcmyk(0%, 73.8%, 47.6%, 67.1%)
CIE-LABlab(18.54, 30.61, 1.52)
CIE-LCHlch(18.54, 30.64, 2.85°)
OKLaboklab(31% 0.0936 0.0043)
OKLCHoklch(31% 0.094 2.6)
XYZxyz(4.3980, 2.6410, 2.6606)
Luminance0.0264 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54162C #16543E
analogous
#54164B #54162C #541F16
triadic
#54162C #2C5416 #162C54
tetradic
#54162C #4B5416 #16543E #1F1654
square
#54162C #4B5416 #16543E #1F1654
split-complementary
#54162C #16541F #164B54
monochromatic
#18060D #240913 #54162C #842345 #B52F5F

Accessibility & contrast

On white

13.74
#54162C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #54162C
13.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54162C#FFFFFF#000000##FFFFFF
##54162C1.0013.741.5313.74
#FFFFFF13.741.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#23262D
Deuteranopia (green-blind)
#34322B
Tritanopia (blue-blind)
#5C0E1F
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #54162c;
/* rgb */ color: rgb(84, 22, 44);
/* oklch */ color: oklch(31.0% 0.094 2.6);
Tailwind
colors: {
  custom: {
    50: '#885864',
    500: '#54162c',
    950: '#000000',
  },
}
SCSS
$custom: #54162c;
$custom-light: #885864;
$custom-dark: #000000;
JSON
{
  "hex": "#54162c",
  "rgb": {
    "r": 84,
    "g": 22,
    "b": 44
  },
  "hsl": {
    "h": 338.71,
    "s": 58.491,
    "l": 20.784
  },
  "oklch": {
    "l": 0.30998,
    "c": 0.09371,
    "h": 2.6
  },
  "luminance": 0.0264
}

Semantic roles & 50–950 ramp

primary
#54162C
secondary
#3A8B6F
accent
#E2AA46
background
#F8F5F6
surface
#F0E9EB
border
#CBC5C6
text
#0C0305
muted
#7D787A

Preview Lab

Preview with #54162C

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

Preview Lab → · Contrast checker → · Palette generator →

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