#57131B#57131B

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

Color values

HEX#57131B
RGBrgb(87, 19, 27)
HSLhsl(353, 64%, 21%)
HSVhsv(353, 78%, 34%)
CMYKcmyk(0%, 78.2%, 69%, 65.9%)
CIE-LABlab(18.24, 31.42, 13.28)
CIE-LCHlch(18.24, 34.11, 22.91°)
OKLaboklab(30.74% 0.0934 0.0319)
OKLCHoklch(30.74% 0.099 18.8)
XYZxyz(4.3616, 2.5717, 1.3034)
Luminance0.0257 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#57131B #13574F
analogous
#57133D #57131B #572D13
triadic
#57131B #1B5713 #131B57
tetradic
#57131B #3D5713 #13574F #2D1357
square
#57131B #3D5713 #13574F #2D1357
split-complementary
#57131B #13572D #133D57
monochromatic
#190508 #25080B #57131B #891E2B #BB293A

Accessibility & contrast

On white

13.87
#57131B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #57131B
13.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##57131B#FFFFFF#000000##FFFFFF
##57131B1.0013.871.5113.87
#FFFFFF13.871.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#26231B
Deuteranopia (green-blind)
#373219
Tritanopia (blue-blind)
#600116
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #57131b;
/* rgb */ color: rgb(87, 19, 27);
/* oklch */ color: oklch(30.7% 0.099 18.8);
Tailwind
colors: {
  custom: {
    50: '#8c5757',
    500: '#57131b',
    950: '#000000',
  },
}
SCSS
$custom: #57131b;
$custom-light: #8c5757;
$custom-dark: #000000;
JSON
{
  "hex": "#57131b",
  "rgb": {
    "r": 87,
    "g": 19,
    "b": 27
  },
  "hsl": {
    "h": 352.941,
    "s": 64.151,
    "l": 20.784
  },
  "oklch": {
    "l": 0.3074,
    "c": 0.09863,
    "h": 18.8
  },
  "luminance": 0.02571
}

Semantic roles & 50–950 ramp

primary
#57131B
secondary
#368F85
accent
#E7D441
background
#F9F5F5
surface
#F1E9E9
border
#CBC5C5
text
#0D0303
muted
#7E7878

Preview Lab

Preview with #57131B

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

Preview Lab → · Contrast checker → · Palette generator →

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