#3A0704#3A0704

#3A0704 is a very dark, moderate red. Relative luminance 0.011; OKLCH L 22.9% C 0.080 H 29.5°. Best body text is #FFFFFF at 17.33:1 contrast (WCAG AA passes).

Color values

HEX#3A0704
RGBrgb(58, 7, 4)
HSLhsl(3, 87%, 12%)
HSVhsv(3, 93%, 23%)
CMYKcmyk(0%, 87.9%, 93.1%, 77.3%)
CIE-LABlab(9.49, 24.47, 13.17)
CIE-LCHlch(9.49, 27.79, 28.29°)
OKLaboklab(22.91% 0.0695 0.0393)
OKLCHoklch(22.91% 0.08 29.5)
XYZxyz(1.8430, 1.0606, 0.2225)
Luminance0.0106 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A0704 #04373A
analogous
#3A041C #3A0704 #3A2204
triadic
#3A0704 #043A07 #07043A
tetradic
#3A0704 #1C3A04 #04373A #22043A
square
#3A0704 #1C3A04 #04373A #22043A
split-complementary
#3A0704 #043A22 #041C3A
monochromatic
#1D0302 #1D0302 #3A0704 #730E08 #AD150C

Accessibility & contrast

On white

17.33
#3A0704 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#3A0704 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A0704
17.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A0704#FFFFFF#000000##FFFFFF
##3A07041.0017.331.2117.33
#FFFFFF17.331.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#171303
Deuteranopia (green-blind)
#231E03
Tritanopia (blue-blind)
#410007
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #3a0704;
/* rgb */ color: rgb(58, 7, 4);
/* oklch */ color: oklch(22.9% 0.080 29.5);
Tailwind
colors: {
  custom: {
    50: '#754b48',
    500: '#3a0704',
    950: '#000000',
  },
}
SCSS
$custom: #3a0704;
$custom-light: #754b48;
$custom-dark: #000000;
JSON
{
  "hex": "#3a0704",
  "rgb": {
    "r": 58,
    "g": 7,
    "b": 4
  },
  "hsl": {
    "h": 3.333,
    "s": 87.097,
    "l": 12.157
  },
  "oklch": {
    "l": 0.22912,
    "c": 0.07987,
    "h": 29.5
  },
  "luminance": 0.0106
}

Semantic roles & 50–950 ramp

primary
#3A0704
secondary
#1E777C
accent
#F2FD2B
background
#F7F4F4
surface
#EDE7E6
border
#C8C3C2
text
#090100
muted
#7B7777

Preview Lab

Preview with #3A0704

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

Preview Lab → · Contrast checker → · Palette generator →

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