#57131F#57131F

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

Color values

HEX#57131F
RGBrgb(87, 19, 31)
HSLhsl(349, 64%, 21%)
HSVhsv(349, 78%, 34%)
CMYKcmyk(0%, 78.2%, 64.4%, 65.9%)
CIE-LABlab(18.33, 31.72, 10.57)
CIE-LCHlch(18.33, 33.43, 18.43°)
OKLaboklab(30.83% 0.0952 0.026)
OKLCHoklch(30.83% 0.099 15.3)
XYZxyz(4.4111, 2.5915, 1.5640)
Luminance0.0259 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#57131F #13574B
analogous
#571341 #57131F #572913
triadic
#57131F #1F5713 #131F57
tetradic
#57131F #415713 #13574B #291357
square
#57131F #415713 #13574B #291357
split-complementary
#57131F #135729 #134157
monochromatic
#190509 #25080D #57131F #891E31 #BB2943

Accessibility & contrast

On white

13.83
#57131F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #57131F
13.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##57131F#FFFFFF#000000##FFFFFF
##57131F1.0013.831.5213.83
#FFFFFF13.831.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25241F
Deuteranopia (green-blind)
#36321D
Tritanopia (blue-blind)
#600218
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #57131f;
/* rgb */ color: rgb(87, 19, 31);
/* oklch */ color: oklch(30.8% 0.099 15.3);
Tailwind
colors: {
  custom: {
    50: '#8b575a',
    500: '#57131f',
    950: '#000000',
  },
}
SCSS
$custom: #57131f;
$custom-light: #8b575a;
$custom-dark: #000000;
JSON
{
  "hex": "#57131f",
  "rgb": {
    "r": 87,
    "g": 19,
    "b": 31
  },
  "hsl": {
    "h": 349.412,
    "s": 64.151,
    "l": 20.784
  },
  "oklch": {
    "l": 0.30833,
    "c": 0.09864,
    "h": 15.3
  },
  "luminance": 0.02591
}

Semantic roles & 50–950 ramp

primary
#57131F
secondary
#368F80
accent
#E7CA41
background
#F9F5F5
surface
#F1E9E9
border
#CBC5C5
text
#0D0303
muted
#7E7878

Preview Lab

Preview with #57131F

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

Preview Lab → · Contrast checker → · Palette generator →

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