#57131A#57131A

#57131A is a dark, moderate red. Relative luminance 0.026; OKLCH L 30.7% C 0.099 H 19.7°. Best body text is #FFFFFF at 13.88:1 contrast (WCAG AA passes).

Color values

HEX#57131A
RGBrgb(87, 19, 26)
HSLhsl(354, 64%, 21%)
HSVhsv(354, 78%, 34%)
CMYKcmyk(0%, 78.2%, 70.1%, 65.9%)
CIE-LABlab(18.22, 31.35, 13.96)
CIE-LCHlch(18.22, 34.32, 24.00°)
OKLaboklab(30.72% 0.0929 0.0333)
OKLCHoklch(30.72% 0.099 19.7)
XYZxyz(4.3503, 2.5672, 1.2435)
Luminance0.0257 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#57131A #135750
analogous
#57133C #57131A #572E13
triadic
#57131A #1A5713 #131A57
tetradic
#57131A #3C5713 #135750 #2E1357
square
#57131A #3C5713 #135750 #2E1357
split-complementary
#57131A #13572E #133C57
monochromatic
#190508 #25080B #57131A #891E29 #BB2938

Accessibility & contrast

On white

13.88
#57131A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#57131A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #57131A
13.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##57131A#FFFFFF#000000##FFFFFF
##57131A1.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)
#26231A
Deuteranopia (green-blind)
#373218
Tritanopia (blue-blind)
#600016
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #57131a;
/* rgb */ color: rgb(87, 19, 26);
/* oklch */ color: oklch(30.7% 0.099 19.7);
Tailwind
colors: {
  custom: {
    50: '#8c5756',
    500: '#57131a',
    950: '#000000',
  },
}
SCSS
$custom: #57131a;
$custom-light: #8c5756;
$custom-dark: #000000;
JSON
{
  "hex": "#57131a",
  "rgb": {
    "r": 87,
    "g": 19,
    "b": 26
  },
  "hsl": {
    "h": 353.824,
    "s": 64.151,
    "l": 20.784
  },
  "oklch": {
    "l": 0.30718,
    "c": 0.09868,
    "h": 19.7
  },
  "luminance": 0.02567
}

Semantic roles & 50–950 ramp

primary
#57131A
secondary
#368F86
accent
#E7D641
background
#F9F5F5
surface
#F1E9E9
border
#CBC5C5
text
#0D0303
muted
#7E7878

Preview Lab

Preview with #57131A

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

Preview Lab → · Contrast checker → · Palette generator →

#57131A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva