#57171E#57171E

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

Color values

HEX#57171E
RGBrgb(87, 23, 30)
HSLhsl(353, 58%, 22%)
HSVhsv(353, 74%, 34%)
CMYKcmyk(0%, 73.6%, 65.5%, 65.9%)
CIE-LABlab(18.94, 29.89, 12.09)
CIE-LCHlch(18.94, 32.24, 22.02°)
OKLaboklab(31.28% 0.0891 0.0294)
OKLCHoklch(31.28% 0.094 18.3)
XYZxyz(4.4717, 2.7334, 1.5202)
Luminance0.0273 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#57171E #175750
analogous
#57173E #57171E #573017
triadic
#57171E #1E5717 #171E57
tetradic
#57171E #3E5717 #175750 #301757
square
#57171E #3E5717 #175750 #301757
split-complementary
#57171E #175730 #173E57
monochromatic
#180608 #270A0D #57171E #87242F #B8313F

Accessibility & contrast

On white

13.58
#57171E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#57171E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #57171E
13.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##57171E#FFFFFF#000000##FFFFFF
##57171E1.0013.581.5513.58
#FFFFFF13.581.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#28251E
Deuteranopia (green-blind)
#38331C
Tritanopia (blue-blind)
#60081A
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #57171e;
/* rgb */ color: rgb(87, 23, 30);
/* oklch */ color: oklch(31.3% 0.094 18.3);
Tailwind
colors: {
  custom: {
    50: '#8b5959',
    500: '#57171e',
    950: '#000000',
  },
}
SCSS
$custom: #57171e;
$custom-light: #8b5959;
$custom-dark: #000000;
JSON
{
  "hex": "#57171e",
  "rgb": {
    "r": 87,
    "g": 23,
    "b": 30
  },
  "hsl": {
    "h": 353.438,
    "s": 58.182,
    "l": 21.569
  },
  "oklch": {
    "l": 0.31284,
    "c": 0.09383,
    "h": 18.3
  },
  "luminance": 0.02733
}

Semantic roles & 50–950 ramp

primary
#57171E
secondary
#3C8E85
accent
#E1D046
background
#F9F5F5
surface
#F1E9E9
border
#CBC5C5
text
#0D0403
muted
#7E7978

Preview Lab

Preview with #57171E

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

Preview Lab → · Contrast checker → · Palette generator →

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