#331E1C#331E1C

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

Color values

HEX#331E1C
RGBrgb(51, 30, 28)
HSLhsl(5, 29%, 15%)
HSVhsv(5, 45%, 20%)
CMYKcmyk(0%, 41.2%, 45.1%, 80%)
CIE-LABlab(13.92, 9.96, 5.62)
CIE-LCHlch(13.92, 11.44, 29.42°)
OKLaboklab(26.17% 0.0302 0.0144)
OKLCHoklch(26.17% 0.033 25.6)
XYZxyz(2.0392, 1.7163, 1.3223)
Luminance0.0172 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#331E1C #1C3133
analogous
#331C25 #331E1C #33291C
triadic
#331E1C #1C331E #1E1C33
tetradic
#331E1C #25331C #1C3133 #291C33
square
#331E1C #25331C #1C3133 #291C33
split-complementary
#331E1C #1C3329 #1C2533
monochromatic
#140C0B #140C0B #331E1C #5B3532 #824C47

Accessibility & contrast

On white

15.63
#331E1C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #331E1C
15.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##331E1C#FFFFFF#000000##FFFFFF
##331E1C1.0015.631.3415.63
#FFFFFF15.631.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.631.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #331e1c;
/* rgb */ color: rgb(51, 30, 28);
/* oklch */ color: oklch(26.2% 0.033 25.6);
Tailwind
colors: {
  custom: {
    50: '#6c5a58',
    500: '#331e1c',
    950: '#000000',
  },
}
SCSS
$custom: #331e1c;
$custom-light: #6c5a58;
$custom-dark: #000000;
JSON
{
  "hex": "#331e1c",
  "rgb": {
    "r": 51,
    "g": 30,
    "b": 28
  },
  "hsl": {
    "h": 5.217,
    "s": 29.114,
    "l": 15.49
  },
  "oklch": {
    "l": 0.26173,
    "c": 0.03343,
    "h": 25.6
  },
  "luminance": 0.01716
}

Semantic roles & 50–950 ramp

primary
#331E1C
secondary
#446467
accent
#BDC562
background
#F6F5F5
surface
#EBE9E9
border
#C6C5C5
text
#070303
muted
#7A7878

Preview Lab

Preview with #331E1C

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

Preview Lab → · Contrast checker → · Palette generator →

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