#3A0303#3A0303

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

Color values

HEX#3A0303
RGBrgb(58, 3, 3)
HSLhsl(0, 90%, 12%)
HSVhsv(0, 95%, 23%)
CMYKcmyk(0%, 94.8%, 94.8%, 77.3%)
CIE-LABlab(8.75, 26.44, 12.53)
CIE-LCHlch(8.75, 29.26, 25.35°)
OKLaboklab(22.36% 0.0753 0.0395)
OKLCHoklch(22.36% 0.085 27.7)
XYZxyz(1.7942, 0.9715, 0.1792)
Luminance0.0097 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A0303 #033A3A
analogous
#3A031F #3A0303 #3A1F03
triadic
#3A0303 #033A03 #03033A
tetradic
#3A0303 #1F3A03 #033A3A #1F033A
square
#3A0303 #1F3A03 #033A3A #1F033A
split-complementary
#3A0303 #033A1F #031F3A
monochromatic
#1D0202 #1D0202 #3A0303 #740606 #AE0909

Accessibility & contrast

On white

17.58
#3A0303 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.19
#3A0303 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A0303
17.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A0303#FFFFFF#000000##FFFFFF
##3A03031.0017.581.1917.58
#FFFFFF17.581.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#141102
Deuteranopia (green-blind)
#221D01
Tritanopia (blue-blind)
#410004
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #3a0303;
/* rgb */ color: rgb(58, 3, 3);
/* oklch */ color: oklch(22.4% 0.085 27.7);
Tailwind
colors: {
  custom: {
    50: '#754948',
    500: '#3a0303',
    950: '#000000',
  },
}
SCSS
$custom: #3a0303;
$custom-light: #754948;
$custom-dark: #000000;
JSON
{
  "hex": "#3a0303",
  "rgb": {
    "r": 58,
    "g": 3,
    "b": 3
  },
  "hsl": {
    "h": 0,
    "s": 90.164,
    "l": 11.961
  },
  "oklch": {
    "l": 0.22361,
    "c": 0.08499,
    "h": 27.7
  },
  "luminance": 0.00971
}

Semantic roles & 50–950 ramp

primary
#3A0303
secondary
#1C7D7D
accent
#FFFF29
background
#F7F4F4
surface
#EEE7E6
border
#C9C3C2
text
#090100
muted
#7B7777

Preview Lab

Preview with #3A0303

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

Preview Lab → · Contrast checker → · Palette generator →

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