#331D21#331D21

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

Color values

HEX#331D21
RGBrgb(51, 29, 33)
HSLhsl(349, 28%, 16%)
HSVhsv(349, 43%, 20%)
CMYKcmyk(0%, 43.1%, 35.3%, 80%)
CIE-LABlab(13.78, 11.46, 1.80)
CIE-LCHlch(13.78, 11.60, 8.93°)
OKLaboklab(26.12% 0.0347 0.0048)
OKLCHoklch(26.12% 0.035 7.9)
XYZxyz(2.0792, 1.6925, 1.6557)
Luminance0.0169 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#331D21 #1D332F
analogous
#331D2C #331D21 #33241D
triadic
#331D21 #21331D #1D2133
tetradic
#331D21 #2C331D #1D332F #241D33
square
#331D21 #2C331D #1D332F #241D33
split-complementary
#331D21 #1D3324 #1D2C33
monochromatic
#140B0D #140B0D #331D21 #5A333A #814953

Accessibility & contrast

On white

15.69
#331D21 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #331D21
15.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##331D21#FFFFFF#000000##FFFFFF
##331D211.0015.691.3415.69
#FFFFFF15.691.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#212121
Deuteranopia (green-blind)
#262521
Tritanopia (blue-blind)
#371B1E
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #331d21;
/* rgb */ color: rgb(51, 29, 33);
/* oklch */ color: oklch(26.1% 0.035 7.9);
Tailwind
colors: {
  custom: {
    50: '#6b595c',
    500: '#331d21',
    950: '#000000',
  },
}
SCSS
$custom: #331d21;
$custom-light: #6b595c;
$custom-dark: #000000;
JSON
{
  "hex": "#331d21",
  "rgb": {
    "r": 51,
    "g": 29,
    "b": 33
  },
  "hsl": {
    "h": 349.091,
    "s": 27.5,
    "l": 15.686
  },
  "oklch": {
    "l": 0.26116,
    "c": 0.03507,
    "h": 7.9
  },
  "luminance": 0.01692
}

Semantic roles & 50–950 ramp

primary
#331D21
secondary
#456660
accent
#C4B264
background
#F6F5F5
surface
#EBE9E9
border
#C6C5C5
text
#070304
muted
#7A7879

Preview Lab

Preview with #331D21

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

Preview Lab → · Contrast checker → · Palette generator →

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