#581212#581212

#581212 is a dark, moderate red. Relative luminance 0.026; OKLCH L 30.7% C 0.102 H 25.5°. Best body text is #FFFFFF at 13.91:1 contrast (WCAG AA passes).

Color values

HEX#581212
RGBrgb(88, 18, 18)
HSLhsl(0, 66%, 21%)
HSVhsv(0, 80%, 35%)
CMYKcmyk(0%, 79.5%, 79.5%, 65.5%)
CIE-LABlab(18.15, 31.65, 19.34)
CIE-LCHlch(18.15, 37.10, 31.43°)
OKLaboklab(30.66% 0.0918 0.0439)
OKLCHoklch(30.66% 0.102 25.5)
XYZxyz(4.3505, 2.5517, 0.8356)
Luminance0.0255 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#581212 #125858
analogous
#581235 #581212 #583512
triadic
#581212 #125812 #121258
tetradic
#581212 #355812 #125858 #351258
square
#581212 #355812 #125858 #351258
split-complementary
#581212 #125835 #123558
monochromatic
#190505 #250808 #581212 #8B1C1C #BE2727

Accessibility & contrast

On white

13.91
#581212 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#581212 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #581212
13.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##581212#FFFFFF#000000##FFFFFF
##5812121.0013.911.5113.91
#FFFFFF13.911.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#272311
Deuteranopia (green-blind)
#38320F
Tritanopia (blue-blind)
#620013
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #581212;
/* rgb */ color: rgb(88, 18, 18);
/* oklch */ color: oklch(30.7% 0.102 25.5);
Tailwind
colors: {
  custom: {
    50: '#8e5650',
    500: '#581212',
    950: '#000000',
  },
}
SCSS
$custom: #581212;
$custom-light: #8e5650;
$custom-dark: #000000;
JSON
{
  "hex": "#581212",
  "rgb": {
    "r": 88,
    "g": 18,
    "b": 18
  },
  "hsl": {
    "h": 0,
    "s": 66.038,
    "l": 20.784
  },
  "oklch": {
    "l": 0.30662,
    "c": 0.10171,
    "h": 25.5
  },
  "luminance": 0.02551
}

Semantic roles & 50–950 ramp

primary
#581212
secondary
#359191
accent
#E9E93F
background
#F9F5F4
surface
#F2E9E7
border
#CCC5C3
text
#0D0302
muted
#7E7878

Preview Lab

Preview with #581212

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

Preview Lab → · Contrast checker → · Palette generator →

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