#331A16#331A16

#331A16 is a dark, muted red. Relative luminance 0.015; OKLCH L 25.1% C 0.041 H 29.9°. Best body text is #FFFFFF at 16.15:1 contrast (WCAG AA passes).

Color values

HEX#331A16
RGBrgb(51, 26, 22)
HSLhsl(8, 40%, 14%)
HSVhsv(8, 57%, 20%)
CMYKcmyk(0%, 49%, 56.9%, 80%)
CIE-LABlab(12.61, 11.88, 8.16)
CIE-LCHlch(12.61, 14.42, 34.49°)
OKLaboklab(25.12% 0.0355 0.0204)
OKLCHoklch(25.12% 0.041 29.9)
XYZxyz(1.8796, 1.5007, 0.9496)
Luminance0.0150 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#331A16 #162F33
analogous
#331621 #331A16 #332916
triadic
#331A16 #16331A #1A1633
tetradic
#331A16 #213316 #162F33 #291633
square
#331A16 #213316 #162F33 #291633
split-complementary
#331A16 #163329 #162133
monochromatic
#150B09 #150B09 #331A16 #5E3028 #89463B

Accessibility & contrast

On white

16.15
#331A16 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#331A16 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #331A16
16.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##331A16#FFFFFF#000000##FFFFFF
##331A161.0016.151.3016.15
#FFFFFF16.151.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#201E16
Deuteranopia (green-blind)
#262316
Tritanopia (blue-blind)
#381619
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #331a16;
/* rgb */ color: rgb(51, 26, 22);
/* oklch */ color: oklch(25.1% 0.041 29.9);
Tailwind
colors: {
  custom: {
    50: '#6c5653',
    500: '#331a16',
    950: '#000000',
  },
}
SCSS
$custom: #331a16;
$custom-light: #6c5653;
$custom-dark: #000000;
JSON
{
  "hex": "#331a16",
  "rgb": {
    "r": 51,
    "g": 26,
    "b": 22
  },
  "hsl": {
    "h": 8.276,
    "s": 39.726,
    "l": 14.314
  },
  "oklch": {
    "l": 0.25116,
    "c": 0.0409,
    "h": 29.9
  },
  "luminance": 0.01501
}

Semantic roles & 50–950 ramp

primary
#331A16
secondary
#3B6369
accent
#BFD058
background
#F6F5F4
surface
#EBE9E7
border
#C6C5C3
text
#070302
muted
#7A7878

Preview Lab

Preview with #331A16

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

Preview Lab → · Contrast checker → · Palette generator →

#331A16 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva