#540E37#540E37

#540E37 is a dark, moderate pink. Relative luminance 0.025; OKLCH L 30.6% C 0.109 H 349.8°. Best body text is #FFFFFF at 14.05:1 contrast (WCAG AA passes).

Color values

HEX#540E37
RGBrgb(84, 14, 55)
HSLhsl(325, 71%, 19%)
HSVhsv(325, 83%, 33%)
CMYKcmyk(0%, 83.3%, 34.5%, 67.1%)
CIE-LABlab(17.81, 35.20, -7.38)
CIE-LCHlch(17.81, 35.97, 348.16°)
OKLaboklab(30.59% 0.1077 -0.0193)
OKLCHoklch(30.59% 0.109 349.8)
XYZxyz(4.5030, 2.4753, 3.8543)
Luminance0.0248 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#540E37 #0E542B
analogous
#4E0E54 #540E37 #540E14
triadic
#540E37 #37540E #0E3754
tetradic
#540E37 #544E0E #0E542B #0E1454
square
#540E37 #544E0E #0E542B #0E1454
split-complementary
#540E37 #14540E #0E544E
monochromatic
#1A0411 #200515 #540E37 #881759 #BD1F7C

Accessibility & contrast

On white

14.05
#540E37 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#540E37 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #540E37
14.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##540E37#FFFFFF#000000##FFFFFF
##540E371.0014.051.5014.05
#FFFFFF14.051.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A2438
Deuteranopia (green-blind)
#2E3035
Tritanopia (blue-blind)
#5B0921
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #540e37;
/* rgb */ color: rgb(84, 14, 55);
/* oklch */ color: oklch(30.6% 0.109 349.8);
Tailwind
colors: {
  custom: {
    50: '#87556d',
    500: '#540e37',
    950: '#000000',
  },
}
SCSS
$custom: #540e37;
$custom-light: #87556d;
$custom-dark: #000000;
JSON
{
  "hex": "#540e37",
  "rgb": {
    "r": 84,
    "g": 14,
    "b": 55
  },
  "hsl": {
    "h": 324.857,
    "s": 71.429,
    "l": 19.216
  },
  "oklch": {
    "l": 0.30593,
    "c": 0.1094,
    "h": 349.8
  },
  "luminance": 0.02475
}

Semantic roles & 50–950 ramp

primary
#540E37
secondary
#2F8E57
accent
#EE843A
background
#F8F5F6
surface
#F0E9EB
border
#CBC5C6
text
#0C0307
muted
#7D787A

Preview Lab

Preview with #540E37

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

Preview Lab → · Contrast checker → · Palette generator →

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