#331B16#331B16

#331B16 is a dark, muted red. Relative luminance 0.015; OKLCH L 25.3% C 0.040 H 32.6°. Best body text is #FFFFFF at 16.04:1 contrast (WCAG AA passes).

Color values

HEX#331B16
RGBrgb(51, 27, 22)
HSLhsl(10, 40%, 14%)
HSVhsv(10, 57%, 20%)
CMYKcmyk(0%, 47.1%, 56.9%, 80%)
CIE-LABlab(12.90, 11.20, 8.55)
CIE-LCHlch(12.90, 14.08, 37.35°)
OKLaboklab(25.33% 0.0334 0.0213)
OKLCHoklch(25.33% 0.04 32.6)
XYZxyz(1.9021, 1.5458, 0.9571)
Luminance0.0155 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#331B16 #162E33
analogous
#331620 #331B16 #332A16
triadic
#331B16 #16331B #1B1633
tetradic
#331B16 #203316 #162E33 #2A1633
square
#331B16 #203316 #162E33 #2A1633
split-complementary
#331B16 #16332A #162033
monochromatic
#150B09 #150B09 #331B16 #5E3228 #89483B

Accessibility & contrast

On white

16.04
#331B16 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#331B16 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #331B16
16.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##331B16#FFFFFF#000000##FFFFFF
##331B161.0016.041.3116.04
#FFFFFF16.041.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#211E16
Deuteranopia (green-blind)
#262316
Tritanopia (blue-blind)
#38171A
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #331b16;
/* rgb */ color: rgb(51, 27, 22);
/* oklch */ color: oklch(25.3% 0.040 32.6);
Tailwind
colors: {
  custom: {
    50: '#6c5753',
    500: '#331b16',
    950: '#000000',
  },
}
SCSS
$custom: #331b16;
$custom-light: #6c5753;
$custom-dark: #000000;
JSON
{
  "hex": "#331b16",
  "rgb": {
    "r": 51,
    "g": 27,
    "b": 22
  },
  "hsl": {
    "h": 10.345,
    "s": 39.726,
    "l": 14.314
  },
  "oklch": {
    "l": 0.25334,
    "c": 0.03958,
    "h": 32.6
  },
  "luminance": 0.01546
}

Semantic roles & 50–950 ramp

primary
#331B16
secondary
#3B6169
accent
#BBD058
background
#F6F5F4
surface
#EBE9E7
border
#C6C5C3
text
#070302
muted
#7A7878

Preview Lab

Preview with #331B16

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

Preview Lab → · Contrast checker → · Palette generator →

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