#3A131B#3A131B

#3A131B is a dark, moderate red. Relative luminance 0.014; OKLCH L 25.1% C 0.062 H 10.1°. Best body text is #FFFFFF at 16.29:1 contrast (WCAG AA passes).

Color values

HEX#3A131B
RGBrgb(58, 19, 27)
HSLhsl(348, 51%, 15%)
HSVhsv(348, 67%, 23%)
CMYKcmyk(0%, 67.2%, 53.4%, 77.3%)
CIE-LABlab(12.25, 20.19, 4.19)
CIE-LCHlch(12.25, 20.62, 11.72°)
OKLaboklab(25.14% 0.0613 0.0109)
OKLCHoklch(25.14% 0.062 10.1)
XYZxyz(2.1758, 1.4447, 1.2010)
Luminance0.0144 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A131B #133A32
analogous
#3A132F #3A131B #3A1E13
triadic
#3A131B #1B3A13 #131B3A
tetradic
#3A131B #2F3A13 #133A32 #1E133A
square
#3A131B #2F3A13 #133A32 #1E133A
split-complementary
#3A131B #133A1E #132F3A
monochromatic
#17080B #17080B #3A131B #682230 #963146

Accessibility & contrast

On white

16.29
#3A131B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#3A131B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A131B
16.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A131B#FFFFFF#000000##FFFFFF
##3A131B1.0016.291.2916.29
#FFFFFF16.291.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B1B1B
Deuteranopia (green-blind)
#25231A
Tritanopia (blue-blind)
#400E16
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #3a131b;
/* rgb */ color: rgb(58, 19, 27);
/* oklch */ color: oklch(25.1% 0.062 10.1);
Tailwind
colors: {
  custom: {
    50: '#735257',
    500: '#3a131b',
    950: '#000000',
  },
}
SCSS
$custom: #3a131b;
$custom-light: #735257;
$custom-dark: #000000;
JSON
{
  "hex": "#3a131b",
  "rgb": {
    "r": 58,
    "g": 19,
    "b": 27
  },
  "hsl": {
    "h": 347.692,
    "s": 50.649,
    "l": 15.098
  },
  "oklch": {
    "l": 0.25143,
    "c": 0.06222,
    "h": 10.1
  },
  "luminance": 0.01444
}

Semantic roles & 50–950 ramp

primary
#3A131B
secondary
#367266
accent
#DABD4E
background
#F7F4F5
surface
#EDE7E9
border
#C8C3C5
text
#080203
muted
#7B7878

Preview Lab

Preview with #3A131B

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

Preview Lab → · Contrast checker → · Palette generator →

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