#57151C#57151C

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

Color values

HEX#57151C
RGBrgb(87, 21, 28)
HSLhsl(354, 61%, 21%)
HSVhsv(354, 76%, 34%)
CMYKcmyk(0%, 75.9%, 67.8%, 65.9%)
CIE-LABlab(18.57, 30.64, 13.01)
CIE-LCHlch(18.57, 33.28, 23.00°)
OKLaboklab(30.99% 0.0911 0.0313)
OKLCHoklch(30.99% 0.096 19)
XYZxyz(4.4087, 2.6470, 1.3772)
Luminance0.0265 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#57151C #155750
analogous
#57153D #57151C #572F15
triadic
#57151C #1C5715 #151C57
tetradic
#57151C #3D5715 #155750 #2F1557
square
#57151C #3D5715 #155750 #2F1557
split-complementary
#57151C #15572F #153D57
monochromatic
#190608 #26090C #57151C #88212C #BA2D3C

Accessibility & contrast

On white

13.73
#57151C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #57151C
13.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##57151C#FFFFFF#000000##FFFFFF
##57151C1.0013.731.5313.73
#FFFFFF13.731.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#27241C
Deuteranopia (green-blind)
#37321A
Tritanopia (blue-blind)
#600418
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #57151c;
/* rgb */ color: rgb(87, 21, 28);
/* oklch */ color: oklch(31.0% 0.096 19.0);
Tailwind
colors: {
  custom: {
    50: '#8c5857',
    500: '#57151c',
    950: '#000000',
  },
}
SCSS
$custom: #57151c;
$custom-light: #8c5857;
$custom-dark: #000000;
JSON
{
  "hex": "#57151c",
  "rgb": {
    "r": 87,
    "g": 21,
    "b": 28
  },
  "hsl": {
    "h": 353.636,
    "s": 61.111,
    "l": 21.176
  },
  "oklch": {
    "l": 0.30993,
    "c": 0.09631,
    "h": 19
  },
  "luminance": 0.02646
}

Semantic roles & 50–950 ramp

primary
#57151C
secondary
#398F86
accent
#E4D344
background
#F9F5F5
surface
#F1E9E9
border
#CBC5C5
text
#0D0303
muted
#7E7878

Preview Lab

Preview with #57151C

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

Preview Lab → · Contrast checker → · Palette generator →

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