#57170C#57170C

#57170C is a dark, moderate red. Relative luminance 0.027; OKLCH L 31.0% C 0.097 H 32.2°. Best body text is #FFFFFF at 13.70:1 contrast (WCAG AA passes).

Color values

HEX#57170C
RGBrgb(87, 23, 12)
HSLhsl(9, 76%, 19%)
HSVhsv(9, 86%, 34%)
CMYKcmyk(0%, 73.6%, 86.2%, 65.9%)
CIE-LABlab(18.65, 28.84, 23.07)
CIE-LCHlch(18.65, 36.93, 38.65°)
OKLaboklab(30.98% 0.0817 0.0514)
OKLCHoklch(30.98% 0.097 32.2)
XYZxyz(4.3037, 2.6662, 0.6358)
Luminance0.0267 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#57170C #0C4C57
analogous
#570C27 #57170C #573D0C
triadic
#57170C #0C5717 #170C57
tetradic
#57170C #27570C #0C4C57 #3D0C57
square
#57170C #27570C #0C4C57 #3D0C57
split-complementary
#57170C #0C573D #0C2757
monochromatic
#1B0704 #210905 #57170C #8D2513 #C3331B

Accessibility & contrast

On white

13.70
#57170C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #57170C
13.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##57170C#FFFFFF#000000##FFFFFF
##57170C1.0013.701.5313.70
#FFFFFF13.701.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A240A
Deuteranopia (green-blind)
#393309
Tritanopia (blue-blind)
#610315
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #57170c;
/* rgb */ color: rgb(87, 23, 12);
/* oklch */ color: oklch(31.0% 0.097 32.2);
Tailwind
colors: {
  custom: {
    50: '#8d584c',
    500: '#57170c',
    950: '#000000',
  },
}
SCSS
$custom: #57170c;
$custom-light: #8d584c;
$custom-dark: #000000;
JSON
{
  "hex": "#57170c",
  "rgb": {
    "r": 87,
    "g": 23,
    "b": 12
  },
  "hsl": {
    "h": 8.8,
    "s": 75.758,
    "l": 19.412
  },
  "oklch": {
    "l": 0.30975,
    "c": 0.09653,
    "h": 32.2
  },
  "luminance": 0.02666
}

Semantic roles & 50–950 ramp

primary
#57170C
secondary
#2D8392
accent
#D7F235
background
#F9F5F4
surface
#F1E9E7
border
#CBC5C3
text
#0D0301
muted
#7E7877

Preview Lab

Preview with #57170C

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

Preview Lab → · Contrast checker → · Palette generator →

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