#3A0702#3A0702

#3A0702 is a very dark, moderate red. Relative luminance 0.011; OKLCH L 22.9% C 0.080 H 31.9°. Best body text is #FFFFFF at 17.34:1 contrast (WCAG AA passes).

Color values

HEX#3A0702
RGBrgb(58, 7, 2)
HSLhsl(5, 93%, 12%)
HSVhsv(5, 97%, 23%)
CMYKcmyk(0%, 87.9%, 96.6%, 77.3%)
CIE-LABlab(9.45, 24.36, 13.94)
CIE-LCHlch(9.45, 28.06, 29.78°)
OKLaboklab(22.88% 0.0683 0.0425)
OKLCHoklch(22.88% 0.08 31.9)
XYZxyz(1.8321, 1.0562, 0.1648)
Luminance0.0106 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A0702 #02353A
analogous
#3A0219 #3A0702 #3A2302
triadic
#3A0702 #023A07 #07023A
tetradic
#3A0702 #193A02 #02353A #23023A
square
#3A0702 #193A02 #02353A #23023A
split-complementary
#3A0702 #023A23 #02193A
monochromatic
#1E0401 #1E0401 #3A0702 #750E04 #B01506

Accessibility & contrast

On white

17.34
#3A0702 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3A0702
17.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A0702#FFFFFF#000000##FFFFFF
##3A07021.0017.341.2117.34
#FFFFFF17.341.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#171301
Deuteranopia (green-blind)
#241E01
Tritanopia (blue-blind)
#410006
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #3a0702;
/* rgb */ color: rgb(58, 7, 2);
/* oklch */ color: oklch(22.9% 0.080 31.9);
Tailwind
colors: {
  custom: {
    50: '#754b47',
    500: '#3a0702',
    950: '#000000',
  },
}
SCSS
$custom: #3a0702;
$custom-light: #754b47;
$custom-dark: #000000;
JSON
{
  "hex": "#3a0702",
  "rgb": {
    "r": 58,
    "g": 7,
    "b": 2
  },
  "hsl": {
    "h": 5.357,
    "s": 93.333,
    "l": 11.765
  },
  "oklch": {
    "l": 0.22875,
    "c": 0.08049,
    "h": 31.9
  },
  "luminance": 0.01056
}

Semantic roles & 50–950 ramp

primary
#3A0702
secondary
#1A757D
accent
#ECFF29
background
#F7F4F4
surface
#EDE7E6
border
#C8C3C2
text
#090100
muted
#7B7777

Preview Lab

Preview with #3A0702

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

Preview Lab → · Contrast checker → · Palette generator →

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