#3A0407#3A0407

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

Color values

HEX#3A0407
RGBrgb(58, 4, 7)
HSLhsl(357, 87%, 12%)
HSVhsv(357, 93%, 23%)
CMYKcmyk(0%, 93.1%, 87.9%, 77.3%)
CIE-LABlab(9.01, 26.14, 11.27)
CIE-LCHlch(9.01, 28.47, 23.31°)
OKLaboklab(22.57% 0.0759 0.0336)
OKLCHoklch(22.57% 0.083 23.9)
XYZxyz(1.8269, 1.0020, 0.2982)
Luminance0.0100 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A0407 #043A37
analogous
#3A0422 #3A0407 #3A1C04
triadic
#3A0407 #073A04 #04073A
tetradic
#3A0407 #223A04 #043A37 #1C043A
square
#3A0407 #223A04 #043A37 #1C043A
split-complementary
#3A0407 #043A1C #04223A
monochromatic
#1D0203 #1D0203 #3A0407 #73080E #AD0C15

Accessibility & contrast

On white

17.49
#3A0407 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3A0407
17.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A0407#FFFFFF#000000##FFFFFF
##3A04071.0017.491.2017.49
#FFFFFF17.491.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#151207
Deuteranopia (green-blind)
#221E05
Tritanopia (blue-blind)
#410006
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #3a0407;
/* rgb */ color: rgb(58, 4, 7);
/* oklch */ color: oklch(22.6% 0.083 23.9);
Tailwind
colors: {
  custom: {
    50: '#754a4a',
    500: '#3a0407',
    950: '#000000',
  },
}
SCSS
$custom: #3a0407;
$custom-light: #754a4a;
$custom-dark: #000000;
JSON
{
  "hex": "#3a0407",
  "rgb": {
    "r": 58,
    "g": 4,
    "b": 7
  },
  "hsl": {
    "h": 356.667,
    "s": 87.097,
    "l": 12.157
  },
  "oklch": {
    "l": 0.22574,
    "c": 0.08296,
    "h": 23.9
  },
  "luminance": 0.01002
}

Semantic roles & 50–950 ramp

primary
#3A0407
secondary
#1E7C77
accent
#FDF22B
background
#F7F4F4
surface
#EDE7E7
border
#C8C3C3
text
#090101
muted
#7B7777

Preview Lab

Preview with #3A0407

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

Preview Lab → · Contrast checker → · Palette generator →

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