#54182A#54182A

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

Color values

HEX#54182A
RGBrgb(84, 24, 42)
HSLhsl(342, 56%, 21%)
HSVhsv(342, 71%, 33%)
CMYKcmyk(0%, 71.4%, 50%, 67.1%)
CIE-LABlab(18.82, 29.44, 3.35)
CIE-LCHlch(18.82, 29.63, 6.48°)
OKLaboklab(31.19% 0.0898 0.0089)
OKLCHoklch(31.19% 0.09 5.6)
XYZxyz(4.4010, 2.7058, 2.4806)
Luminance0.0271 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54182A #185442
analogous
#541848 #54182A #542418
triadic
#54182A #2A5418 #182A54
tetradic
#54182A #485418 #185442 #241854
square
#54182A #485418 #185442 #241854
split-complementary
#54182A #185424 #184854
monochromatic
#18070C #240A12 #54182A #842642 #B3335A

Accessibility & contrast

On white

13.63
#54182A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #54182A
13.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54182A#FFFFFF#000000##FFFFFF
##54182A1.0013.631.5413.63
#FFFFFF13.631.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25262A
Deuteranopia (green-blind)
#353229
Tritanopia (blue-blind)
#5C0F1F
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #54182a;
/* rgb */ color: rgb(84, 24, 42);
/* oklch */ color: oklch(31.2% 0.090 5.6);
Tailwind
colors: {
  custom: {
    50: '#885963',
    500: '#54182a',
    950: '#000000',
  },
}
SCSS
$custom: #54182a;
$custom-light: #885963;
$custom-dark: #000000;
JSON
{
  "hex": "#54182a",
  "rgb": {
    "r": 84,
    "g": 24,
    "b": 42
  },
  "hsl": {
    "h": 342,
    "s": 55.556,
    "l": 21.176
  },
  "oklch": {
    "l": 0.31185,
    "c": 0.09022,
    "h": 5.6
  },
  "luminance": 0.02705
}

Semantic roles & 50–950 ramp

primary
#54182A
secondary
#3D8B73
accent
#DFB249
background
#F8F5F5
surface
#F0E9EA
border
#CBC5C6
text
#0C0405
muted
#7D7979

Preview Lab

Preview with #54182A

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

Preview Lab → · Contrast checker → · Palette generator →

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