#54162F#54162F

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

Color values

HEX#54162F
RGBrgb(84, 22, 47)
HSLhsl(336, 58%, 21%)
HSVhsv(336, 74%, 33%)
CMYKcmyk(0%, 73.8%, 44%, 67.1%)
CIE-LABlab(18.65, 30.96, -0.46)
CIE-LCHlch(18.65, 30.96, 359.15°)
OKLaboklab(31.11% 0.0948 -0.0008)
OKLCHoklch(31.11% 0.095 359.5)
XYZxyz(4.4565, 2.6644, 2.9684)
Luminance0.0266 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54162F #16543B
analogous
#54164E #54162F #541C16
triadic
#54162F #2F5416 #162F54
tetradic
#54162F #4E5416 #16543B #1C1654
square
#54162F #4E5416 #16543B #1C1654
split-complementary
#54162F #16541C #164E54
monochromatic
#18060E #240914 #54162F #84234A #B52F65

Accessibility & contrast

On white

13.70
#54162F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #54162F
13.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54162F#FFFFFF#000000##FFFFFF
##54162F1.0013.701.5313.70
#FFFFFF13.701.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#222630
Deuteranopia (green-blind)
#33322E
Tritanopia (blue-blind)
#5B0F20
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #54162f;
/* rgb */ color: rgb(84, 22, 47);
/* oklch */ color: oklch(31.1% 0.095 359.5);
Tailwind
colors: {
  custom: {
    50: '#875867',
    500: '#54162f',
    950: '#000000',
  },
}
SCSS
$custom: #54162f;
$custom-light: #875867;
$custom-dark: #000000;
JSON
{
  "hex": "#54162f",
  "rgb": {
    "r": 84,
    "g": 22,
    "b": 47
  },
  "hsl": {
    "h": 335.806,
    "s": 58.491,
    "l": 20.784
  },
  "oklch": {
    "l": 0.31106,
    "c": 0.0948,
    "h": 359.5
  },
  "luminance": 0.02664
}

Semantic roles & 50–950 ramp

primary
#54162F
secondary
#3A8B6B
accent
#E2A346
background
#F8F5F6
surface
#F0E9EB
border
#CBC5C6
text
#0C0406
muted
#7D797A

Preview Lab

Preview with #54162F

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

Preview Lab → · Contrast checker → · Palette generator →

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