#3A050C#3A050C

#3A050C is a very dark, moderate red. Relative luminance 0.010; OKLCH L 22.8% C 0.081 H 19.4°. Best body text is #FFFFFF at 17.40:1 contrast (WCAG AA passes).

Color values

HEX#3A050C
RGBrgb(58, 5, 12)
HSLhsl(352, 84%, 12%)
HSVhsv(352, 91%, 23%)
CMYKcmyk(0%, 91.4%, 79.3%, 77.3%)
CIE-LABlab(9.28, 25.92, 9.57)
CIE-LCHlch(9.28, 27.63, 20.27°)
OKLaboklab(22.8% 0.0766 0.0269)
OKLCHoklch(22.8% 0.081 19.4)
XYZxyz(1.8658, 1.0349, 0.4493)
Luminance0.0103 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A050C #053A33
analogous
#3A0527 #3A050C #3A1805
triadic
#3A050C #0C3A05 #050C3A
tetradic
#3A050C #273A05 #053A33 #18053A
square
#3A050C #273A05 #053A33 #18053A
split-complementary
#3A050C #053A18 #05273A
monochromatic
#1C0206 #1C0206 #3A050C #720A18 #AB0F23

Accessibility & contrast

On white

17.40
#3A050C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3A050C
17.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A050C#FFFFFF#000000##FFFFFF
##3A050C1.0017.401.2117.40
#FFFFFF17.401.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#15130C
Deuteranopia (green-blind)
#221E0A
Tritanopia (blue-blind)
#410008
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #3a050c;
/* rgb */ color: rgb(58, 5, 12);
/* oklch */ color: oklch(22.8% 0.081 19.4);
Tailwind
colors: {
  custom: {
    50: '#754b4c',
    500: '#3a050c',
    950: '#000000',
  },
}
SCSS
$custom: #3a050c;
$custom-light: #754b4c;
$custom-dark: #000000;
JSON
{
  "hex": "#3a050c",
  "rgb": {
    "r": 58,
    "g": 5,
    "b": 12
  },
  "hsl": {
    "h": 352.075,
    "s": 84.127,
    "l": 12.353
  },
  "oklch": {
    "l": 0.22804,
    "c": 0.08121,
    "h": 19.4
  },
  "luminance": 0.01035
}

Semantic roles & 50–950 ramp

primary
#3A050C
secondary
#207B6F
accent
#FADF2D
background
#F7F4F4
surface
#EDE7E7
border
#C8C3C3
text
#090101
muted
#7B7777

Preview Lab

Preview with #3A050C

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

Preview Lab → · Contrast checker → · Palette generator →

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