#540E3E#540E3E

#540E3E is a dark, moderate pink. Relative luminance 0.025; OKLCH L 30.9% C 0.114 H 343.9°. Best body text is #FFFFFF at 13.91:1 contrast (WCAG AA passes).

Color values

HEX#540E3E
RGBrgb(84, 14, 62)
HSLhsl(319, 71%, 19%)
HSVhsv(319, 83%, 33%)
CMYKcmyk(0%, 83.3%, 26.2%, 67.1%)
CIE-LABlab(18.13, 36.18, -11.81)
CIE-LCHlch(18.13, 38.06, 341.92°)
OKLaboklab(30.93% 0.1094 -0.0316)
OKLCHoklch(30.93% 0.114 343.9)
XYZxyz(4.6829, 2.5472, 4.8015)
Luminance0.0255 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#540E3E #0E5424
analogous
#470E54 #540E3E #540E1B
triadic
#540E3E #3E540E #0E3E54
tetradic
#540E3E #54470E #0E5424 #0E1B54
square
#540E3E #54470E #0E5424 #0E1B54
split-complementary
#540E3E #1B540E #0E5447
monochromatic
#1A0413 #200517 #540E3E #881765 #BD1F8B

Accessibility & contrast

On white

13.91
#540E3E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#540E3E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #540E3E
13.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##540E3E#FFFFFF#000000##FFFFFF
##540E3E1.0013.911.5113.91
#FFFFFF13.911.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#16253F
Deuteranopia (green-blind)
#2C303C
Tritanopia (blue-blind)
#5A0E25
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #540e3e;
/* rgb */ color: rgb(84, 14, 62);
/* oklch */ color: oklch(30.9% 0.114 343.9);
Tailwind
colors: {
  custom: {
    50: '#875573',
    500: '#540e3e',
    950: '#000000',
  },
}
SCSS
$custom: #540e3e;
$custom-light: #875573;
$custom-dark: #000000;
JSON
{
  "hex": "#540e3e",
  "rgb": {
    "r": 84,
    "g": 14,
    "b": 62
  },
  "hsl": {
    "h": 318.857,
    "s": 71.429,
    "l": 19.216
  },
  "oklch": {
    "l": 0.30934,
    "c": 0.11384,
    "h": 343.9
  },
  "luminance": 0.02547
}

Semantic roles & 50–950 ramp

primary
#540E3E
secondary
#2F8E4D
accent
#EE723A
background
#F8F5F6
surface
#F0E9EC
border
#CBC5C7
text
#0C0308
muted
#7D787B

Preview Lab

Preview with #540E3E

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

Preview Lab → · Contrast checker → · Palette generator →

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