#57121C#57121C

#57121C is a dark, moderate red. Relative luminance 0.025; OKLCH L 30.7% C 0.100 H 17.5°. Best body text is #FFFFFF at 13.92:1 contrast (WCAG AA passes).

Color values

HEX#57121C
RGBrgb(87, 18, 28)
HSLhsl(351, 66%, 21%)
HSVhsv(351, 79%, 34%)
CMYKcmyk(0%, 79.3%, 67.8%, 65.9%)
CIE-LABlab(18.11, 31.90, 12.41)
CIE-LCHlch(18.11, 34.23, 21.26°)
OKLaboklab(30.65% 0.0951 0.03)
OKLCHoklch(30.65% 0.1 17.5)
XYZxyz(4.3568, 2.5433, 1.3599)
Luminance0.0254 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#57121C #12574D
analogous
#57123E #57121C #572A12
triadic
#57121C #1C5712 #121C57
tetradic
#57121C #3E5712 #12574D #2A1257
square
#57121C #3E5712 #12574D #2A1257
split-complementary
#57121C #12572A #123E57
monochromatic
#190508 #24080C #57121C #8A1C2C #BC273D

Accessibility & contrast

On white

13.92
#57121C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#57121C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #57121C
13.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##57121C#FFFFFF#000000##FFFFFF
##57121C1.0013.921.5113.92
#FFFFFF13.921.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25231C
Deuteranopia (green-blind)
#37321A
Tritanopia (blue-blind)
#600016
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #57121c;
/* rgb */ color: rgb(87, 18, 28);
/* oklch */ color: oklch(30.7% 0.100 17.5);
Tailwind
colors: {
  custom: {
    50: '#8c5657',
    500: '#57121c',
    950: '#000000',
  },
}
SCSS
$custom: #57121c;
$custom-light: #8c5657;
$custom-dark: #000000;
JSON
{
  "hex": "#57121c",
  "rgb": {
    "r": 87,
    "g": 18,
    "b": 28
  },
  "hsl": {
    "h": 351.304,
    "s": 65.714,
    "l": 20.588
  },
  "oklch": {
    "l": 0.30653,
    "c": 0.09972,
    "h": 17.5
  },
  "luminance": 0.02543
}

Semantic roles & 50–950 ramp

primary
#57121C
secondary
#359083
accent
#E9D03F
background
#F9F5F5
surface
#F1E9E9
border
#CBC5C5
text
#0D0303
muted
#7E7878

Preview Lab

Preview with #57121C

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

Preview Lab → · Contrast checker → · Palette generator →

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