#54182E#54182E

#54182E is a dark, moderate pink. Relative luminance 0.027; OKLCH L 31.3% C 0.091 H 1.4°. Best body text is #FFFFFF at 13.57:1 contrast (WCAG AA passes).

Color values

HEX#54182E
RGBrgb(84, 24, 46)
HSLhsl(338, 56%, 21%)
HSVhsv(338, 71%, 33%)
CMYKcmyk(0%, 71.4%, 45.2%, 67.1%)
CIE-LABlab(18.95, 29.90, 0.70)
CIE-LCHlch(18.95, 29.91, 1.34°)
OKLaboklab(31.32% 0.0914 0.0022)
OKLCHoklch(31.32% 0.091 1.4)
XYZxyz(4.4762, 2.7359, 2.8766)
Luminance0.0273 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54182E #18543E
analogous
#54184C #54182E #542018
triadic
#54182E #2E5418 #182E54
tetradic
#54182E #4C5418 #18543E #201854
square
#54182E #4C5418 #18543E #201854
split-complementary
#54182E #185420 #184C54
monochromatic
#18070D #240A14 #54182E #842648 #B33362

Accessibility & contrast

On white

13.57
#54182E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #54182E
13.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54182E#FFFFFF#000000##FFFFFF
##54182E1.0013.571.5513.57
#FFFFFF13.571.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#24272F
Deuteranopia (green-blind)
#34322D
Tritanopia (blue-blind)
#5B1121
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #54182e;
/* rgb */ color: rgb(84, 24, 46);
/* oklch */ color: oklch(31.3% 0.091 1.4);
Tailwind
colors: {
  custom: {
    50: '#875966',
    500: '#54182e',
    950: '#000000',
  },
}
SCSS
$custom: #54182e;
$custom-light: #875966;
$custom-dark: #000000;
JSON
{
  "hex": "#54182e",
  "rgb": {
    "r": 84,
    "g": 24,
    "b": 46
  },
  "hsl": {
    "h": 338,
    "s": 55.556,
    "l": 21.176
  },
  "oklch": {
    "l": 0.31323,
    "c": 0.09147,
    "h": 1.4
  },
  "luminance": 0.02735
}

Semantic roles & 50–950 ramp

primary
#54182E
secondary
#3D8B6E
accent
#DFA849
background
#F8F5F6
surface
#F0E9EB
border
#CBC5C6
text
#0C0406
muted
#7D797A

Preview Lab

Preview with #54182E

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

Preview Lab → · Contrast checker → · Palette generator →

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