#540E30#540E30

#540E30 is a dark, moderate pink. Relative luminance 0.024; OKLCH L 30.3% C 0.106 H 356.2°. Best body text is #FFFFFF at 14.17:1 contrast (WCAG AA passes).

Color values

HEX#540E30
RGBrgb(84, 14, 48)
HSLhsl(331, 71%, 19%)
HSVhsv(331, 83%, 33%)
CMYKcmyk(0%, 83.3%, 42.9%, 67.1%)
CIE-LABlab(17.52, 34.33, -2.83)
CIE-LCHlch(17.52, 34.44, 355.28°)
OKLaboklab(30.29% 0.1055 -0.007)
OKLCHoklch(30.29% 0.106 356.2)
XYZxyz(4.3470, 2.4128, 3.0325)
Luminance0.0241 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#540E30 #0E5432
analogous
#540E53 #540E30 #540F0E
triadic
#540E30 #30540E #0E3054
tetradic
#540E30 #53540E #0E5432 #0F0E54
square
#540E30 #53540E #0E5432 #0F0E54
split-complementary
#540E30 #0E540F #0E5354
monochromatic
#1A040F #200512 #540E30 #88174E #BD1F6C

Accessibility & contrast

On white

14.17
#540E30 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#540E30 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #540E30
14.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##540E30#FFFFFF#000000##FFFFFF
##540E301.0014.171.4814.17
#FFFFFF14.171.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D2331
Deuteranopia (green-blind)
#30302E
Tritanopia (blue-blind)
#5B051D
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #540e30;
/* rgb */ color: rgb(84, 14, 48);
/* oklch */ color: oklch(30.3% 0.106 356.2);
Tailwind
colors: {
  custom: {
    50: '#885568',
    500: '#540e30',
    950: '#000000',
  },
}
SCSS
$custom: #540e30;
$custom-light: #885568;
$custom-dark: #000000;
JSON
{
  "hex": "#540e30",
  "rgb": {
    "r": 84,
    "g": 14,
    "b": 48
  },
  "hsl": {
    "h": 330.857,
    "s": 71.429,
    "l": 19.216
  },
  "oklch": {
    "l": 0.30289,
    "c": 0.10573,
    "h": 356.2
  },
  "luminance": 0.02412
}

Semantic roles & 50–950 ramp

primary
#540E30
secondary
#2F8E60
accent
#EE963A
background
#F8F5F6
surface
#F0E9EB
border
#CBC5C6
text
#0C0306
muted
#7D787A

Preview Lab

Preview with #540E30

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

Preview Lab → · Contrast checker → · Palette generator →

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