#54112B#54112B

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

Color values

HEX#54112B
RGBrgb(84, 17, 43)
HSLhsl(337, 66%, 20%)
HSVhsv(337, 80%, 33%)
CMYKcmyk(0%, 79.8%, 48.8%, 67.1%)
CIE-LABlab(17.74, 32.63, 1.07)
CIE-LCHlch(17.74, 32.65, 1.88°)
OKLaboklab(30.39% 0.1 0.0031)
OKLCHoklch(30.39% 0.1 1.8)
XYZxyz(4.2930, 2.4607, 2.5339)
Luminance0.0246 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54112B #11543A
analogous
#54114D #54112B #541811
triadic
#54112B #2B5411 #112B54
tetradic
#54112B #4D5411 #11543A #181154
square
#54112B #4D5411 #11543A #181154
split-complementary
#54112B #115418 #114D54
monochromatic
#19050D #210711 #54112B #871B45 #BA265F

Accessibility & contrast

On white

14.08
#54112B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #54112B
14.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54112B#FFFFFF#000000##FFFFFF
##54112B1.0014.081.4914.08
#FFFFFF14.081.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.081.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #54112b;
/* rgb */ color: rgb(84, 17, 43);
/* oklch */ color: oklch(30.4% 0.100 1.8);
Tailwind
colors: {
  custom: {
    50: '#885664',
    500: '#54112b',
    950: '#000000',
  },
}
SCSS
$custom: #54112b;
$custom-light: #885664;
$custom-dark: #000000;
JSON
{
  "hex": "#54112b",
  "rgb": {
    "r": 84,
    "g": 17,
    "b": 43
  },
  "hsl": {
    "h": 336.716,
    "s": 66.337,
    "l": 19.804
  },
  "oklch": {
    "l": 0.30392,
    "c": 0.10008,
    "h": 1.8
  },
  "luminance": 0.0246
}

Semantic roles & 50–950 ramp

primary
#54112B
secondary
#348D6A
accent
#E9A73F
background
#F8F5F5
surface
#F0E9EA
border
#CBC5C6
text
#0C0305
muted
#7D7879

Preview Lab

Preview with #54112B

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

Preview Lab → · Contrast checker → · Palette generator →

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