#331D1A#331D1A

#331D1A is a dark, muted red. Relative luminance 0.017; OKLCH L 25.9% C 0.035 H 28.2°. Best body text is #FFFFFF at 15.77:1 contrast (WCAG AA passes).

Color values

HEX#331D1A
RGBrgb(51, 29, 26)
HSLhsl(7, 32%, 15%)
HSVhsv(7, 49%, 20%)
CMYKcmyk(0%, 43.1%, 49%, 80%)
CIE-LABlab(13.57, 10.36, 6.58)
CIE-LCHlch(13.57, 12.27, 32.43°)
OKLaboklab(25.89% 0.0312 0.0167)
OKLCHoklch(25.89% 0.035 28.2)
XYZxyz(1.9912, 1.6573, 1.1921)
Luminance0.0166 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#331D1A #1A3033
analogous
#331A23 #331D1A #33291A
triadic
#331D1A #1A331D #1D1A33
tetradic
#331D1A #23331A #1A3033 #291A33
square
#331D1A #23331A #1A3033 #291A33
split-complementary
#331D1A #1A3329 #1A2333
monochromatic
#140C0A #140C0A #331D1A #5C342F #844B43

Accessibility & contrast

On white

15.77
#331D1A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #331D1A
15.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##331D1A#FFFFFF#000000##FFFFFF
##331D1A1.0015.771.3315.77
#FFFFFF15.771.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#22201A
Deuteranopia (green-blind)
#27241A
Tritanopia (blue-blind)
#371A1C
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #331d1a;
/* rgb */ color: rgb(51, 29, 26);
/* oklch */ color: oklch(25.9% 0.035 28.2);
Tailwind
colors: {
  custom: {
    50: '#6c5956',
    500: '#331d1a',
    950: '#000000',
  },
}
SCSS
$custom: #331d1a;
$custom-light: #6c5956;
$custom-dark: #000000;
JSON
{
  "hex": "#331d1a",
  "rgb": {
    "r": 51,
    "g": 29,
    "b": 26
  },
  "hsl": {
    "h": 7.2,
    "s": 32.468,
    "l": 15.098
  },
  "oklch": {
    "l": 0.25888,
    "c": 0.03543,
    "h": 28.2
  },
  "luminance": 0.01657
}

Semantic roles & 50–950 ramp

primary
#331D1A
secondary
#416368
accent
#BCC95F
background
#F6F5F5
surface
#EBE9E9
border
#C6C5C5
text
#070303
muted
#7A7878

Preview Lab

Preview with #331D1A

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

Preview Lab → · Contrast checker → · Palette generator →

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