#57151F#57151F

#57151F is a dark, moderate red. Relative luminance 0.027; OKLCH L 31.1% C 0.096 H 16.2°. Best body text is #FFFFFF at 13.71:1 contrast (WCAG AA passes).

Color values

HEX#57151F
RGBrgb(87, 21, 31)
HSLhsl(351, 61%, 21%)
HSVhsv(351, 76%, 34%)
CMYKcmyk(0%, 75.9%, 64.4%, 65.9%)
CIE-LABlab(18.64, 30.87, 10.98)
CIE-LCHlch(18.64, 32.76, 19.58°)
OKLaboklab(31.06% 0.0924 0.0269)
OKLCHoklch(31.06% 0.096 16.2)
XYZxyz(4.4464, 2.6621, 1.5758)
Luminance0.0266 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#57151F #15574D
analogous
#571540 #57151F #572C15
triadic
#57151F #1F5715 #151F57
tetradic
#57151F #405715 #15574D #2C1557
square
#57151F #405715 #15574D #2C1557
split-complementary
#57151F #15572C #154057
monochromatic
#190609 #26090D #57151F #882131 #BA2D42

Accessibility & contrast

On white

13.71
#57151F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#57151F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #57151F
13.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##57151F#FFFFFF#000000##FFFFFF
##57151F1.0013.711.5313.71
#FFFFFF13.711.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#26251F
Deuteranopia (green-blind)
#37321D
Tritanopia (blue-blind)
#600519
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #57151f;
/* rgb */ color: rgb(87, 21, 31);
/* oklch */ color: oklch(31.1% 0.096 16.2);
Tailwind
colors: {
  custom: {
    50: '#8b585a',
    500: '#57151f',
    950: '#000000',
  },
}
SCSS
$custom: #57151f;
$custom-light: #8b585a;
$custom-dark: #000000;
JSON
{
  "hex": "#57151f",
  "rgb": {
    "r": 87,
    "g": 21,
    "b": 31
  },
  "hsl": {
    "h": 350.909,
    "s": 61.111,
    "l": 21.176
  },
  "oklch": {
    "l": 0.31063,
    "c": 0.09627,
    "h": 16.2
  },
  "luminance": 0.02661
}

Semantic roles & 50–950 ramp

primary
#57151F
secondary
#398F82
accent
#E4CC44
background
#F9F5F5
surface
#F1E9E9
border
#CBC5C5
text
#0D0303
muted
#7E7878

Preview Lab

Preview with #57151F

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

Preview Lab → · Contrast checker → · Palette generator →

#57151F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva