#542015#542015

#542015 is a dark, moderate red. Relative luminance 0.030; OKLCH L 31.9% C 0.081 H 33.5°. Best body text is #FFFFFF at 13.17:1 contrast (WCAG AA passes).

Color values

HEX#542015
RGBrgb(84, 32, 21)
HSLhsl(10, 60%, 21%)
HSVhsv(10, 75%, 33%)
CMYKcmyk(0%, 61.9%, 75%, 67.1%)
CIE-LABlab(19.93, 23.39, 19.30)
CIE-LCHlch(19.93, 30.33, 39.53°)
OKLaboklab(31.86% 0.0671 0.0445)
OKLCHoklch(31.86% 0.081 33.5)
XYZxyz(4.3084, 2.9725, 1.0562)
Luminance0.0297 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#542015 #154954
analogous
#541529 #542015 #543F15
triadic
#542015 #155420 #201554
tetradic
#542015 #295415 #154954 #3F1554
square
#542015 #295415 #154954 #3F1554
split-complementary
#542015 #15543F #152954
monochromatic
#180906 #230D09 #542015 #853321 #B6452D

Accessibility & contrast

On white

13.17
#542015 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#542015 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #542015
13.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##542015#FFFFFF#000000##FFFFFF
##5420151.0013.171.5913.17
#FFFFFF13.171.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E2914
Deuteranopia (green-blind)
#3B3414
Tritanopia (blue-blind)
#5D151E
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #542015;
/* rgb */ color: rgb(84, 32, 21);
/* oklch */ color: oklch(31.9% 0.081 33.5);
Tailwind
colors: {
  custom: {
    50: '#895d52',
    500: '#542015',
    950: '#000000',
  },
}
SCSS
$custom: #542015;
$custom-light: #895d52;
$custom-dark: #000000;
JSON
{
  "hex": "#542015",
  "rgb": {
    "r": 84,
    "g": 32,
    "b": 21
  },
  "hsl": {
    "h": 10.476,
    "s": 60,
    "l": 20.588
  },
  "oklch": {
    "l": 0.31864,
    "c": 0.08051,
    "h": 33.5
  },
  "luminance": 0.02972
}

Semantic roles & 50–950 ramp

primary
#542015
secondary
#397D8C
accent
#C7E345
background
#F8F5F4
surface
#F0E9E7
border
#CBC5C3
text
#0C0402
muted
#7D7978

Preview Lab

Preview with #542015

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

Preview Lab → · Contrast checker → · Palette generator →

#542015 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva