#540E25#540E25

#540E25 is a dark, moderate pink. Relative luminance 0.023; OKLCH L 29.9% C 0.102 H 6.6°. Best body text is #FFFFFF at 14.32:1 contrast (WCAG AA passes).

Color values

HEX#540E25
RGBrgb(84, 14, 37)
HSLhsl(340, 71%, 19%)
HSVhsv(340, 83%, 33%)
CMYKcmyk(0%, 83.3%, 56%, 67.1%)
CIE-LABlab(17.15, 33.16, 4.54)
CIE-LCHlch(17.15, 33.47, 7.79°)
OKLaboklab(29.89% 0.1012 0.0118)
OKLCHoklch(29.89% 0.102 6.6)
XYZxyz(4.1475, 2.3330, 1.9818)
Luminance0.0233 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#540E25 #0E543D
analogous
#540E48 #540E25 #541A0E
triadic
#540E25 #25540E #0E2554
tetradic
#540E25 #48540E #0E543D #1A0E54
square
#540E25 #48540E #0E543D #1A0E54
split-complementary
#540E25 #0E541A #0E4854
monochromatic
#1A040C #20050E #540E25 #88173C #BD1F53

Accessibility & contrast

On white

14.32
#540E25 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#540E25 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #540E25
14.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##540E25#FFFFFF#000000##FFFFFF
##540E251.0014.321.4714.32
#FFFFFF14.321.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#202125
Deuteranopia (green-blind)
#322F23
Tritanopia (blue-blind)
#5C0018
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #540e25;
/* rgb */ color: rgb(84, 14, 37);
/* oklch */ color: oklch(29.9% 0.102 6.6);
Tailwind
colors: {
  custom: {
    50: '#89545f',
    500: '#540e25',
    950: '#000000',
  },
}
SCSS
$custom: #540e25;
$custom-light: #89545f;
$custom-dark: #000000;
JSON
{
  "hex": "#540e25",
  "rgb": {
    "r": 84,
    "g": 14,
    "b": 37
  },
  "hsl": {
    "h": 340.286,
    "s": 71.429,
    "l": 19.216
  },
  "oklch": {
    "l": 0.29893,
    "c": 0.10187,
    "h": 6.6
  },
  "luminance": 0.02332
}

Semantic roles & 50–950 ramp

primary
#540E25
secondary
#2F8E6F
accent
#EEB33A
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0C0304
muted
#7D7879

Preview Lab

Preview with #540E25

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

Preview Lab → · Contrast checker → · Palette generator →

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