#3A0503#3A0503

#3A0503 is a very dark, moderate red. Relative luminance 0.010; OKLCH L 22.6% C 0.082 H 29.2°. Best body text is #FFFFFF at 17.46:1 contrast (WCAG AA passes).

Color values

HEX#3A0503
RGBrgb(58, 5, 3)
HSLhsl(2, 90%, 12%)
HSVhsv(2, 95%, 23%)
CMYKcmyk(0%, 91.4%, 94.8%, 77.3%)
CIE-LABlab(9.12, 25.41, 13.05)
CIE-LCHlch(9.12, 28.56, 27.19°)
OKLaboklab(22.63% 0.072 0.0402)
OKLCHoklch(22.63% 0.082 29.2)
XYZxyz(1.8159, 1.0150, 0.1864)
Luminance0.0101 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A0503 #03383A
analogous
#3A031D #3A0503 #3A2103
triadic
#3A0503 #033A05 #05033A
tetradic
#3A0503 #1D3A03 #03383A #21033A
square
#3A0503 #1D3A03 #03383A #21033A
split-complementary
#3A0503 #033A21 #031D3A
monochromatic
#1D0302 #1D0302 #3A0503 #740A06 #AE0F09

Accessibility & contrast

On white

17.46
#3A0503 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#3A0503 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A0503
17.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A0503#FFFFFF#000000##FFFFFF
##3A05031.0017.461.2017.46
#FFFFFF17.461.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#161202
Deuteranopia (green-blind)
#231E01
Tritanopia (blue-blind)
#410005
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #3a0503;
/* rgb */ color: rgb(58, 5, 3);
/* oklch */ color: oklch(22.6% 0.082 29.2);
Tailwind
colors: {
  custom: {
    50: '#754a48',
    500: '#3a0503',
    950: '#000000',
  },
}
SCSS
$custom: #3a0503;
$custom-light: #754a48;
$custom-dark: #000000;
JSON
{
  "hex": "#3a0503",
  "rgb": {
    "r": 58,
    "g": 5,
    "b": 3
  },
  "hsl": {
    "h": 2.182,
    "s": 90.164,
    "l": 11.961
  },
  "oklch": {
    "l": 0.22631,
    "c": 0.08249,
    "h": 29.2
  },
  "luminance": 0.01015
}

Semantic roles & 50–950 ramp

primary
#3A0503
secondary
#1C797D
accent
#F7FF29
background
#F7F4F4
surface
#EDE7E6
border
#C8C3C2
text
#090100
muted
#7B7777

Preview Lab

Preview with #3A0503

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

Preview Lab → · Contrast checker → · Palette generator →

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