#54112F#54112F

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

Color values

HEX#54112F
RGBrgb(84, 17, 47)
HSLhsl(333, 66%, 20%)
HSVhsv(333, 80%, 33%)
CMYKcmyk(0%, 79.8%, 44%, 67.1%)
CIE-LABlab(17.88, 33.09, -1.58)
CIE-LCHlch(17.88, 33.13, 357.26°)
OKLaboklab(30.54% 0.1016 -0.0037)
OKLCHoklch(30.54% 0.102 357.9)
XYZxyz(4.3700, 2.4915, 2.9396)
Luminance0.0249 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54112F #115436
analogous
#541151 #54112F #541411
triadic
#54112F #2F5411 #112F54
tetradic
#54112F #515411 #115436 #141154
square
#54112F #515411 #115436 #141154
split-complementary
#54112F #115414 #115154
monochromatic
#19050E #210713 #54112F #871B4B #BA2668

Accessibility & contrast

On white

14.02
#54112F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #54112F
14.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54112F#FFFFFF#000000##FFFFFF
##54112F1.0014.021.5014.02
#FFFFFF14.021.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F2430
Deuteranopia (green-blind)
#31302D
Tritanopia (blue-blind)
#5B081E
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #54112f;
/* rgb */ color: rgb(84, 17, 47);
/* oklch */ color: oklch(30.5% 0.102 357.9);
Tailwind
colors: {
  custom: {
    50: '#885667',
    500: '#54112f',
    950: '#000000',
  },
}
SCSS
$custom: #54112f;
$custom-light: #885667;
$custom-dark: #000000;
JSON
{
  "hex": "#54112f",
  "rgb": {
    "r": 84,
    "g": 17,
    "b": 47
  },
  "hsl": {
    "h": 333.134,
    "s": 66.337,
    "l": 19.804
  },
  "oklch": {
    "l": 0.30542,
    "c": 0.10164,
    "h": 357.9
  },
  "luminance": 0.02491
}

Semantic roles & 50–950 ramp

primary
#54112F
secondary
#348D65
accent
#E99D3F
background
#F8F5F6
surface
#F0E9EB
border
#CBC5C6
text
#0C0306
muted
#7D787A

Preview Lab

Preview with #54112F

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

Preview Lab → · Contrast checker → · Palette generator →

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