#57161F#57161F

#57161F is a dark, moderate red. Relative luminance 0.027; OKLCH L 31.2% C 0.095 H 16.8°. Best body text is #FFFFFF at 13.64:1 contrast (WCAG AA passes).

Color values

HEX#57161F
RGBrgb(87, 22, 31)
HSLhsl(352, 60%, 21%)
HSVhsv(352, 75%, 34%)
CMYKcmyk(0%, 74.7%, 64.4%, 65.9%)
CIE-LABlab(18.80, 30.42, 11.19)
CIE-LCHlch(18.80, 32.41, 20.20°)
OKLaboklab(31.18% 0.091 0.0274)
OKLCHoklch(31.18% 0.095 16.8)
XYZxyz(4.4651, 2.6996, 1.5820)
Luminance0.0270 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#57161F #16574E
analogous
#571640 #57161F #572E16
triadic
#57161F #1F5716 #161F57
tetradic
#57161F #405716 #16574E #2E1657
square
#57161F #405716 #16574E #2E1657
split-complementary
#57161F #16572E #164057
monochromatic
#180609 #260A0E #57161F #882230 #B92F42

Accessibility & contrast

On white

13.64
#57161F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#57161F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #57161F
13.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##57161F#FFFFFF#000000##FFFFFF
##57161F1.0013.641.5413.64
#FFFFFF13.641.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#27251F
Deuteranopia (green-blind)
#37331D
Tritanopia (blue-blind)
#60071A
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #57161f;
/* rgb */ color: rgb(87, 22, 31);
/* oklch */ color: oklch(31.2% 0.095 16.8);
Tailwind
colors: {
  custom: {
    50: '#8b585a',
    500: '#57161f',
    950: '#000000',
  },
}
SCSS
$custom: #57161f;
$custom-light: #8b585a;
$custom-dark: #000000;
JSON
{
  "hex": "#57161f",
  "rgb": {
    "r": 87,
    "g": 22,
    "b": 31
  },
  "hsl": {
    "h": 351.692,
    "s": 59.633,
    "l": 21.373
  },
  "oklch": {
    "l": 0.31184,
    "c": 0.09505,
    "h": 16.8
  },
  "luminance": 0.02699
}

Semantic roles & 50–950 ramp

primary
#57161F
secondary
#3A8E83
accent
#E3CD45
background
#F9F5F5
surface
#F1E9E9
border
#CBC5C5
text
#0D0403
muted
#7E7978

Preview Lab

Preview with #57161F

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

Preview Lab → · Contrast checker → · Palette generator →

#57161F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva