#57170E#57170E

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

Color values

HEX#57170E
RGBrgb(87, 23, 14)
HSLhsl(7, 72%, 20%)
HSVhsv(7, 84%, 34%)
CMYKcmyk(0%, 73.6%, 83.9%, 65.9%)
CIE-LABlab(18.68, 28.92, 22.14)
CIE-LCHlch(18.68, 36.42, 37.43°)
OKLaboklab(31% 0.0824 0.0495)
OKLCHoklch(31% 0.096 31)
XYZxyz(4.3166, 2.6714, 0.7037)
Luminance0.0267 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#57170E #0E4E57
analogous
#570E2A #57170E #573B0E
triadic
#57170E #0E5717 #170E57
tetradic
#57170E #2A570E #0E4E57 #3B0E57
square
#57170E #2A570E #0E4E57 #3B0E57
split-complementary
#57170E #0E573B #0E2A57
monochromatic
#1A0704 #220906 #57170E #8C2516 #C0331F

Accessibility & contrast

On white

13.69
#57170E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #57170E
13.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##57170E#FFFFFF#000000##FFFFFF
##57170E1.0013.691.5313.69
#FFFFFF13.691.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#29250C
Deuteranopia (green-blind)
#39330B
Tritanopia (blue-blind)
#600415
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #57170e;
/* rgb */ color: rgb(87, 23, 14);
/* oklch */ color: oklch(31.0% 0.096 31.0);
Tailwind
colors: {
  custom: {
    50: '#8d584d',
    500: '#57170e',
    950: '#000000',
  },
}
SCSS
$custom: #57170e;
$custom-light: #8d584d;
$custom-dark: #000000;
JSON
{
  "hex": "#57170e",
  "rgb": {
    "r": 87,
    "g": 23,
    "b": 14
  },
  "hsl": {
    "h": 7.397,
    "s": 72.277,
    "l": 19.804
  },
  "oklch": {
    "l": 0.30999,
    "c": 0.09611,
    "h": 31
  },
  "luminance": 0.02671
}

Semantic roles & 50–950 ramp

primary
#57170E
secondary
#308591
accent
#D9EF39
background
#F9F5F4
surface
#F1E9E7
border
#CBC5C3
text
#0D0301
muted
#7E7877

Preview Lab

Preview with #57170E

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

Preview Lab → · Contrast checker → · Palette generator →

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