#540E29#540E29

#540E29 is a dark, moderate pink. Relative luminance 0.024; OKLCH L 30.0% C 0.103 H 2.8°. Best body text is #FFFFFF at 14.27:1 contrast (WCAG AA passes).

Color values

HEX#540E29
RGBrgb(84, 14, 41)
HSLhsl(337, 71%, 19%)
HSVhsv(337, 83%, 33%)
CMYKcmyk(0%, 83.3%, 51.2%, 67.1%)
CIE-LABlab(17.27, 33.55, 1.83)
CIE-LCHlch(17.27, 33.60, 3.12°)
OKLaboklab(30.03% 0.1029 0.0051)
OKLCHoklch(30.03% 0.103 2.8)
XYZxyz(4.2138, 2.3596, 2.3309)
Luminance0.0236 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#540E29 #0E5439
analogous
#540E4C #540E29 #54160E
triadic
#540E29 #29540E #0E2954
tetradic
#540E29 #4C540E #0E5439 #160E54
square
#540E29 #4C540E #0E5439 #160E54
split-complementary
#540E29 #0E5416 #0E4C54
monochromatic
#1A040D #20050F #540E29 #881743 #BD1F5C

Accessibility & contrast

On white

14.27
#540E29 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #540E29
14.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##540E29#FFFFFF#000000##FFFFFF
##540E291.0014.271.4714.27
#FFFFFF14.271.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F222A
Deuteranopia (green-blind)
#312F27
Tritanopia (blue-blind)
#5C011A
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #540e29;
/* rgb */ color: rgb(84, 14, 41);
/* oklch */ color: oklch(30.0% 0.103 2.8);
Tailwind
colors: {
  custom: {
    50: '#885462',
    500: '#540e29',
    950: '#000000',
  },
}
SCSS
$custom: #540e29;
$custom-light: #885462;
$custom-dark: #000000;
JSON
{
  "hex": "#540e29",
  "rgb": {
    "r": 84,
    "g": 14,
    "b": 41
  },
  "hsl": {
    "h": 336.857,
    "s": 71.429,
    "l": 19.216
  },
  "oklch": {
    "l": 0.30026,
    "c": 0.10298,
    "h": 2.8
  },
  "luminance": 0.02359
}

Semantic roles & 50–950 ramp

primary
#540E29
secondary
#2F8E6A
accent
#EEA93A
background
#F8F5F5
surface
#F0E9EA
border
#CBC5C6
text
#0C0305
muted
#7D7879

Preview Lab

Preview with #540E29

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

Preview Lab → · Contrast checker → · Palette generator →

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