#57131E#57131E

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

Color values

HEX#57131E
RGBrgb(87, 19, 30)
HSLhsl(350, 64%, 21%)
HSVhsv(350, 78%, 34%)
CMYKcmyk(0%, 78.2%, 65.5%, 65.9%)
CIE-LABlab(18.30, 31.64, 11.25)
CIE-LCHlch(18.30, 33.58, 19.57°)
OKLaboklab(30.81% 0.0947 0.0275)
OKLCHoklch(30.81% 0.099 16.2)
XYZxyz(4.3981, 2.5864, 1.4957)
Luminance0.0259 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#57131E #13574C
analogous
#571340 #57131E #572A13
triadic
#57131E #1E5713 #131E57
tetradic
#57131E #405713 #13574C #2A1357
square
#57131E #405713 #13574C #2A1357
split-complementary
#57131E #13572A #134057
monochromatic
#190509 #25080D #57131E #891E2F #BB2941

Accessibility & contrast

On white

13.84
#57131E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#57131E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #57131E
13.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##57131E#FFFFFF#000000##FFFFFF
##57131E1.0013.841.5213.84
#FFFFFF13.841.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25241E
Deuteranopia (green-blind)
#37321C
Tritanopia (blue-blind)
#600218
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #57131e;
/* rgb */ color: rgb(87, 19, 30);
/* oklch */ color: oklch(30.8% 0.099 16.2);
Tailwind
colors: {
  custom: {
    50: '#8c5759',
    500: '#57131e',
    950: '#000000',
  },
}
SCSS
$custom: #57131e;
$custom-light: #8c5759;
$custom-dark: #000000;
JSON
{
  "hex": "#57131e",
  "rgb": {
    "r": 87,
    "g": 19,
    "b": 30
  },
  "hsl": {
    "h": 350.294,
    "s": 64.151,
    "l": 20.784
  },
  "oklch": {
    "l": 0.30809,
    "c": 0.09861,
    "h": 16.2
  },
  "luminance": 0.02586
}

Semantic roles & 50–950 ramp

primary
#57131E
secondary
#368F81
accent
#E7CC41
background
#F9F5F5
surface
#F1E9E9
border
#CBC5C5
text
#0D0303
muted
#7E7878

Preview Lab

Preview with #57131E

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

Preview Lab → · Contrast checker → · Palette generator →

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