#331C20#331C20

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

Color values

HEX#331C20
RGBrgb(51, 28, 32)
HSLhsl(350, 29%, 15%)
HSVhsv(350, 45%, 20%)
CMYKcmyk(0%, 45.1%, 37.3%, 80%)
CIE-LABlab(13.46, 11.98, 2.07)
CIE-LCHlch(13.46, 12.16, 9.80°)
OKLaboklab(25.86% 0.0363 0.0055)
OKLCHoklch(25.86% 0.037 8.7)
XYZxyz(2.0413, 1.6387, 1.5750)
Luminance0.0164 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#331C20 #1C332F
analogous
#331C2B #331C20 #33231C
triadic
#331C20 #20331C #1C2033
tetradic
#331C20 #2B331C #1C332F #231C33
square
#331C20 #2B331C #1C332F #231C33
split-complementary
#331C20 #1C3323 #1C2B33
monochromatic
#140B0C #140B0C #331C20 #5B3239 #824752

Accessibility & contrast

On white

15.82
#331C20 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #331C20
15.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##331C20#FFFFFF#000000##FFFFFF
##331C201.0015.821.3315.82
#FFFFFF15.821.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#202020
Deuteranopia (green-blind)
#252420
Tritanopia (blue-blind)
#371A1D
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #331c20;
/* rgb */ color: rgb(51, 28, 32);
/* oklch */ color: oklch(25.9% 0.037 8.7);
Tailwind
colors: {
  custom: {
    50: '#6b585b',
    500: '#331c20',
    950: '#000000',
  },
}
SCSS
$custom: #331c20;
$custom-light: #6b585b;
$custom-dark: #000000;
JSON
{
  "hex": "#331c20",
  "rgb": {
    "r": 51,
    "g": 28,
    "b": 32
  },
  "hsl": {
    "h": 349.565,
    "s": 29.114,
    "l": 15.49
  },
  "oklch": {
    "l": 0.25862,
    "c": 0.03674,
    "h": 8.7
  },
  "luminance": 0.01639
}

Semantic roles & 50–950 ramp

primary
#331C20
secondary
#446761
accent
#C5B462
background
#F6F5F5
surface
#EBE9E9
border
#C6C5C5
text
#070304
muted
#7A7879

Preview Lab

Preview with #331C20

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

Preview Lab → · Contrast checker → · Palette generator →

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