#3A151B#3A151B

#3A151B is a dark, muted red. Relative luminance 0.015; OKLCH L 25.5% C 0.059 H 12.2°. Best body text is #FFFFFF at 16.12:1 contrast (WCAG AA passes).

Color values

HEX#3A151B
RGBrgb(58, 21, 27)
HSLhsl(350, 47%, 15%)
HSVhsv(350, 64%, 23%)
CMYKcmyk(0%, 63.8%, 53.4%, 77.3%)
CIE-LABlab(12.70, 19.01, 4.83)
CIE-LCHlch(12.70, 19.61, 14.25°)
OKLaboklab(25.48% 0.0575 0.0124)
OKLCHoklch(25.48% 0.059 12.2)
XYZxyz(2.2111, 1.5152, 1.2127)
Luminance0.0152 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A151B #153A34
analogous
#3A152D #3A151B #3A2115
triadic
#3A151B #1B3A15 #151B3A
tetradic
#3A151B #2D3A15 #153A34 #21153A
square
#3A151B #2D3A15 #153A34 #21153A
split-complementary
#3A151B #153A21 #152D3A
monochromatic
#16080A #16080A #3A151B #672530 #943645

Accessibility & contrast

On white

16.12
#3A151B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#3A151B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A151B
16.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A151B#FFFFFF#000000##FFFFFF
##3A151B1.0016.121.3016.12
#FFFFFF16.121.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D1C1B
Deuteranopia (green-blind)
#26241A
Tritanopia (blue-blind)
#401017
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #3a151b;
/* rgb */ color: rgb(58, 21, 27);
/* oklch */ color: oklch(25.5% 0.059 12.2);
Tailwind
colors: {
  custom: {
    50: '#735457',
    500: '#3a151b',
    950: '#000000',
  },
}
SCSS
$custom: #3a151b;
$custom-light: #735457;
$custom-dark: #000000;
JSON
{
  "hex": "#3a151b",
  "rgb": {
    "r": 58,
    "g": 21,
    "b": 27
  },
  "hsl": {
    "h": 350.27,
    "s": 46.835,
    "l": 15.49
  },
  "oklch": {
    "l": 0.25484,
    "c": 0.05886,
    "h": 12.2
  },
  "luminance": 0.01515
}

Semantic roles & 50–950 ramp

primary
#3A151B
secondary
#397168
accent
#D6C151
background
#F7F4F5
surface
#EDE7E9
border
#C8C3C5
text
#080203
muted
#7B7878

Preview Lab

Preview with #3A151B

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

Preview Lab → · Contrast checker → · Palette generator →

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