#540E24#540E24

#540E24 is a dark, moderate pink. Relative luminance 0.023; OKLCH L 29.9% C 0.102 H 7.6°. Best body text is #FFFFFF at 14.33:1 contrast (WCAG AA passes).

Color values

HEX#540E24
RGBrgb(84, 14, 36)
HSLhsl(341, 71%, 19%)
HSVhsv(341, 83%, 33%)
CMYKcmyk(0%, 83.3%, 57.1%, 67.1%)
CIE-LABlab(17.12, 33.07, 5.22)
CIE-LCHlch(17.12, 33.48, 8.97°)
OKLaboklab(29.86% 0.1008 0.0134)
OKLCHoklch(29.86% 0.102 7.6)
XYZxyz(4.1320, 2.3268, 1.9003)
Luminance0.0233 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#540E24 #0E543E
analogous
#540E47 #540E24 #541B0E
triadic
#540E24 #24540E #0E2454
tetradic
#540E24 #47540E #0E543E #1B0E54
square
#540E24 #47540E #0E543E #1B0E54
split-complementary
#540E24 #0E541B #0E4754
monochromatic
#1A040B #20050E #540E24 #88173A #BD1F51

Accessibility & contrast

On white

14.33
#540E24 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#540E24 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #540E24
14.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##540E24#FFFFFF#000000##FFFFFF
##540E241.0014.331.4714.33
#FFFFFF14.331.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#202124
Deuteranopia (green-blind)
#322F22
Tritanopia (blue-blind)
#5C0017
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #540e24;
/* rgb */ color: rgb(84, 14, 36);
/* oklch */ color: oklch(29.9% 0.102 7.6);
Tailwind
colors: {
  custom: {
    50: '#89545e',
    500: '#540e24',
    950: '#000000',
  },
}
SCSS
$custom: #540e24;
$custom-light: #89545e;
$custom-dark: #000000;
JSON
{
  "hex": "#540e24",
  "rgb": {
    "r": 84,
    "g": 14,
    "b": 36
  },
  "hsl": {
    "h": 341.143,
    "s": 71.429,
    "l": 19.216
  },
  "oklch": {
    "l": 0.29862,
    "c": 0.10165,
    "h": 7.6
  },
  "luminance": 0.02326
}

Semantic roles & 50–950 ramp

primary
#540E24
secondary
#2F8E71
accent
#EEB53A
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0C0304
muted
#7D7879

Preview Lab

Preview with #540E24

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

Preview Lab → · Contrast checker → · Palette generator →

#540E24 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva