#54182B#54182B

#54182B is a dark, moderate pink. Relative luminance 0.027; OKLCH L 31.2% C 0.090 H 4.6°. Best body text is #FFFFFF at 13.61:1 contrast (WCAG AA passes).

Color values

HEX#54182B
RGBrgb(84, 24, 43)
HSLhsl(341, 56%, 21%)
HSVhsv(341, 71%, 33%)
CMYKcmyk(0%, 71.4%, 48.8%, 67.1%)
CIE-LABlab(18.86, 29.55, 2.68)
CIE-LCHlch(18.86, 29.67, 5.18°)
OKLaboklab(31.22% 0.0902 0.0072)
OKLCHoklch(31.22% 0.09 4.6)
XYZxyz(4.4192, 2.7130, 2.5760)
Luminance0.0271 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54182B #185441
analogous
#541849 #54182B #542318
triadic
#54182B #2B5418 #182B54
tetradic
#54182B #495418 #185441 #231854
square
#54182B #495418 #185441 #231854
split-complementary
#54182B #185423 #184954
monochromatic
#18070C #240A13 #54182B #842643 #B3335C

Accessibility & contrast

On white

13.61
#54182B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#54182B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #54182B
13.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54182B#FFFFFF#000000##FFFFFF
##54182B1.0013.611.5413.61
#FFFFFF13.611.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25262B
Deuteranopia (green-blind)
#34322A
Tritanopia (blue-blind)
#5C1020
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #54182b;
/* rgb */ color: rgb(84, 24, 43);
/* oklch */ color: oklch(31.2% 0.090 4.6);
Tailwind
colors: {
  custom: {
    50: '#885964',
    500: '#54182b',
    950: '#000000',
  },
}
SCSS
$custom: #54182b;
$custom-light: #885964;
$custom-dark: #000000;
JSON
{
  "hex": "#54182b",
  "rgb": {
    "r": 84,
    "g": 24,
    "b": 43
  },
  "hsl": {
    "h": 341,
    "s": 55.556,
    "l": 21.176
  },
  "oklch": {
    "l": 0.31218,
    "c": 0.09049,
    "h": 4.6
  },
  "luminance": 0.02713
}

Semantic roles & 50–950 ramp

primary
#54182B
secondary
#3D8B72
accent
#DFAF49
background
#F8F5F5
surface
#F0E9EA
border
#CBC5C6
text
#0C0405
muted
#7D7979

Preview Lab

Preview with #54182B

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

Preview Lab → · Contrast checker → · Palette generator →

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