#540F3D#540F3D

#540F3D is a dark, moderate pink. Relative luminance 0.026; OKLCH L 31.0% C 0.112 H 344.8°. Best body text is #FFFFFF at 13.88:1 contrast (WCAG AA passes).

Color values

HEX#540F3D
RGBrgb(84, 15, 61)
HSLhsl(320, 70%, 19%)
HSVhsv(320, 82%, 33%)
CMYKcmyk(0%, 82.1%, 27.4%, 67.1%)
CIE-LABlab(18.21, 35.69, -11.00)
CIE-LCHlch(18.21, 37.35, 342.87°)
OKLaboklab(30.97% 0.1081 -0.0293)
OKLCHoklch(30.97% 0.112 344.8)
XYZxyz(4.6695, 2.5639, 4.6629)
Luminance0.0256 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#540F3D #0F5426
analogous
#490F54 #540F3D #540F1B
triadic
#540F3D #3D540F #0F3D54
tetradic
#540F3D #54490F #0F5426 #0F1B54
square
#540F3D #54490F #0F5426 #0F1B54
split-complementary
#540F3D #1B540F #0F5449
monochromatic
#1A0513 #200617 #540F3D #881863 #BC2288

Accessibility & contrast

On white

13.88
#540F3D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#540F3D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #540F3D
13.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##540F3D#FFFFFF#000000##FFFFFF
##540F3D1.0013.881.5113.88
#FFFFFF13.881.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#18253E
Deuteranopia (green-blind)
#2D313B
Tritanopia (blue-blind)
#5A0E24
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #540f3d;
/* rgb */ color: rgb(84, 15, 61);
/* oklch */ color: oklch(31.0% 0.112 344.8);
Tailwind
colors: {
  custom: {
    50: '#875672',
    500: '#540f3d',
    950: '#000000',
  },
}
SCSS
$custom: #540f3d;
$custom-light: #875672;
$custom-dark: #000000;
JSON
{
  "hex": "#540f3d",
  "rgb": {
    "r": 84,
    "g": 15,
    "b": 61
  },
  "hsl": {
    "h": 320,
    "s": 69.697,
    "l": 19.412
  },
  "oklch": {
    "l": 0.30972,
    "c": 0.11198,
    "h": 344.8
  },
  "luminance": 0.02563
}

Semantic roles & 50–950 ramp

primary
#540F3D
secondary
#318E50
accent
#ED763B
background
#F8F5F6
surface
#F0E9EC
border
#CBC5C7
text
#0C0308
muted
#7D787B

Preview Lab

Preview with #540F3D

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

Preview Lab → · Contrast checker → · Palette generator →

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