#54182F#54182F

#54182F is a dark, moderate pink. Relative luminance 0.027; OKLCH L 31.4% C 0.092 H 0.3°. Best body text is #FFFFFF at 13.56:1 contrast (WCAG AA passes).

Color values

HEX#54182F
RGBrgb(84, 24, 47)
HSLhsl(337, 56%, 21%)
HSVhsv(337, 71%, 33%)
CMYKcmyk(0%, 71.4%, 44%, 67.1%)
CIE-LABlab(18.99, 30.02, 0.04)
CIE-LCHlch(18.99, 30.02, 0.08°)
OKLaboklab(31.36% 0.0918 0.0005)
OKLCHoklch(31.36% 0.092 0.3)
XYZxyz(4.4962, 2.7439, 2.9816)
Luminance0.0274 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54182F #18543D
analogous
#54184D #54182F #541F18
triadic
#54182F #2F5418 #182F54
tetradic
#54182F #4D5418 #18543D #1F1854
square
#54182F #4D5418 #18543D #1F1854
split-complementary
#54182F #18541F #184D54
monochromatic
#18070D #240A14 #54182F #84264A #B33364

Accessibility & contrast

On white

13.56
#54182F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#54182F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #54182F
13.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54182F#FFFFFF#000000##FFFFFF
##54182F1.0013.561.5513.56
#FFFFFF13.561.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#242730
Deuteranopia (green-blind)
#34322E
Tritanopia (blue-blind)
#5B1121
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #54182f;
/* rgb */ color: rgb(84, 24, 47);
/* oklch */ color: oklch(31.4% 0.092 0.3);
Tailwind
colors: {
  custom: {
    50: '#875967',
    500: '#54182f',
    950: '#000000',
  },
}
SCSS
$custom: #54182f;
$custom-light: #875967;
$custom-dark: #000000;
JSON
{
  "hex": "#54182f",
  "rgb": {
    "r": 84,
    "g": 24,
    "b": 47
  },
  "hsl": {
    "h": 337,
    "s": 55.556,
    "l": 21.176
  },
  "oklch": {
    "l": 0.31359,
    "c": 0.09184,
    "h": 0.3
  },
  "luminance": 0.02743
}

Semantic roles & 50–950 ramp

primary
#54182F
secondary
#3D8B6D
accent
#DFA549
background
#F8F5F6
surface
#F0E9EB
border
#CBC5C6
text
#0C0406
muted
#7D797A

Preview Lab

Preview with #54182F

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

Preview Lab → · Contrast checker → · Palette generator →

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