#540E33#540E33

#540E33 is a dark, moderate pink. Relative luminance 0.024; OKLCH L 30.4% C 0.107 H 353.4°. Best body text is #FFFFFF at 14.12:1 contrast (WCAG AA passes).

Color values

HEX#540E33
RGBrgb(84, 14, 51)
HSLhsl(328, 71%, 19%)
HSVhsv(328, 83%, 33%)
CMYKcmyk(0%, 83.3%, 39.3%, 67.1%)
CIE-LABlab(17.64, 34.69, -4.80)
CIE-LCHlch(17.64, 35.02, 352.13°)
OKLaboklab(30.42% 0.1065 -0.0123)
OKLCHoklch(30.42% 0.107 353.4)
XYZxyz(4.4110, 2.4385, 3.3697)
Luminance0.0244 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#540E33 #0E542F
analogous
#520E54 #540E33 #540E10
triadic
#540E33 #33540E #0E3354
tetradic
#540E33 #54520E #0E542F #0E1054
square
#540E33 #54520E #0E542F #0E1054
split-complementary
#540E33 #10540E #0E5452
monochromatic
#1A0410 #200513 #540E33 #881753 #BD1F73

Accessibility & contrast

On white

14.12
#540E33 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #540E33
14.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##540E33#FFFFFF#000000##FFFFFF
##540E331.0014.121.4914.12
#FFFFFF14.121.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.121.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #540e33;
/* rgb */ color: rgb(84, 14, 51);
/* oklch */ color: oklch(30.4% 0.107 353.4);
Tailwind
colors: {
  custom: {
    50: '#88556a',
    500: '#540e33',
    950: '#000000',
  },
}
SCSS
$custom: #540e33;
$custom-light: #88556a;
$custom-dark: #000000;
JSON
{
  "hex": "#540e33",
  "rgb": {
    "r": 84,
    "g": 14,
    "b": 51
  },
  "hsl": {
    "h": 328.286,
    "s": 71.429,
    "l": 19.216
  },
  "oklch": {
    "l": 0.30415,
    "c": 0.1072,
    "h": 353.4
  },
  "luminance": 0.02438
}

Semantic roles & 50–950 ramp

primary
#540E33
secondary
#2F8E5C
accent
#EE8F3A
background
#F8F5F6
surface
#F0E9EB
border
#CBC5C6
text
#0C0306
muted
#7D787A

Preview Lab

Preview with #540E33

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

Preview Lab → · Contrast checker → · Palette generator →

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