#331E1D#331E1D

#331E1D is a dark, muted red. Relative luminance 0.017; OKLCH L 26.2% C 0.033 H 22.6°. Best body text is #FFFFFF at 15.62:1 contrast (WCAG AA passes).

Color values

HEX#331E1D
RGBrgb(51, 30, 29)
HSLhsl(3, 28%, 16%)
HSVhsv(3, 43%, 20%)
CMYKcmyk(0%, 41.2%, 43.1%, 80%)
CIE-LABlab(13.95, 10.11, 4.94)
CIE-LCHlch(13.95, 11.26, 26.02°)
OKLaboklab(26.2% 0.0307 0.0127)
OKLCHoklch(26.2% 0.033 22.6)
XYZxyz(2.0514, 1.7212, 1.3863)
Luminance0.0172 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#331E1D #1D3233
analogous
#331D27 #331E1D #33291D
triadic
#331E1D #1D331E #1E1D33
tetradic
#331E1D #27331D #1D3233 #291D33
square
#331E1D #27331D #1D3233 #291D33
split-complementary
#331E1D #1D3329 #1D2733
monochromatic
#140B0B #140B0B #331E1D #5A3533 #814C49

Accessibility & contrast

On white

15.62
#331E1D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #331E1D
15.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##331E1D#FFFFFF#000000##FFFFFF
##331E1D1.0015.621.3415.62
#FFFFFF15.621.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#22211D
Deuteranopia (green-blind)
#27251D
Tritanopia (blue-blind)
#371C1E
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #331e1d;
/* rgb */ color: rgb(51, 30, 29);
/* oklch */ color: oklch(26.2% 0.033 22.6);
Tailwind
colors: {
  custom: {
    50: '#6c5a58',
    500: '#331e1d',
    950: '#000000',
  },
}
SCSS
$custom: #331e1d;
$custom-light: #6c5a58;
$custom-dark: #000000;
JSON
{
  "hex": "#331e1d",
  "rgb": {
    "r": 51,
    "g": 30,
    "b": 29
  },
  "hsl": {
    "h": 2.727,
    "s": 27.5,
    "l": 15.686
  },
  "oklch": {
    "l": 0.26204,
    "c": 0.03321,
    "h": 22.6
  },
  "luminance": 0.01721
}

Semantic roles & 50–950 ramp

primary
#331E1D
secondary
#456566
accent
#BFC464
background
#F6F5F5
surface
#EBE9E9
border
#C6C5C5
text
#070303
muted
#7A7878

Preview Lab

Preview with #331E1D

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

Preview Lab → · Contrast checker → · Palette generator →

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