#540E34#540E34

#540E34 is a dark, moderate pink. Relative luminance 0.024; OKLCH L 30.5% C 0.108 H 352.5°. Best body text is #FFFFFF at 14.10:1 contrast (WCAG AA passes).

Color values

HEX#540E34
RGBrgb(84, 14, 52)
HSLhsl(327, 71%, 19%)
HSVhsv(327, 83%, 33%)
CMYKcmyk(0%, 83.3%, 38.1%, 67.1%)
CIE-LABlab(17.68, 34.82, -5.45)
CIE-LCHlch(17.68, 35.24, 351.11°)
OKLaboklab(30.46% 0.1068 -0.014)
OKLCHoklch(30.46% 0.108 352.5)
XYZxyz(4.4333, 2.4474, 3.4871)
Luminance0.0245 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#540E34 #0E542E
analogous
#510E54 #540E34 #540E11
triadic
#540E34 #34540E #0E3454
tetradic
#540E34 #54510E #0E542E #0E1154
square
#540E34 #54510E #0E542E #0E1154
split-complementary
#540E34 #11540E #0E5451
monochromatic
#1A0410 #200514 #540E34 #881754 #BD1F75

Accessibility & contrast

On white

14.10
#540E34 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#540E34 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #540E34
14.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##540E34#FFFFFF#000000##FFFFFF
##540E341.0014.101.4914.10
#FFFFFF14.101.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B2335
Deuteranopia (green-blind)
#2F3032
Tritanopia (blue-blind)
#5B071F
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #540e34;
/* rgb */ color: rgb(84, 14, 52);
/* oklch */ color: oklch(30.5% 0.108 352.5);
Tailwind
colors: {
  custom: {
    50: '#88556b',
    500: '#540e34',
    950: '#000000',
  },
}
SCSS
$custom: #540e34;
$custom-light: #88556b;
$custom-dark: #000000;
JSON
{
  "hex": "#540e34",
  "rgb": {
    "r": 84,
    "g": 14,
    "b": 52
  },
  "hsl": {
    "h": 327.429,
    "s": 71.429,
    "l": 19.216
  },
  "oklch": {
    "l": 0.30458,
    "c": 0.10772,
    "h": 352.5
  },
  "luminance": 0.02447
}

Semantic roles & 50–950 ramp

primary
#540E34
secondary
#2F8E5B
accent
#EE8C3A
background
#F8F5F6
surface
#F0E9EB
border
#CBC5C6
text
#0C0306
muted
#7D787A

Preview Lab

Preview with #540E34

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

Preview Lab → · Contrast checker → · Palette generator →

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