#331C21#331C21

#331C21 is a dark, muted red. Relative luminance 0.016; OKLCH L 25.9% C 0.037 H 5.9°. Best body text is #FFFFFF at 15.80:1 contrast (WCAG AA passes).

Color values

HEX#331C21
RGBrgb(51, 28, 33)
HSLhsl(347, 29%, 15%)
HSVhsv(347, 45%, 20%)
CMYKcmyk(0%, 45.1%, 35.3%, 80%)
CIE-LABlab(13.50, 12.15, 1.39)
CIE-LCHlch(13.50, 12.23, 6.52°)
OKLaboklab(25.9% 0.0368 0.0038)
OKLCHoklch(25.9% 0.037 5.9)
XYZxyz(2.0551, 1.6443, 1.6477)
Luminance0.0164 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#331C21 #1C332E
analogous
#331C2C #331C21 #33221C
triadic
#331C21 #21331C #1C2133
tetradic
#331C21 #2C331C #1C332E #221C33
square
#331C21 #2C331C #1C332E #221C33
split-complementary
#331C21 #1C3322 #1C2C33
monochromatic
#140B0D #140B0D #331C21 #5B323B #824754

Accessibility & contrast

On white

15.80
#331C21 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#331C21 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #331C21
15.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##331C21#FFFFFF#000000##FFFFFF
##331C211.0015.801.3315.80
#FFFFFF15.801.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#202021
Deuteranopia (green-blind)
#252421
Tritanopia (blue-blind)
#371A1E
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #331c21;
/* rgb */ color: rgb(51, 28, 33);
/* oklch */ color: oklch(25.9% 0.037 5.9);
Tailwind
colors: {
  custom: {
    50: '#6b585c',
    500: '#331c21',
    950: '#000000',
  },
}
SCSS
$custom: #331c21;
$custom-light: #6b585c;
$custom-dark: #000000;
JSON
{
  "hex": "#331c21",
  "rgb": {
    "r": 51,
    "g": 28,
    "b": 33
  },
  "hsl": {
    "h": 346.957,
    "s": 29.114,
    "l": 15.49
  },
  "oklch": {
    "l": 0.25898,
    "c": 0.03699,
    "h": 5.9
  },
  "luminance": 0.01644
}

Semantic roles & 50–950 ramp

primary
#331C21
secondary
#44675F
accent
#C5B062
background
#F6F5F5
surface
#EBE9E9
border
#C6C5C5
text
#070304
muted
#7A7879

Preview Lab

Preview with #331C21

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

Preview Lab → · Contrast checker → · Palette generator →

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