#57170F#57170F

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

Color values

HEX#57170F
RGBrgb(87, 23, 15)
HSLhsl(7, 71%, 20%)
HSVhsv(7, 83%, 34%)
CMYKcmyk(0%, 73.6%, 82.8%, 65.9%)
CIE-LABlab(18.69, 28.97, 21.63)
CIE-LCHlch(18.69, 36.15, 36.75°)
OKLaboklab(31.01% 0.0827 0.0485)
OKLCHoklch(31.01% 0.096 30.4)
XYZxyz(4.3236, 2.6742, 0.7403)
Luminance0.0267 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#57170F #0F4F57
analogous
#570F2B #57170F #573B0F
triadic
#57170F #0F5717 #170F57
tetradic
#57170F #2B570F #0F4F57 #3B0F57
square
#57170F #2B570F #0F4F57 #3B0F57
split-complementary
#57170F #0F573B #0F2B57
monochromatic
#1A0705 #230906 #57170F #8B2518 #BF3321

Accessibility & contrast

On white

13.68
#57170F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #57170F
13.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##57170F#FFFFFF#000000##FFFFFF
##57170F1.0013.681.5313.68
#FFFFFF13.681.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#29250E
Deuteranopia (green-blind)
#39330D
Tritanopia (blue-blind)
#600416
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #57170f;
/* rgb */ color: rgb(87, 23, 15);
/* oklch */ color: oklch(31.0% 0.096 30.4);
Tailwind
colors: {
  custom: {
    50: '#8d584e',
    500: '#57170f',
    950: '#000000',
  },
}
SCSS
$custom: #57170f;
$custom-light: #8d584e;
$custom-dark: #000000;
JSON
{
  "hex": "#57170f",
  "rgb": {
    "r": 87,
    "g": 23,
    "b": 15
  },
  "hsl": {
    "h": 6.667,
    "s": 70.588,
    "l": 20
  },
  "oklch": {
    "l": 0.31012,
    "c": 0.09591,
    "h": 30.4
  },
  "luminance": 0.02674
}

Semantic roles & 50–950 ramp

primary
#57170F
secondary
#318691
accent
#D9ED3A
background
#F9F5F4
surface
#F1E9E7
border
#CBC5C3
text
#0D0301
muted
#7E7877

Preview Lab

Preview with #57170F

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

Preview Lab → · Contrast checker → · Palette generator →

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