#54182C#54182C

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

Color values

HEX#54182C
RGBrgb(84, 24, 44)
HSLhsl(340, 56%, 21%)
HSVhsv(340, 71%, 33%)
CMYKcmyk(0%, 71.4%, 47.6%, 67.1%)
CIE-LABlab(18.89, 29.66, 2.02)
CIE-LCHlch(18.89, 29.73, 3.89°)
OKLaboklab(31.25% 0.0906 0.0055)
OKLCHoklch(31.25% 0.091 3.5)
XYZxyz(4.4377, 2.7205, 2.6738)
Luminance0.0272 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54182C #185440
analogous
#54184A #54182C #542218
triadic
#54182C #2C5418 #182C54
tetradic
#54182C #4A5418 #185440 #221854
square
#54182C #4A5418 #185440 #221854
split-complementary
#54182C #185422 #184A54
monochromatic
#18070C #240A13 #54182C #842645 #B3335E

Accessibility & contrast

On white

13.60
#54182C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #54182C
13.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54182C#FFFFFF#000000##FFFFFF
##54182C1.0013.601.5413.60
#FFFFFF13.601.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.601.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #54182c;
/* rgb */ color: rgb(84, 24, 44);
/* oklch */ color: oklch(31.3% 0.091 3.5);
Tailwind
colors: {
  custom: {
    50: '#885964',
    500: '#54182c',
    950: '#000000',
  },
}
SCSS
$custom: #54182c;
$custom-light: #885964;
$custom-dark: #000000;
JSON
{
  "hex": "#54182c",
  "rgb": {
    "r": 84,
    "g": 24,
    "b": 44
  },
  "hsl": {
    "h": 340,
    "s": 55.556,
    "l": 21.176
  },
  "oklch": {
    "l": 0.31252,
    "c": 0.09079,
    "h": 3.5
  },
  "luminance": 0.0272
}

Semantic roles & 50–950 ramp

primary
#54182C
secondary
#3D8B71
accent
#DFAD49
background
#F8F5F6
surface
#F0E9EB
border
#CBC5C6
text
#0C0405
muted
#7D797A

Preview Lab

Preview with #54182C

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

Preview Lab → · Contrast checker → · Palette generator →

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