#57181C#57181C

#57181C is a dark, moderate red. Relative luminance 0.028; OKLCH L 31.4% C 0.093 H 20.7°. Best body text is #FFFFFF at 13.53:1 contrast (WCAG AA passes).

Color values

HEX#57181C
RGBrgb(87, 24, 28)
HSLhsl(356, 57%, 22%)
HSVhsv(356, 72%, 34%)
CMYKcmyk(0%, 72.4%, 67.8%, 65.9%)
CIE-LABlab(19.07, 29.27, 13.65)
CIE-LCHlch(19.07, 32.29, 25.01°)
OKLaboklab(31.37% 0.0867 0.0328)
OKLCHoklch(31.37% 0.093 20.7)
XYZxyz(4.4672, 2.7640, 1.3967)
Luminance0.0276 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#57181C #185753
analogous
#57183C #57181C #573418
triadic
#57181C #1C5718 #181C57
tetradic
#57181C #3C5718 #185753 #341857
square
#57181C #3C5718 #185753 #341857
split-complementary
#57181C #185734 #183C57
monochromatic
#180708 #270B0D #57181C #87252B #B7323B

Accessibility & contrast

On white

13.53
#57181C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#57181C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #57181C
13.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##57181C#FFFFFF#000000##FFFFFF
##57181C1.0013.531.5513.53
#FFFFFF13.531.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#29261C
Deuteranopia (green-blind)
#38331A
Tritanopia (blue-blind)
#60091A
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #57181c;
/* rgb */ color: rgb(87, 24, 28);
/* oklch */ color: oklch(31.4% 0.093 20.7);
Tailwind
colors: {
  custom: {
    50: '#8b5958',
    500: '#57181c',
    950: '#000000',
  },
}
SCSS
$custom: #57181c;
$custom-light: #8b5958;
$custom-dark: #000000;
JSON
{
  "hex": "#57181c",
  "rgb": {
    "r": 87,
    "g": 24,
    "b": 28
  },
  "hsl": {
    "h": 356.19,
    "s": 56.757,
    "l": 21.765
  },
  "oklch": {
    "l": 0.31367,
    "c": 0.0927,
    "h": 20.7
  },
  "luminance": 0.02763
}

Semantic roles & 50–950 ramp

primary
#57181C
secondary
#3D8E89
accent
#E0D648
background
#F9F5F5
surface
#F1E9E9
border
#CBC5C5
text
#0D0403
muted
#7E7978

Preview Lab

Preview with #57181C

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

Preview Lab → · Contrast checker → · Palette generator →

#57181C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva