#57170D#57170D

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

Color values

HEX#57170D
RGBrgb(87, 23, 13)
HSLhsl(8, 74%, 20%)
HSVhsv(8, 85%, 34%)
CMYKcmyk(0%, 73.6%, 85.1%, 65.9%)
CIE-LABlab(18.66, 28.88, 22.61)
CIE-LCHlch(18.66, 36.68, 38.06°)
OKLaboklab(30.99% 0.082 0.0505)
OKLCHoklch(30.99% 0.096 31.6)
XYZxyz(4.3100, 2.6687, 0.6689)
Luminance0.0267 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#57170D #0D4D57
analogous
#570D28 #57170D #573C0D
triadic
#57170D #0D5717 #170D57
tetradic
#57170D #28570D #0D4D57 #3C0D57
square
#57170D #28570D #0D4D57 #3C0D57
split-complementary
#57170D #0D573C #0D2857
monochromatic
#1B0704 #220905 #57170D #8C2515 #C1331D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##57170D#FFFFFF#000000##FFFFFF
##57170D1.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)
#2A240B
Deuteranopia (green-blind)
#39330A
Tritanopia (blue-blind)
#610415
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #57170d;
/* rgb */ color: rgb(87, 23, 13);
/* oklch */ color: oklch(31.0% 0.096 31.6);
Tailwind
colors: {
  custom: {
    50: '#8d584d',
    500: '#57170d',
    950: '#000000',
  },
}
SCSS
$custom: #57170d;
$custom-light: #8d584d;
$custom-dark: #000000;
JSON
{
  "hex": "#57170d",
  "rgb": {
    "r": 87,
    "g": 23,
    "b": 13
  },
  "hsl": {
    "h": 8.108,
    "s": 74,
    "l": 19.608
  },
  "oklch": {
    "l": 0.30987,
    "c": 0.09632,
    "h": 31.6
  },
  "luminance": 0.02668
}

Semantic roles & 50–950 ramp

primary
#57170D
secondary
#2E8492
accent
#D8F137
background
#F9F5F4
surface
#F1E9E7
border
#CBC5C3
text
#0D0301
muted
#7E7877

Preview Lab

Preview with #57170D

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

Preview Lab → · Contrast checker → · Palette generator →

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