#571F18#571F18

#571F18 is a dark, moderate red. Relative luminance 0.031; OKLCH L 32.3% C 0.085 H 29.6°. Best body text is #FFFFFF at 13.01:1 contrast (WCAG AA passes).

Color values

HEX#571F18
RGBrgb(87, 31, 24)
HSLhsl(7, 57%, 22%)
HSVhsv(7, 72%, 34%)
CMYKcmyk(0%, 64.4%, 72.4%, 65.9%)
CIE-LABlab(20.33, 25.42, 17.94)
CIE-LCHlch(20.33, 31.11, 35.22°)
OKLaboklab(32.29% 0.0737 0.0419)
OKLCHoklch(32.29% 0.085 29.6)
XYZxyz(4.5858, 3.0728, 1.2156)
Luminance0.0307 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571F18 #185057
analogous
#571831 #571F18 #573F18
triadic
#571F18 #18571F #1F1857
tetradic
#571F18 #315718 #185057 #3F1857
square
#571F18 #315718 #185057 #3F1857
split-complementary
#571F18 #18573F #183157
monochromatic
#180907 #270E0B #571F18 #873025 #B74132

Accessibility & contrast

On white

13.01
#571F18 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#571F18 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #571F18
13.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571F18#FFFFFF#000000##FFFFFF
##571F181.0013.011.6113.01
#FFFFFF13.011.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E2917
Deuteranopia (green-blind)
#3C3617
Tritanopia (blue-blind)
#60131E
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #571f18;
/* rgb */ color: rgb(87, 31, 24);
/* oklch */ color: oklch(32.3% 0.085 29.6);
Tailwind
colors: {
  custom: {
    50: '#8b5d55',
    500: '#571f18',
    950: '#000000',
  },
}
SCSS
$custom: #571f18;
$custom-light: #8b5d55;
$custom-dark: #000000;
JSON
{
  "hex": "#571f18",
  "rgb": {
    "r": 87,
    "g": 31,
    "b": 24
  },
  "hsl": {
    "h": 6.667,
    "s": 56.757,
    "l": 21.765
  },
  "oklch": {
    "l": 0.32291,
    "c": 0.08477,
    "h": 29.6
  },
  "luminance": 0.03072
}

Semantic roles & 50–950 ramp

primary
#571F18
secondary
#3D858E
accent
#CFE048
background
#F9F5F4
surface
#F1E9E7
border
#CBC5C3
text
#0D0403
muted
#7E7978

Preview Lab

Preview with #571F18

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

Preview Lab → · Contrast checker → · Palette generator →

#571F18 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva