#571812#571812

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

Color values

HEX#571812
RGBrgb(87, 24, 18)
HSLhsl(5, 66%, 21%)
HSVhsv(5, 79%, 34%)
CMYKcmyk(0%, 72.4%, 79.3%, 65.9%)
CIE-LABlab(18.90, 28.64, 20.17)
CIE-LCHlch(18.90, 35.03, 35.16°)
OKLaboklab(31.19% 0.0824 0.0457)
OKLCHoklch(31.19% 0.094 29)
XYZxyz(4.3668, 2.7238, 0.8680)
Luminance0.0272 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571812 #125157
analogous
#57122E #571812 #573A12
triadic
#571812 #125718 #181257
tetradic
#571812 #2E5712 #125157 #3A1257
square
#571812 #2E5712 #125157 #3A1257
split-complementary
#571812 #12573A #122E57
monochromatic
#190705 #240A08 #571812 #8A261C #BC3427

Accessibility & contrast

On white

13.60
#571812 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#571812 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##571812#FFFFFF#000000##FFFFFF
##5718121.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)
#2A2511
Deuteranopia (green-blind)
#393310
Tritanopia (blue-blind)
#600617
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #571812;
/* rgb */ color: rgb(87, 24, 18);
/* oklch */ color: oklch(31.2% 0.094 29.0);
Tailwind
colors: {
  custom: {
    50: '#8c5950',
    500: '#571812',
    950: '#000000',
  },
}
SCSS
$custom: #571812;
$custom-light: #8c5950;
$custom-dark: #000000;
JSON
{
  "hex": "#571812",
  "rgb": {
    "r": 87,
    "g": 24,
    "b": 18
  },
  "hsl": {
    "h": 5.217,
    "s": 65.714,
    "l": 20.588
  },
  "oklch": {
    "l": 0.31185,
    "c": 0.09421,
    "h": 29
  },
  "luminance": 0.02723
}

Semantic roles & 50–950 ramp

primary
#571812
secondary
#358890
accent
#DAE93F
background
#F9F5F4
surface
#F1E9E7
border
#CBC5C3
text
#0D0402
muted
#7E7978

Preview Lab

Preview with #571812

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

Preview Lab → · Contrast checker → · Palette generator →

#571812 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva