#3A0404#3A0404

#3A0404 is a very dark, moderate red. Relative luminance 0.010; OKLCH L 22.5% C 0.083 H 27.2°. Best body text is #FFFFFF at 17.51:1 contrast (WCAG AA passes).

Color values

HEX#3A0404
RGBrgb(58, 4, 4)
HSLhsl(0, 87%, 12%)
HSVhsv(0, 93%, 23%)
CMYKcmyk(0%, 93.1%, 93.1%, 77.3%)
CIE-LABlab(8.95, 25.98, 12.41)
CIE-LCHlch(8.95, 28.79, 25.53°)
OKLaboklab(22.52% 0.0742 0.0382)
OKLCHoklch(22.52% 0.083 27.2)
XYZxyz(1.8105, 0.9954, 0.2117)
Luminance0.0100 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A0404 #043A3A
analogous
#3A041F #3A0404 #3A1F04
triadic
#3A0404 #043A04 #04043A
tetradic
#3A0404 #1F3A04 #043A3A #1F043A
square
#3A0404 #1F3A04 #043A3A #1F043A
split-complementary
#3A0404 #043A1F #041F3A
monochromatic
#1D0202 #1D0202 #3A0404 #730808 #AD0C0C

Accessibility & contrast

On white

17.51
#3A0404 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#3A0404 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A0404
17.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A0404#FFFFFF#000000##FFFFFF
##3A04041.0017.511.2017.51
#FFFFFF17.511.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#151203
Deuteranopia (green-blind)
#221E02
Tritanopia (blue-blind)
#410005
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #3a0404;
/* rgb */ color: rgb(58, 4, 4);
/* oklch */ color: oklch(22.5% 0.083 27.2);
Tailwind
colors: {
  custom: {
    50: '#754a48',
    500: '#3a0404',
    950: '#000000',
  },
}
SCSS
$custom: #3a0404;
$custom-light: #754a48;
$custom-dark: #000000;
JSON
{
  "hex": "#3a0404",
  "rgb": {
    "r": 58,
    "g": 4,
    "b": 4
  },
  "hsl": {
    "h": 0,
    "s": 87.097,
    "l": 12.157
  },
  "oklch": {
    "l": 0.22516,
    "c": 0.08348,
    "h": 27.2
  },
  "luminance": 0.00995
}

Semantic roles & 50–950 ramp

primary
#3A0404
secondary
#1E7C7C
accent
#FDFD2B
background
#F7F4F4
surface
#EDE7E6
border
#C8C3C2
text
#090100
muted
#7B7777

Preview Lab

Preview with #3A0404

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

Preview Lab → · Contrast checker → · Palette generator →

#3A0404 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva