#540F32#540F32

#540F32 is a dark, moderate pink. Relative luminance 0.025; OKLCH L 30.5% C 0.106 H 354.6°. Best body text is #FFFFFF at 14.08:1 contrast (WCAG AA passes).

Color values

HEX#540F32
RGBrgb(84, 15, 50)
HSLhsl(330, 70%, 19%)
HSVhsv(330, 82%, 33%)
CMYKcmyk(0%, 82.1%, 40.5%, 67.1%)
CIE-LABlab(17.72, 34.21, -3.95)
CIE-LCHlch(17.72, 34.44, 353.41°)
OKLaboklab(30.46% 0.105 -0.01)
OKLCHoklch(30.46% 0.106 354.6)
XYZxyz(4.4030, 2.4573, 3.2594)
Luminance0.0246 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#540F32 #0F5431
analogous
#540F54 #540F32 #540F10
triadic
#540F32 #32540F #0F3254
tetradic
#540F32 #54540F #0F5431 #0F1054
square
#540F32 #54540F #0F5431 #0F1054
split-complementary
#540F32 #10540F #0F5454
monochromatic
#1A050F #200613 #540F32 #881851 #BC2270

Accessibility & contrast

On white

14.08
#540F32 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #540F32
14.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##540F32#FFFFFF#000000##FFFFFF
##540F321.0014.081.4914.08
#FFFFFF14.081.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.081.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #540f32;
/* rgb */ color: rgb(84, 15, 50);
/* oklch */ color: oklch(30.5% 0.106 354.6);
Tailwind
colors: {
  custom: {
    50: '#885569',
    500: '#540f32',
    950: '#000000',
  },
}
SCSS
$custom: #540f32;
$custom-light: #885569;
$custom-dark: #000000;
JSON
{
  "hex": "#540f32",
  "rgb": {
    "r": 84,
    "g": 15,
    "b": 50
  },
  "hsl": {
    "h": 329.565,
    "s": 69.697,
    "l": 19.412
  },
  "oklch": {
    "l": 0.30465,
    "c": 0.10551,
    "h": 354.6
  },
  "luminance": 0.02457
}

Semantic roles & 50–950 ramp

primary
#540F32
secondary
#318E5F
accent
#ED933B
background
#F8F5F6
surface
#F0E9EB
border
#CBC5C6
text
#0C0306
muted
#7D787A

Preview Lab

Preview with #540F32

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

Preview Lab → · Contrast checker → · Palette generator →

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