#57121F#57121F

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

Color values

HEX#57121F
RGBrgb(87, 18, 31)
HSLhsl(349, 66%, 21%)
HSVhsv(349, 79%, 34%)
CMYKcmyk(0%, 79.3%, 64.4%, 65.9%)
CIE-LABlab(18.18, 32.13, 10.37)
CIE-LCHlch(18.18, 33.76, 17.89°)
OKLaboklab(30.72% 0.0965 0.0255)
OKLCHoklch(30.72% 0.1 14.8)
XYZxyz(4.3945, 2.5584, 1.5585)
Luminance0.0256 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#57121F #12574A
analogous
#571241 #57121F #572812
triadic
#57121F #1F5712 #121F57
tetradic
#57121F #415712 #12574A #281257
square
#57121F #415712 #12574A #281257
split-complementary
#57121F #125728 #124157
monochromatic
#190509 #24080D #57121F #8A1C31 #BC2743

Accessibility & contrast

On white

13.89
#57121F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #57121F
13.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##57121F#FFFFFF#000000##FFFFFF
##57121F1.0013.891.5113.89
#FFFFFF13.891.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25231F
Deuteranopia (green-blind)
#36321D
Tritanopia (blue-blind)
#600117
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #57121f;
/* rgb */ color: rgb(87, 18, 31);
/* oklch */ color: oklch(30.7% 0.100 14.8);
Tailwind
colors: {
  custom: {
    50: '#8b565a',
    500: '#57121f',
    950: '#000000',
  },
}
SCSS
$custom: #57121f;
$custom-light: #8b565a;
$custom-dark: #000000;
JSON
{
  "hex": "#57121f",
  "rgb": {
    "r": 87,
    "g": 18,
    "b": 31
  },
  "hsl": {
    "h": 348.696,
    "s": 65.714,
    "l": 20.588
  },
  "oklch": {
    "l": 0.30724,
    "c": 0.09978,
    "h": 14.8
  },
  "luminance": 0.02558
}

Semantic roles & 50–950 ramp

primary
#57121F
secondary
#35907F
accent
#E9C93F
background
#F9F5F5
surface
#F1E9E9
border
#CBC5C5
text
#0D0303
muted
#7E7878

Preview Lab

Preview with #57121F

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

Preview Lab → · Contrast checker → · Palette generator →

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