#540F3E#540F3E

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

Color values

HEX#540F3E
RGBrgb(84, 15, 62)
HSLhsl(319, 70%, 19%)
HSVhsv(319, 82%, 33%)
CMYKcmyk(0%, 82.1%, 26.2%, 67.1%)
CIE-LABlab(18.25, 35.84, -11.62)
CIE-LCHlch(18.25, 37.67, 342.03°)
OKLaboklab(31.02% 0.1083 -0.031)
OKLCHoklch(31.02% 0.113 344)
XYZxyz(4.6967, 2.5748, 4.8061)
Luminance0.0257 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#540F3E #0F5425
analogous
#480F54 #540F3E #540F1C
triadic
#540F3E #3E540F #0F3E54
tetradic
#540F3E #54480F #0F5425 #0F1C54
square
#540F3E #54480F #0F5425 #0F1C54
split-complementary
#540F3E #1C540F #0F5448
monochromatic
#1A0513 #200618 #540F3E #881864 #BC228B

Accessibility & contrast

On white

13.86
#540F3E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #540F3E
13.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##540F3E#FFFFFF#000000##FFFFFF
##540F3E1.0013.861.5113.86
#FFFFFF13.861.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#17253F
Deuteranopia (green-blind)
#2C313C
Tritanopia (blue-blind)
#5A0F25
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #540f3e;
/* rgb */ color: rgb(84, 15, 62);
/* oklch */ color: oklch(31.0% 0.113 344.0);
Tailwind
colors: {
  custom: {
    50: '#875673',
    500: '#540f3e',
    950: '#000000',
  },
}
SCSS
$custom: #540f3e;
$custom-light: #875673;
$custom-dark: #000000;
JSON
{
  "hex": "#540f3e",
  "rgb": {
    "r": 84,
    "g": 15,
    "b": 62
  },
  "hsl": {
    "h": 319.13,
    "s": 69.697,
    "l": 19.412
  },
  "oklch": {
    "l": 0.31023,
    "c": 0.11266,
    "h": 344
  },
  "luminance": 0.02574
}

Semantic roles & 50–950 ramp

primary
#540F3E
secondary
#318E4F
accent
#ED743B
background
#F8F5F6
surface
#F0E9EC
border
#CBC5C7
text
#0C0308
muted
#7D787B

Preview Lab

Preview with #540F3E

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

Preview Lab → · Contrast checker → · Palette generator →

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