#540E23#540E23

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

Color values

HEX#540E23
RGBrgb(84, 14, 35)
HSLhsl(342, 71%, 19%)
HSVhsv(342, 83%, 33%)
CMYKcmyk(0%, 83.3%, 58.3%, 67.1%)
CIE-LABlab(17.09, 32.98, 5.90)
CIE-LCHlch(17.09, 33.50, 10.15°)
OKLaboklab(29.83% 0.1003 0.0151)
OKLCHoklch(29.83% 0.101 8.5)
XYZxyz(4.1170, 2.3208, 1.8210)
Luminance0.0232 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#540E23 #0E543F
analogous
#540E46 #540E23 #541C0E
triadic
#540E23 #23540E #0E2354
tetradic
#540E23 #46540E #0E543F #1C0E54
square
#540E23 #46540E #0E543F #1C0E54
split-complementary
#540E23 #0E541C #0E4654
monochromatic
#1A040B #20050D #540E23 #881739 #BD1F4F

Accessibility & contrast

On white

14.34
#540E23 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #540E23
14.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##540E23#FFFFFF#000000##FFFFFF
##540E231.0014.341.4614.34
#FFFFFF14.341.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.341.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #540e23;
/* rgb */ color: rgb(84, 14, 35);
/* oklch */ color: oklch(29.8% 0.101 8.5);
Tailwind
colors: {
  custom: {
    50: '#89545d',
    500: '#540e23',
    950: '#000000',
  },
}
SCSS
$custom: #540e23;
$custom-light: #89545d;
$custom-dark: #000000;
JSON
{
  "hex": "#540e23",
  "rgb": {
    "r": 84,
    "g": 14,
    "b": 35
  },
  "hsl": {
    "h": 342,
    "s": 71.429,
    "l": 19.216
  },
  "oklch": {
    "l": 0.29831,
    "c": 0.10145,
    "h": 8.5
  },
  "luminance": 0.0232
}

Semantic roles & 50–950 ramp

primary
#540E23
secondary
#2F8E72
accent
#EEB83A
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0C0304
muted
#7D7879

Preview Lab

Preview with #540E23

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

Preview Lab → · Contrast checker → · Palette generator →

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