#3A0504#3A0504

#3A0504 is a very dark, moderate red. Relative luminance 0.010; OKLCH L 22.7% C 0.082 H 28.0°. Best body text is #FFFFFF at 17.45:1 contrast (WCAG AA passes).

Color values

HEX#3A0504
RGBrgb(58, 5, 4)
HSLhsl(1, 87%, 12%)
HSVhsv(1, 93%, 23%)
CMYKcmyk(0%, 91.4%, 93.1%, 77.3%)
CIE-LABlab(9.13, 25.47, 12.67)
CIE-LCHlch(9.13, 28.44, 26.45°)
OKLaboklab(22.65% 0.0726 0.0386)
OKLCHoklch(22.65% 0.082 28)
XYZxyz(1.8213, 1.0171, 0.2153)
Luminance0.0102 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A0504 #04393A
analogous
#3A041E #3A0504 #3A2004
triadic
#3A0504 #043A05 #05043A
tetradic
#3A0504 #1E3A04 #04393A #20043A
square
#3A0504 #1E3A04 #04393A #20043A
split-complementary
#3A0504 #043A20 #041E3A
monochromatic
#1D0202 #1D0202 #3A0504 #730A08 #AD0F0C

Accessibility & contrast

On white

17.45
#3A0504 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3A0504
17.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A0504#FFFFFF#000000##FFFFFF
##3A05041.0017.451.2017.45
#FFFFFF17.451.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#161203
Deuteranopia (green-blind)
#231E02
Tritanopia (blue-blind)
#410005
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #3a0504;
/* rgb */ color: rgb(58, 5, 4);
/* oklch */ color: oklch(22.7% 0.082 28.0);
Tailwind
colors: {
  custom: {
    50: '#754a48',
    500: '#3a0504',
    950: '#000000',
  },
}
SCSS
$custom: #3a0504;
$custom-light: #754a48;
$custom-dark: #000000;
JSON
{
  "hex": "#3a0504",
  "rgb": {
    "r": 58,
    "g": 5,
    "b": 4
  },
  "hsl": {
    "h": 1.111,
    "s": 87.097,
    "l": 12.157
  },
  "oklch": {
    "l": 0.2265,
    "c": 0.08224,
    "h": 28
  },
  "luminance": 0.01017
}

Semantic roles & 50–950 ramp

primary
#3A0504
secondary
#1E7A7C
accent
#F9FD2B
background
#F7F4F4
surface
#EDE7E6
border
#C8C3C2
text
#090100
muted
#7B7777

Preview Lab

Preview with #3A0504

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

Preview Lab → · Contrast checker → · Palette generator →

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