#540E3B#540E3B

#540E3B is a dark, moderate pink. Relative luminance 0.025; OKLCH L 30.8% C 0.112 H 346.4°. Best body text is #FFFFFF at 13.97:1 contrast (WCAG AA passes).

Color values

HEX#540E3B
RGBrgb(84, 14, 59)
HSLhsl(321, 71%, 19%)
HSVhsv(321, 83%, 33%)
CMYKcmyk(0%, 83.3%, 29.8%, 67.1%)
CIE-LABlab(17.99, 35.75, -9.93)
CIE-LCHlch(17.99, 37.11, 344.48°)
OKLaboklab(30.78% 0.1087 -0.0263)
OKLCHoklch(30.78% 0.112 346.4)
XYZxyz(4.6028, 2.5152, 4.3799)
Luminance0.0251 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#540E3B #0E5427
analogous
#4A0E54 #540E3B #540E18
triadic
#540E3B #3B540E #0E3B54
tetradic
#540E3B #544A0E #0E5427 #0E1854
square
#540E3B #544A0E #0E5427 #0E1854
split-complementary
#540E3B #18540E #0E544A
monochromatic
#1A0412 #200516 #540E3B #881760 #BD1F85

Accessibility & contrast

On white

13.97
#540E3B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#540E3B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #540E3B
13.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##540E3B#FFFFFF#000000##FFFFFF
##540E3B1.0013.971.5013.97
#FFFFFF13.971.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF13.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#18243C
Deuteranopia (green-blind)
#2D3039
Tritanopia (blue-blind)
#5A0C23
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #540e3b;
/* rgb */ color: rgb(84, 14, 59);
/* oklch */ color: oklch(30.8% 0.112 346.4);
Tailwind
colors: {
  custom: {
    50: '#875571',
    500: '#540e3b',
    950: '#000000',
  },
}
SCSS
$custom: #540e3b;
$custom-light: #875571;
$custom-dark: #000000;
JSON
{
  "hex": "#540e3b",
  "rgb": {
    "r": 84,
    "g": 14,
    "b": 59
  },
  "hsl": {
    "h": 321.429,
    "s": 71.429,
    "l": 19.216
  },
  "oklch": {
    "l": 0.30783,
    "c": 0.11186,
    "h": 346.4
  },
  "luminance": 0.02515
}

Semantic roles & 50–950 ramp

primary
#540E3B
secondary
#2F8E51
accent
#EE7A3A
background
#F8F5F6
surface
#F0E9EC
border
#CBC5C7
text
#0C0307
muted
#7D787A

Preview Lab

Preview with #540E3B

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

Preview Lab → · Contrast checker → · Palette generator →

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