#3A0812#3A0812

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

Color values

HEX#3A0812
RGBrgb(58, 8, 18)
HSLhsl(348, 76%, 13%)
HSVhsv(348, 86%, 23%)
CMYKcmyk(0%, 86.2%, 69%, 77.3%)
CIE-LABlab(9.93, 24.89, 7.32)
CIE-LCHlch(9.93, 25.95, 16.38°)
OKLaboklab(23.33% 0.0748 0.0191)
OKLCHoklch(23.33% 0.077 14.3)
XYZxyz(1.9411, 1.1172, 0.6856)
Luminance0.0112 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A0812 #083A30
analogous
#3A082B #3A0812 #3A1708
triadic
#3A0812 #123A08 #08123A
tetradic
#3A0812 #2B3A08 #083A30 #17083A
square
#3A0812 #2B3A08 #083A30 #17083A
split-complementary
#3A0812 #083A17 #082B3A
monochromatic
#1B0408 #1B0408 #3A0812 #700F23 #A61733

Accessibility & contrast

On white

17.17
#3A0812 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3A0812
17.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A0812#FFFFFF#000000##FFFFFF
##3A08121.0017.171.2217.17
#FFFFFF17.171.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#161512
Deuteranopia (green-blind)
#221F11
Tritanopia (blue-blind)
#40000C
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #3a0812;
/* rgb */ color: rgb(58, 8, 18);
/* oklch */ color: oklch(23.3% 0.077 14.3);
Tailwind
colors: {
  custom: {
    50: '#744c4f',
    500: '#3a0812',
    950: '#000000',
  },
}
SCSS
$custom: #3a0812;
$custom-light: #744c4f;
$custom-dark: #000000;
JSON
{
  "hex": "#3a0812",
  "rgb": {
    "r": 58,
    "g": 8,
    "b": 18
  },
  "hsl": {
    "h": 348,
    "s": 75.758,
    "l": 12.941
  },
  "oklch": {
    "l": 0.23331,
    "c": 0.07724,
    "h": 14.3
  },
  "luminance": 0.01117
}

Semantic roles & 50–950 ramp

primary
#3A0812
secondary
#257968
accent
#F2CD35
background
#F7F4F4
surface
#EDE7E7
border
#C8C3C3
text
#090102
muted
#7B7778

Preview Lab

Preview with #3A0812

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

Preview Lab → · Contrast checker → · Palette generator →

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