#3A0306#3A0306

#3A0306 is a very dark, moderate red. Relative luminance 0.010; OKLCH L 22.4% C 0.084 H 24.2°. Best body text is #FFFFFF at 17.56:1 contrast (WCAG AA passes).

Color values

HEX#3A0306
RGBrgb(58, 3, 6)
HSLhsl(357, 90%, 12%)
HSVhsv(357, 95%, 23%)
CMYKcmyk(0%, 94.8%, 89.7%, 77.3%)
CIE-LABlab(8.81, 26.61, 11.39)
CIE-LCHlch(8.81, 28.94, 23.17°)
OKLaboklab(22.42% 0.077 0.0346)
OKLCHoklch(22.42% 0.084 24.2)
XYZxyz(1.8106, 0.9781, 0.2657)
Luminance0.0098 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A0306 #033A37
analogous
#3A0322 #3A0306 #3A1C03
triadic
#3A0306 #063A03 #03063A
tetradic
#3A0306 #223A03 #033A37 #1C033A
square
#3A0306 #223A03 #033A37 #1C033A
split-complementary
#3A0306 #033A1C #03223A
monochromatic
#1D0203 #1D0203 #3A0306 #74060C #AE0912

Accessibility & contrast

On white

17.56
#3A0306 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3A0306
17.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A0306#FFFFFF#000000##FFFFFF
##3A03061.0017.561.2017.56
#FFFFFF17.561.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#141106
Deuteranopia (green-blind)
#221D04
Tritanopia (blue-blind)
#410005
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #3a0306;
/* rgb */ color: rgb(58, 3, 6);
/* oklch */ color: oklch(22.4% 0.084 24.2);
Tailwind
colors: {
  custom: {
    50: '#754949',
    500: '#3a0306',
    950: '#000000',
  },
}
SCSS
$custom: #3a0306;
$custom-light: #754949;
$custom-dark: #000000;
JSON
{
  "hex": "#3a0306",
  "rgb": {
    "r": 58,
    "g": 3,
    "b": 6
  },
  "hsl": {
    "h": 356.727,
    "s": 90.164,
    "l": 11.961
  },
  "oklch": {
    "l": 0.2242,
    "c": 0.08442,
    "h": 24.2
  },
  "luminance": 0.00978
}

Semantic roles & 50–950 ramp

primary
#3A0306
secondary
#1C7D77
accent
#FFF329
background
#F7F4F4
surface
#EDE7E6
border
#C8C3C2
text
#090100
muted
#7B7777

Preview Lab

Preview with #3A0306

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

Preview Lab → · Contrast checker → · Palette generator →

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