#3A0C02#3A0C02

#3A0C02 is a very dark, moderate red. Relative luminance 0.012; OKLCH L 23.5% C 0.075 H 35.9°. Best body text is #FFFFFF at 17.03:1 contrast (WCAG AA passes).

Color values

HEX#3A0C02
RGBrgb(58, 12, 2)
HSLhsl(11, 93%, 12%)
HSVhsv(11, 97%, 23%)
CMYKcmyk(0%, 79.3%, 96.6%, 77.3%)
CIE-LABlab(10.31, 21.98, 15.16)
CIE-LCHlch(10.31, 26.70, 34.59°)
OKLaboklab(23.52% 0.061 0.0441)
OKLCHoklch(23.52% 0.075 35.9)
XYZxyz(1.8876, 1.1672, 0.1833)
Luminance0.0117 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A0C02 #02303A
analogous
#3A0214 #3A0C02 #3A2802
triadic
#3A0C02 #023A0C #0C023A
tetradic
#3A0C02 #143A02 #02303A #28023A
square
#3A0C02 #143A02 #02303A #28023A
split-complementary
#3A0C02 #023A28 #02143A
monochromatic
#1E0601 #1E0601 #3A0C02 #751804 #B02406

Accessibility & contrast

On white

17.03
#3A0C02 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#3A0C02 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A0C02
17.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A0C02#FFFFFF#000000##FFFFFF
##3A0C021.0017.031.2317.03
#FFFFFF17.031.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A1601
Deuteranopia (green-blind)
#252001
Tritanopia (blue-blind)
#41010A
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #3a0c02;
/* rgb */ color: rgb(58, 12, 2);
/* oklch */ color: oklch(23.5% 0.075 35.9);
Tailwind
colors: {
  custom: {
    50: '#754e47',
    500: '#3a0c02',
    950: '#000000',
  },
}
SCSS
$custom: #3a0c02;
$custom-light: #754e47;
$custom-dark: #000000;
JSON
{
  "hex": "#3a0c02",
  "rgb": {
    "r": 58,
    "g": 12,
    "b": 2
  },
  "hsl": {
    "h": 10.714,
    "s": 93.333,
    "l": 11.765
  },
  "oklch": {
    "l": 0.2352,
    "c": 0.07531,
    "h": 35.9
  },
  "luminance": 0.01167
}

Semantic roles & 50–950 ramp

primary
#3A0C02
secondary
#1A6C7D
accent
#D9FF29
background
#F7F4F4
surface
#EDE7E6
border
#C8C3C2
text
#090200
muted
#7B7877

Preview Lab

Preview with #3A0C02

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

Preview Lab → · Contrast checker → · Palette generator →

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