#57151E#57151E

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

Color values

HEX#57151E
RGBrgb(87, 21, 30)
HSLhsl(352, 61%, 21%)
HSVhsv(352, 76%, 34%)
CMYKcmyk(0%, 75.9%, 65.5%, 65.9%)
CIE-LABlab(18.61, 30.79, 11.66)
CIE-LCHlch(18.61, 32.92, 20.74°)
OKLaboklab(31.04% 0.092 0.0284)
OKLCHoklch(31.04% 0.096 17.2)
XYZxyz(4.4334, 2.6569, 1.5074)
Luminance0.0266 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#57151E #15574E
analogous
#57153F #57151E #572D15
triadic
#57151E #1E5715 #151E57
tetradic
#57151E #3F5715 #15574E #2D1557
square
#57151E #3F5715 #15574E #2D1557
split-complementary
#57151E #15572D #153F57
monochromatic
#190609 #26090D #57151E #88212F #BA2D40

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##57151E#FFFFFF#000000##FFFFFF
##57151E1.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)
#26251E
Deuteranopia (green-blind)
#37321C
Tritanopia (blue-blind)
#600519
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #57151e;
/* rgb */ color: rgb(87, 21, 30);
/* oklch */ color: oklch(31.0% 0.096 17.2);
Tailwind
colors: {
  custom: {
    50: '#8b5859',
    500: '#57151e',
    950: '#000000',
  },
}
SCSS
$custom: #57151e;
$custom-light: #8b5859;
$custom-dark: #000000;
JSON
{
  "hex": "#57151e",
  "rgb": {
    "r": 87,
    "g": 21,
    "b": 30
  },
  "hsl": {
    "h": 351.818,
    "s": 61.111,
    "l": 21.176
  },
  "oklch": {
    "l": 0.31039,
    "c": 0.09627,
    "h": 17.2
  },
  "luminance": 0.02656
}

Semantic roles & 50–950 ramp

primary
#57151E
secondary
#398F83
accent
#E4CE44
background
#F9F5F5
surface
#F1E9E9
border
#CBC5C5
text
#0D0303
muted
#7E7878

Preview Lab

Preview with #57151E

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

Preview Lab → · Contrast checker → · Palette generator →

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