#540E20#540E20

#540E20 is a dark, moderate pink. Relative luminance 0.023; OKLCH L 29.7% C 0.101 H 11.4°. Best body text is #FFFFFF at 14.38:1 contrast (WCAG AA passes).

Color values

HEX#540E20
RGBrgb(84, 14, 32)
HSLhsl(345, 71%, 19%)
HSVhsv(345, 83%, 33%)
CMYKcmyk(0%, 83.3%, 61.9%, 67.1%)
CIE-LABlab(17.01, 32.72, 7.96)
CIE-LCHlch(17.01, 33.67, 13.67°)
OKLaboklab(29.74% 0.099 0.0199)
OKLCHoklch(29.74% 0.101 11.4)
XYZxyz(4.0743, 2.3038, 1.5964)
Luminance0.0230 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#540E20 #0E5442
analogous
#540E43 #540E20 #541F0E
triadic
#540E20 #20540E #0E2054
tetradic
#540E20 #43540E #0E5442 #1F0E54
square
#540E20 #43540E #0E5442 #1F0E54
split-complementary
#540E20 #0E541F #0E4354
monochromatic
#1A040A #20050C #540E20 #881734 #BD1F48

Accessibility & contrast

On white

14.38
#540E20 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#540E20 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #540E20
14.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##540E20#FFFFFF#000000##FFFFFF
##540E201.0014.381.4614.38
#FFFFFF14.381.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#212120
Deuteranopia (green-blind)
#332F1E
Tritanopia (blue-blind)
#5D0016
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #540e20;
/* rgb */ color: rgb(84, 14, 32);
/* oklch */ color: oklch(29.7% 0.101 11.4);
Tailwind
colors: {
  custom: {
    50: '#89545b',
    500: '#540e20',
    950: '#000000',
  },
}
SCSS
$custom: #540e20;
$custom-light: #89545b;
$custom-dark: #000000;
JSON
{
  "hex": "#540e20",
  "rgb": {
    "r": 84,
    "g": 14,
    "b": 32
  },
  "hsl": {
    "h": 344.571,
    "s": 71.429,
    "l": 19.216
  },
  "oklch": {
    "l": 0.29745,
    "c": 0.10097,
    "h": 11.4
  },
  "luminance": 0.02303
}

Semantic roles & 50–950 ramp

primary
#540E20
secondary
#2F8E76
accent
#EEC03A
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0C0304
muted
#7D7879

Preview Lab

Preview with #540E20

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

Preview Lab → · Contrast checker → · Palette generator →

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