#542425#542425

#542425 is a dark, moderate red. Relative luminance 0.033; OKLCH L 32.9% C 0.072 H 20.5°. Best body text is #FFFFFF at 12.68:1 contrast (WCAG AA passes).

Color values

HEX#542425
RGBrgb(84, 36, 37)
HSLhsl(359, 40%, 24%)
HSVhsv(359, 57%, 33%)
CMYKcmyk(0%, 57.1%, 56%, 67.1%)
CIE-LABlab(21.13, 22.43, 10.05)
CIE-LCHlch(21.13, 24.58, 24.14°)
OKLaboklab(32.87% 0.0672 0.0252)
OKLCHoklch(32.87% 0.072 20.5)
XYZxyz(4.6213, 3.2807, 2.1398)
Luminance0.0328 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#542425 #245453
analogous
#54243D #542425 #543B24
triadic
#542425 #255424 #242554
tetradic
#542425 #3D5424 #245453 #3B2454
square
#542425 #3D5424 #245453 #3B2454
split-complementary
#542425 #24543B #243D54
monochromatic
#150909 #291212 #542425 #7F3638 #AA494B

Accessibility & contrast

On white

12.68
#542425 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#542425 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #542425
12.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##542425#FFFFFF#000000##FFFFFF
##5424251.0012.681.6612.68
#FFFFFF12.681.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F2D25
Deuteranopia (green-blind)
#3B3724
Tritanopia (blue-blind)
#5C1D25
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #542425;
/* rgb */ color: rgb(84, 36, 37);
/* oklch */ color: oklch(32.9% 0.072 20.5);
Tailwind
colors: {
  custom: {
    50: '#87605f',
    500: '#542425',
    950: '#000000',
  },
}
SCSS
$custom: #542425;
$custom-light: #87605f;
$custom-dark: #000000;
JSON
{
  "hex": "#542425",
  "rgb": {
    "r": 84,
    "g": 36,
    "b": 37
  },
  "hsl": {
    "h": 358.75,
    "s": 40,
    "l": 23.529
  },
  "oklch": {
    "l": 0.32874,
    "c": 0.07171,
    "h": 20.5
  },
  "luminance": 0.0328
}

Semantic roles & 50–950 ramp

primary
#542425
secondary
#4C8886
accent
#D0CD58
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0C0504
muted
#7D7979

Preview Lab

Preview with #542425

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

Preview Lab → · Contrast checker → · Palette generator →

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