#3A0A04#3A0A04

#3A0A04 is a very dark, moderate red. Relative luminance 0.011; OKLCH L 23.3% C 0.077 H 31.8°. Best body text is #FFFFFF at 17.14:1 contrast (WCAG AA passes).

Color values

HEX#3A0A04
RGBrgb(58, 10, 4)
HSLhsl(7, 87%, 12%)
HSVhsv(7, 93%, 23%)
CMYKcmyk(0%, 82.8%, 93.1%, 77.3%)
CIE-LABlab(10.00, 23.06, 13.90)
CIE-LCHlch(10.00, 26.92, 31.08°)
OKLaboklab(23.29% 0.0651 0.0404)
OKLCHoklch(23.29% 0.077 31.8)
XYZxyz(1.8756, 1.1257, 0.2334)
Luminance0.0112 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A0A04 #04343A
analogous
#3A0419 #3A0A04 #3A2504
triadic
#3A0A04 #043A0A #0A043A
tetradic
#3A0A04 #193A04 #04343A #25043A
square
#3A0A04 #193A04 #04343A #25043A
split-complementary
#3A0A04 #043A25 #04193A
monochromatic
#1D0502 #1D0502 #3A0A04 #731408 #AD1E0C

Accessibility & contrast

On white

17.14
#3A0A04 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#3A0A04 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A0A04
17.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A0A04#FFFFFF#000000##FFFFFF
##3A0A041.0017.141.2217.14
#FFFFFF17.141.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#181503
Deuteranopia (green-blind)
#241F03
Tritanopia (blue-blind)
#410009
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #3a0a04;
/* rgb */ color: rgb(58, 10, 4);
/* oklch */ color: oklch(23.3% 0.077 31.8);
Tailwind
colors: {
  custom: {
    50: '#754d48',
    500: '#3a0a04',
    950: '#000000',
  },
}
SCSS
$custom: #3a0a04;
$custom-light: #754d48;
$custom-dark: #000000;
JSON
{
  "hex": "#3a0a04",
  "rgb": {
    "r": 58,
    "g": 10,
    "b": 4
  },
  "hsl": {
    "h": 6.667,
    "s": 87.097,
    "l": 12.157
  },
  "oklch": {
    "l": 0.23294,
    "c": 0.07661,
    "h": 31.8
  },
  "luminance": 0.01125
}

Semantic roles & 50–950 ramp

primary
#3A0A04
secondary
#1E717C
accent
#E6FD2B
background
#F7F4F4
surface
#EDE7E6
border
#C8C3C2
text
#090100
muted
#7B7777

Preview Lab

Preview with #3A0A04

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

Preview Lab → · Contrast checker → · Palette generator →

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