#540E22#540E22

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

Color values

HEX#540E22
RGBrgb(84, 14, 34)
HSLhsl(343, 71%, 19%)
HSVhsv(343, 83%, 33%)
CMYKcmyk(0%, 83.3%, 59.5%, 67.1%)
CIE-LABlab(17.06, 32.89, 6.59)
CIE-LCHlch(17.06, 33.54, 11.33°)
OKLaboklab(29.8% 0.0999 0.0167)
OKLCHoklch(29.8% 0.101 9.5)
XYZxyz(4.1023, 2.3150, 1.7439)
Luminance0.0231 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#540E22 #0E5440
analogous
#540E45 #540E22 #541D0E
triadic
#540E22 #22540E #0E2254
tetradic
#540E22 #45540E #0E5440 #1D0E54
square
#540E22 #45540E #0E5440 #1D0E54
split-complementary
#540E22 #0E541D #0E4554
monochromatic
#1A040B #20050D #540E22 #881737 #BD1F4C

Accessibility & contrast

On white

14.36
#540E22 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #540E22
14.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##540E22#FFFFFF#000000##FFFFFF
##540E221.0014.361.4614.36
#FFFFFF14.361.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#212122
Deuteranopia (green-blind)
#332F20
Tritanopia (blue-blind)
#5C0017
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #540e22;
/* rgb */ color: rgb(84, 14, 34);
/* oklch */ color: oklch(29.8% 0.101 9.5);
Tailwind
colors: {
  custom: {
    50: '#89545c',
    500: '#540e22',
    950: '#000000',
  },
}
SCSS
$custom: #540e22;
$custom-light: #89545c;
$custom-dark: #000000;
JSON
{
  "hex": "#540e22",
  "rgb": {
    "r": 84,
    "g": 14,
    "b": 34
  },
  "hsl": {
    "h": 342.857,
    "s": 71.429,
    "l": 19.216
  },
  "oklch": {
    "l": 0.29802,
    "c": 0.10127,
    "h": 9.5
  },
  "luminance": 0.02314
}

Semantic roles & 50–950 ramp

primary
#540E22
secondary
#2F8E73
accent
#EEBB3A
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0C0304
muted
#7D7879

Preview Lab

Preview with #540E22

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

Preview Lab → · Contrast checker → · Palette generator →

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