#54112A#54112A

#54112A is a dark, moderate pink. Relative luminance 0.025; OKLCH L 30.4% C 0.100 H 2.8°. Best body text is #FFFFFF at 14.09:1 contrast (WCAG AA passes).

Color values

HEX#54112A
RGBrgb(84, 17, 42)
HSLhsl(338, 66%, 20%)
HSVhsv(338, 80%, 33%)
CMYKcmyk(0%, 79.8%, 50%, 67.1%)
CIE-LABlab(17.71, 32.53, 1.74)
CIE-LCHlch(17.71, 32.57, 3.06°)
OKLaboklab(30.36% 0.0996 0.0048)
OKLCHoklch(30.36% 0.1 2.8)
XYZxyz(4.2749, 2.4534, 2.4385)
Luminance0.0245 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54112A #11543B
analogous
#54114C #54112A #541A11
triadic
#54112A #2A5411 #112A54
tetradic
#54112A #4C5411 #11543B #1A1154
square
#54112A #4C5411 #11543B #1A1154
split-complementary
#54112A #11541A #114C54
monochromatic
#19050D #210711 #54112A #871B43 #BA265D

Accessibility & contrast

On white

14.09
#54112A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#54112A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #54112A
14.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54112A#FFFFFF#000000##FFFFFF
##54112A1.0014.091.4914.09
#FFFFFF14.091.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#20232B
Deuteranopia (green-blind)
#323028
Tritanopia (blue-blind)
#5C061C
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #54112a;
/* rgb */ color: rgb(84, 17, 42);
/* oklch */ color: oklch(30.4% 0.100 2.8);
Tailwind
colors: {
  custom: {
    50: '#885663',
    500: '#54112a',
    950: '#000000',
  },
}
SCSS
$custom: #54112a;
$custom-light: #885663;
$custom-dark: #000000;
JSON
{
  "hex": "#54112a",
  "rgb": {
    "r": 84,
    "g": 17,
    "b": 42
  },
  "hsl": {
    "h": 337.612,
    "s": 66.337,
    "l": 19.804
  },
  "oklch": {
    "l": 0.30357,
    "c": 0.09975,
    "h": 2.8
  },
  "luminance": 0.02453
}

Semantic roles & 50–950 ramp

primary
#54112A
secondary
#348D6C
accent
#E9AA3F
background
#F8F5F5
surface
#F0E9EA
border
#CBC5C6
text
#0C0305
muted
#7D7879

Preview Lab

Preview with #54112A

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

Preview Lab → · Contrast checker → · Palette generator →

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