#3A0902#3A0902

#3A0902 is a very dark, moderate red. Relative luminance 0.011; OKLCH L 23.1% C 0.078 H 33.4°. Best body text is #FFFFFF at 17.22:1 contrast (WCAG AA passes).

Color values

HEX#3A0902
RGBrgb(58, 9, 2)
HSLhsl(8, 93%, 12%)
HSVhsv(8, 97%, 23%)
CMYKcmyk(0%, 84.5%, 96.6%, 77.3%)
CIE-LABlab(9.79, 23.40, 14.43)
CIE-LCHlch(9.79, 27.49, 31.65°)
OKLaboklab(23.13% 0.0654 0.0432)
OKLCHoklch(23.13% 0.078 33.4)
XYZxyz(1.8538, 1.0996, 0.1721)
Luminance0.0110 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A0902 #02333A
analogous
#3A0217 #3A0902 #3A2502
triadic
#3A0902 #023A09 #09023A
tetradic
#3A0902 #173A02 #02333A #25023A
square
#3A0902 #173A02 #02333A #25023A
split-complementary
#3A0902 #023A25 #02173A
monochromatic
#1E0501 #1E0501 #3A0902 #751204 #B01B06

Accessibility & contrast

On white

17.22
#3A0902 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3A0902
17.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A0902#FFFFFF#000000##FFFFFF
##3A09021.0017.221.2217.22
#FFFFFF17.221.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#181401
Deuteranopia (green-blind)
#241F01
Tritanopia (blue-blind)
#410007
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #3a0902;
/* rgb */ color: rgb(58, 9, 2);
/* oklch */ color: oklch(23.1% 0.078 33.4);
Tailwind
colors: {
  custom: {
    50: '#754c47',
    500: '#3a0902',
    950: '#000000',
  },
}
SCSS
$custom: #3a0902;
$custom-light: #754c47;
$custom-dark: #000000;
JSON
{
  "hex": "#3a0902",
  "rgb": {
    "r": 58,
    "g": 9,
    "b": 2
  },
  "hsl": {
    "h": 7.5,
    "s": 93.333,
    "l": 11.765
  },
  "oklch": {
    "l": 0.23132,
    "c": 0.07835,
    "h": 33.4
  },
  "luminance": 0.01099
}

Semantic roles & 50–950 ramp

primary
#3A0902
secondary
#1A717D
accent
#E4FF29
background
#F7F4F4
surface
#EDE7E6
border
#C8C3C2
text
#090100
muted
#7B7777

Preview Lab

Preview with #3A0902

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

Preview Lab → · Contrast checker → · Palette generator →

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