#3A0802#3A0802

#3A0802 is a very dark, moderate red. Relative luminance 0.011; OKLCH L 23.0% C 0.079 H 32.7°. Best body text is #FFFFFF at 17.28:1 contrast (WCAG AA passes).

Color values

HEX#3A0802
RGBrgb(58, 8, 2)
HSLhsl(6, 93%, 12%)
HSVhsv(6, 97%, 23%)
CMYKcmyk(0%, 86.2%, 96.6%, 77.3%)
CIE-LABlab(9.62, 23.88, 14.18)
CIE-LCHlch(9.62, 27.77, 30.71°)
OKLaboklab(23% 0.0669 0.0429)
OKLCHoklch(23% 0.079 32.7)
XYZxyz(1.8429, 1.0779, 0.1684)
Luminance0.0108 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A0802 #02343A
analogous
#3A0218 #3A0802 #3A2402
triadic
#3A0802 #023A08 #08023A
tetradic
#3A0802 #183A02 #02343A #24023A
square
#3A0802 #183A02 #02343A #24023A
split-complementary
#3A0802 #023A24 #02183A
monochromatic
#1E0401 #1E0401 #3A0802 #751004 #B01806

Accessibility & contrast

On white

17.28
#3A0802 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3A0802
17.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A0802#FFFFFF#000000##FFFFFF
##3A08021.0017.281.2217.28
#FFFFFF17.281.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#181401
Deuteranopia (green-blind)
#241F01
Tritanopia (blue-blind)
#410007
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #3a0802;
/* rgb */ color: rgb(58, 8, 2);
/* oklch */ color: oklch(23.0% 0.079 32.7);
Tailwind
colors: {
  custom: {
    50: '#754c47',
    500: '#3a0802',
    950: '#000000',
  },
}
SCSS
$custom: #3a0802;
$custom-light: #754c47;
$custom-dark: #000000;
JSON
{
  "hex": "#3a0802",
  "rgb": {
    "r": 58,
    "g": 8,
    "b": 2
  },
  "hsl": {
    "h": 6.429,
    "s": 93.333,
    "l": 11.765
  },
  "oklch": {
    "l": 0.23004,
    "c": 0.0794,
    "h": 32.7
  },
  "luminance": 0.01078
}

Semantic roles & 50–950 ramp

primary
#3A0802
secondary
#1A737D
accent
#E8FF29
background
#F7F4F4
surface
#EDE7E6
border
#C8C3C2
text
#090100
muted
#7B7777

Preview Lab

Preview with #3A0802

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

Preview Lab → · Contrast checker → · Palette generator →

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