#331A20#331A20

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

Color values

HEX#331A20
RGBrgb(51, 26, 32)
HSLhsl(346, 32%, 15%)
HSVhsv(346, 49%, 20%)
CMYKcmyk(0%, 49%, 37.3%, 80%)
CIE-LABlab(12.90, 13.35, 1.26)
CIE-LCHlch(12.90, 13.41, 5.40°)
OKLaboklab(25.44% 0.0405 0.0035)
OKLCHoklch(25.44% 0.041 4.9)
XYZxyz(1.9954, 1.5470, 1.5597)
Luminance0.0155 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#331A20 #1A332D
analogous
#331A2C #331A20 #33201A
triadic
#331A20 #20331A #1A2033
tetradic
#331A20 #2C331A #1A332D #201A33
square
#331A20 #2C331A #1A332D #201A33
split-complementary
#331A20 #1A3320 #1A2C33
monochromatic
#140A0D #140A0D #331A20 #5C2F39 #844353

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##331A20#FFFFFF#000000##FFFFFF
##331A201.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)
#1E1F20
Deuteranopia (green-blind)
#24231F
Tritanopia (blue-blind)
#37181C
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #331a20;
/* rgb */ color: rgb(51, 26, 32);
/* oklch */ color: oklch(25.4% 0.041 4.9);
Tailwind
colors: {
  custom: {
    50: '#6c575b',
    500: '#331a20',
    950: '#000000',
  },
}
SCSS
$custom: #331a20;
$custom-light: #6c575b;
$custom-dark: #000000;
JSON
{
  "hex": "#331a20",
  "rgb": {
    "r": 51,
    "g": 26,
    "b": 32
  },
  "hsl": {
    "h": 345.6,
    "s": 32.468,
    "l": 15.098
  },
  "oklch": {
    "l": 0.25435,
    "c": 0.0406,
    "h": 4.9
  },
  "luminance": 0.01547
}

Semantic roles & 50–950 ramp

primary
#331A20
secondary
#41685E
accent
#C9AF5F
background
#F6F5F5
surface
#EBE9E9
border
#C6C5C5
text
#070304
muted
#7A7879

Preview Lab

Preview with #331A20

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

Preview Lab → · Contrast checker → · Palette generator →

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