#54112D#54112D

#54112D is a dark, moderate pink. Relative luminance 0.025; OKLCH L 30.5% C 0.101 H 359.8°. Best body text is #FFFFFF at 14.05:1 contrast (WCAG AA passes).

Color values

HEX#54112D
RGBrgb(84, 17, 45)
HSLhsl(335, 66%, 20%)
HSVhsv(335, 80%, 33%)
CMYKcmyk(0%, 79.8%, 46.4%, 67.1%)
CIE-LABlab(17.81, 32.86, -0.26)
CIE-LCHlch(17.81, 32.86, 359.55°)
OKLaboklab(30.46% 0.1008 -0.0003)
OKLCHoklch(30.46% 0.101 359.8)
XYZxyz(4.3306, 2.4757, 2.7319)
Luminance0.0248 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54112D #115438
analogous
#54114F #54112D #541611
triadic
#54112D #2D5411 #112D54
tetradic
#54112D #4F5411 #115438 #161154
square
#54112D #4F5411 #115438 #161154
split-complementary
#54112D #115416 #114F54
monochromatic
#19050E #210712 #54112D #871B48 #BA2664

Accessibility & contrast

On white

14.05
#54112D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#54112D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #54112D
14.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54112D#FFFFFF#000000##FFFFFF
##54112D1.0014.051.5014.05
#FFFFFF14.051.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F232E
Deuteranopia (green-blind)
#32302B
Tritanopia (blue-blind)
#5C071D
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #54112d;
/* rgb */ color: rgb(84, 17, 45);
/* oklch */ color: oklch(30.5% 0.101 359.8);
Tailwind
colors: {
  custom: {
    50: '#885665',
    500: '#54112d',
    950: '#000000',
  },
}
SCSS
$custom: #54112d;
$custom-light: #885665;
$custom-dark: #000000;
JSON
{
  "hex": "#54112d",
  "rgb": {
    "r": 84,
    "g": 17,
    "b": 45
  },
  "hsl": {
    "h": 334.925,
    "s": 66.337,
    "l": 19.804
  },
  "oklch": {
    "l": 0.30465,
    "c": 0.10082,
    "h": 359.8
  },
  "luminance": 0.02475
}

Semantic roles & 50–950 ramp

primary
#54112D
secondary
#348D68
accent
#E9A23F
background
#F8F5F6
surface
#F0E9EB
border
#CBC5C6
text
#0C0305
muted
#7D787A

Preview Lab

Preview with #54112D

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

Preview Lab → · Contrast checker → · Palette generator →

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