#540E3A#540E3A

#540E3A is a dark, moderate pink. Relative luminance 0.025; OKLCH L 30.7% C 0.111 H 347.2°. Best body text is #FFFFFF at 13.99:1 contrast (WCAG AA passes).

Color values

HEX#540E3A
RGBrgb(84, 14, 58)
HSLhsl(322, 71%, 19%)
HSVhsv(322, 83%, 33%)
CMYKcmyk(0%, 83.3%, 31%, 67.1%)
CIE-LABlab(17.94, 35.61, -9.30)
CIE-LCHlch(17.94, 36.81, 345.37°)
OKLaboklab(30.73% 0.1085 -0.0245)
OKLCHoklch(30.73% 0.111 347.2)
XYZxyz(4.5771, 2.5049, 4.2446)
Luminance0.0250 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#540E3A #0E5428
analogous
#4B0E54 #540E3A #540E17
triadic
#540E3A #3A540E #0E3A54
tetradic
#540E3A #544B0E #0E5428 #0E1754
square
#540E3A #544B0E #0E5428 #0E1754
split-complementary
#540E3A #17540E #0E544B
monochromatic
#1A0412 #200516 #540E3A #88175E #BD1F82

Accessibility & contrast

On white

13.99
#540E3A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #540E3A
13.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##540E3A#FFFFFF#000000##FFFFFF
##540E3A1.0013.991.5013.99
#FFFFFF13.991.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF13.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#19243B
Deuteranopia (green-blind)
#2D3038
Tritanopia (blue-blind)
#5A0B22
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #540e3a;
/* rgb */ color: rgb(84, 14, 58);
/* oklch */ color: oklch(30.7% 0.111 347.2);
Tailwind
colors: {
  custom: {
    50: '#875570',
    500: '#540e3a',
    950: '#000000',
  },
}
SCSS
$custom: #540e3a;
$custom-light: #875570;
$custom-dark: #000000;
JSON
{
  "hex": "#540e3a",
  "rgb": {
    "r": 84,
    "g": 14,
    "b": 58
  },
  "hsl": {
    "h": 322.286,
    "s": 71.429,
    "l": 19.216
  },
  "oklch": {
    "l": 0.30734,
    "c": 0.11122,
    "h": 347.2
  },
  "luminance": 0.02504
}

Semantic roles & 50–950 ramp

primary
#540E3A
secondary
#2F8E53
accent
#EE7D3A
background
#F8F5F6
surface
#F0E9EC
border
#CBC5C7
text
#0C0307
muted
#7D787A

Preview Lab

Preview with #540E3A

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

Preview Lab → · Contrast checker → · Palette generator →

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