#57151B#57151B

#57151B is a dark, moderate red. Relative luminance 0.026; OKLCH L 31.0% C 0.096 H 19.9°. Best body text is #FFFFFF at 13.74:1 contrast (WCAG AA passes).

Color values

HEX#57151B
RGBrgb(87, 21, 27)
HSLhsl(355, 61%, 21%)
HSVhsv(355, 76%, 34%)
CMYKcmyk(0%, 75.9%, 69%, 65.9%)
CIE-LABlab(18.55, 30.57, 13.68)
CIE-LCHlch(18.55, 33.49, 24.11°)
OKLaboklab(30.97% 0.0906 0.0328)
OKLCHoklch(30.97% 0.096 19.9)
XYZxyz(4.3969, 2.6423, 1.3152)
Luminance0.0264 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#57151B #155751
analogous
#57153C #57151B #573015
triadic
#57151B #1B5715 #151B57
tetradic
#57151B #3C5715 #155751 #301557
square
#57151B #3C5715 #155751 #301557
split-complementary
#57151B #155730 #153C57
monochromatic
#190608 #26090C #57151B #88212A #BA2D3A

Accessibility & contrast

On white

13.74
#57151B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#57151B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #57151B
13.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##57151B#FFFFFF#000000##FFFFFF
##57151B1.0013.741.5313.74
#FFFFFF13.741.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#27241B
Deuteranopia (green-blind)
#383219
Tritanopia (blue-blind)
#600418
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #57151b;
/* rgb */ color: rgb(87, 21, 27);
/* oklch */ color: oklch(31.0% 0.096 19.9);
Tailwind
colors: {
  custom: {
    50: '#8c5857',
    500: '#57151b',
    950: '#000000',
  },
}
SCSS
$custom: #57151b;
$custom-light: #8c5857;
$custom-dark: #000000;
JSON
{
  "hex": "#57151b",
  "rgb": {
    "r": 87,
    "g": 21,
    "b": 27
  },
  "hsl": {
    "h": 354.545,
    "s": 61.111,
    "l": 21.176
  },
  "oklch": {
    "l": 0.30971,
    "c": 0.09636,
    "h": 19.9
  },
  "luminance": 0.02642
}

Semantic roles & 50–950 ramp

primary
#57151B
secondary
#398F87
accent
#E4D644
background
#F9F5F5
surface
#F1E9E9
border
#CBC5C5
text
#0D0303
muted
#7E7878

Preview Lab

Preview with #57151B

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

Preview Lab → · Contrast checker → · Palette generator →

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