#331D22#331D22

#331D22 is a dark, muted red. Relative luminance 0.017; OKLCH L 26.2% C 0.035 H 5.0°. Best body text is #FFFFFF at 15.68:1 contrast (WCAG AA passes).

Color values

HEX#331D22
RGBrgb(51, 29, 34)
HSLhsl(346, 28%, 16%)
HSVhsv(346, 43%, 20%)
CMYKcmyk(0%, 43.1%, 33.3%, 80%)
CIE-LABlab(13.82, 11.64, 1.12)
CIE-LCHlch(13.82, 11.69, 5.51°)
OKLaboklab(26.15% 0.0352 0.0031)
OKLCHoklch(26.15% 0.035 5)
XYZxyz(2.0934, 1.6982, 1.7306)
Luminance0.0170 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#331D22 #1D332E
analogous
#331D2D #331D22 #33231D
triadic
#331D22 #22331D #1D2233
tetradic
#331D22 #2D331D #1D332E #231D33
square
#331D22 #2D331D #1D332E #231D33
split-complementary
#331D22 #1D3323 #1D2D33
monochromatic
#140B0D #140B0D #331D22 #5A333C #814956

Accessibility & contrast

On white

15.68
#331D22 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#331D22 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #331D22
15.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##331D22#FFFFFF#000000##FFFFFF
##331D221.0015.681.3415.68
#FFFFFF15.681.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#202122
Deuteranopia (green-blind)
#262522
Tritanopia (blue-blind)
#371B1F
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #331d22;
/* rgb */ color: rgb(51, 29, 34);
/* oklch */ color: oklch(26.2% 0.035 5.0);
Tailwind
colors: {
  custom: {
    50: '#6b595c',
    500: '#331d22',
    950: '#000000',
  },
}
SCSS
$custom: #331d22;
$custom-light: #6b595c;
$custom-dark: #000000;
JSON
{
  "hex": "#331d22",
  "rgb": {
    "r": 51,
    "g": 29,
    "b": 34
  },
  "hsl": {
    "h": 346.364,
    "s": 27.5,
    "l": 15.686
  },
  "oklch": {
    "l": 0.26153,
    "c": 0.03535,
    "h": 5
  },
  "luminance": 0.01698
}

Semantic roles & 50–950 ramp

primary
#331D22
secondary
#45665F
accent
#C4AE64
background
#F6F5F5
surface
#EBE9E9
border
#C6C5C5
text
#070304
muted
#7A7879

Preview Lab

Preview with #331D22

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

Preview Lab → · Contrast checker → · Palette generator →

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