#54162A#54162A

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

Color values

HEX#54162A
RGBrgb(84, 22, 42)
HSLhsl(341, 58%, 21%)
HSVhsv(341, 74%, 33%)
CMYKcmyk(0%, 73.8%, 50%, 67.1%)
CIE-LABlab(18.48, 30.38, 2.85)
CIE-LCHlch(18.48, 30.51, 5.37°)
OKLaboklab(30.93% 0.0928 0.0076)
OKLCHoklch(30.93% 0.093 4.7)
XYZxyz(4.3613, 2.6264, 2.4673)
Luminance0.0263 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54162A #165440
analogous
#541649 #54162A #542116
triadic
#54162A #2A5416 #162A54
tetradic
#54162A #495416 #165440 #211654
square
#54162A #495416 #165440 #211654
split-complementary
#54162A #165421 #164954
monochromatic
#18060C #240912 #54162A #842342 #B52F5A

Accessibility & contrast

On white

13.77
#54162A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #54162A
13.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54162A#FFFFFF#000000##FFFFFF
##54162A1.0013.771.5313.77
#FFFFFF13.771.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.771.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #54162a;
/* rgb */ color: rgb(84, 22, 42);
/* oklch */ color: oklch(30.9% 0.093 4.7);
Tailwind
colors: {
  custom: {
    50: '#885863',
    500: '#54162a',
    950: '#000000',
  },
}
SCSS
$custom: #54162a;
$custom-light: #885863;
$custom-dark: #000000;
JSON
{
  "hex": "#54162a",
  "rgb": {
    "r": 84,
    "g": 22,
    "b": 42
  },
  "hsl": {
    "h": 340.645,
    "s": 58.491,
    "l": 20.784
  },
  "oklch": {
    "l": 0.30929,
    "c": 0.09309,
    "h": 4.7
  },
  "luminance": 0.02626
}

Semantic roles & 50–950 ramp

primary
#54162A
secondary
#3A8B71
accent
#E2B046
background
#F8F5F5
surface
#F0E9EA
border
#CBC5C6
text
#0C0305
muted
#7D7879

Preview Lab

Preview with #54162A

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

Preview Lab → · Contrast checker → · Palette generator →

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