#57171B#57171B

#57171B is a dark, moderate red. Relative luminance 0.027; OKLCH L 31.2% C 0.094 H 21.0°. Best body text is #FFFFFF at 13.60:1 contrast (WCAG AA passes).

Color values

HEX#57171B
RGBrgb(87, 23, 27)
HSLhsl(356, 58%, 22%)
HSVhsv(356, 74%, 34%)
CMYKcmyk(0%, 73.6%, 69%, 65.9%)
CIE-LABlab(18.88, 29.66, 14.10)
CIE-LCHlch(18.88, 32.84, 25.43°)
OKLaboklab(31.22% 0.0877 0.0337)
OKLCHoklch(31.22% 0.094 21)
XYZxyz(4.4352, 2.7188, 1.3279)
Luminance0.0272 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#57171B #175753
analogous
#57173B #57171B #573317
triadic
#57171B #1B5717 #171B57
tetradic
#57171B #3B5717 #175753 #331757
square
#57171B #3B5717 #175753 #331757
split-complementary
#57171B #175733 #173B57
monochromatic
#180608 #270A0C #57171B #87242A #B83139

Accessibility & contrast

On white

13.60
#57171B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#57171B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #57171B
13.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##57171B#FFFFFF#000000##FFFFFF
##57171B1.0013.601.5413.60
#FFFFFF13.601.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#28251B
Deuteranopia (green-blind)
#383319
Tritanopia (blue-blind)
#600719
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #57171b;
/* rgb */ color: rgb(87, 23, 27);
/* oklch */ color: oklch(31.2% 0.094 21.0);
Tailwind
colors: {
  custom: {
    50: '#8c5957',
    500: '#57171b',
    950: '#000000',
  },
}
SCSS
$custom: #57171b;
$custom-light: #8c5957;
$custom-dark: #000000;
JSON
{
  "hex": "#57171b",
  "rgb": {
    "r": 87,
    "g": 23,
    "b": 27
  },
  "hsl": {
    "h": 356.25,
    "s": 58.182,
    "l": 21.569
  },
  "oklch": {
    "l": 0.31217,
    "c": 0.094,
    "h": 21
  },
  "luminance": 0.02718
}

Semantic roles & 50–950 ramp

primary
#57171B
secondary
#3C8E89
accent
#E1D846
background
#F9F5F5
surface
#F1E9E9
border
#CBC5C5
text
#0D0403
muted
#7E7978

Preview Lab

Preview with #57171B

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

Preview Lab → · Contrast checker → · Palette generator →

#57171B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva