#331E1A#331E1A

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

Color values

HEX#331E1A
RGBrgb(51, 30, 26)
HSLhsl(10, 32%, 15%)
HSVhsv(10, 49%, 20%)
CMYKcmyk(0%, 41.2%, 49%, 80%)
CIE-LABlab(13.87, 9.67, 6.98)
CIE-LCHlch(13.87, 11.92, 35.85°)
OKLaboklab(26.11% 0.0291 0.0177)
OKLCHoklch(26.11% 0.034 31.3)
XYZxyz(2.0161, 1.7071, 1.2004)
Luminance0.0171 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#331E1A #1A2F33
analogous
#331A22 #331E1A #332A1A
triadic
#331E1A #1A331E #1E1A33
tetradic
#331E1A #22331A #1A2F33 #2A1A33
square
#331E1A #22331A #1A2F33 #2A1A33
split-complementary
#331E1A #1A332A #1A2233
monochromatic
#140C0A #140C0A #331E1A #5C362F #844E43

Accessibility & contrast

On white

15.66
#331E1A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #331E1A
15.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##331E1A#FFFFFF#000000##FFFFFF
##331E1A1.0015.661.3415.66
#FFFFFF15.661.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#23211A
Deuteranopia (green-blind)
#28251A
Tritanopia (blue-blind)
#371B1D
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #331e1a;
/* rgb */ color: rgb(51, 30, 26);
/* oklch */ color: oklch(26.1% 0.034 31.3);
Tailwind
colors: {
  custom: {
    50: '#6c5a56',
    500: '#331e1a',
    950: '#000000',
  },
}
SCSS
$custom: #331e1a;
$custom-light: #6c5a56;
$custom-dark: #000000;
JSON
{
  "hex": "#331e1a",
  "rgb": {
    "r": 51,
    "g": 30,
    "b": 26
  },
  "hsl": {
    "h": 9.6,
    "s": 32.468,
    "l": 15.098
  },
  "oklch": {
    "l": 0.26114,
    "c": 0.03409,
    "h": 31.3
  },
  "luminance": 0.01707
}

Semantic roles & 50–950 ramp

primary
#331E1A
secondary
#416168
accent
#B8C95F
background
#F6F5F5
surface
#EBE9E9
border
#C6C5C5
text
#070303
muted
#7A7878

Preview Lab

Preview with #331E1A

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

Preview Lab → · Contrast checker → · Palette generator →

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