#331E1B#331E1B

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

Color values

HEX#331E1B
RGBrgb(51, 30, 27)
HSLhsl(8, 31%, 15%)
HSVhsv(8, 47%, 20%)
CMYKcmyk(0%, 41.2%, 47.1%, 80%)
CIE-LABlab(13.89, 9.81, 6.30)
CIE-LCHlch(13.89, 11.66, 32.71°)
OKLaboklab(26.14% 0.0296 0.0161)
OKLCHoklch(26.14% 0.034 28.5)
XYZxyz(2.0274, 1.7116, 1.2603)
Luminance0.0171 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#331E1B #1B3033
analogous
#331B24 #331E1B #332A1B
triadic
#331E1B #1B331E #1E1B33
tetradic
#331E1B #24331B #1B3033 #2A1B33
square
#331E1B #24331B #1B3033 #2A1B33
split-complementary
#331E1B #1B332A #1B2433
monochromatic
#140C0B #140C0B #331E1B #5B3630 #834D45

Accessibility & contrast

On white

15.65
#331E1B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #331E1B
15.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##331E1B#FFFFFF#000000##FFFFFF
##331E1B1.0015.651.3415.65
#FFFFFF15.651.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.651.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #331e1b;
/* rgb */ color: rgb(51, 30, 27);
/* oklch */ color: oklch(26.1% 0.034 28.5);
Tailwind
colors: {
  custom: {
    50: '#6c5a57',
    500: '#331e1b',
    950: '#000000',
  },
}
SCSS
$custom: #331e1b;
$custom-light: #6c5a57;
$custom-dark: #000000;
JSON
{
  "hex": "#331e1b",
  "rgb": {
    "r": 51,
    "g": 30,
    "b": 27
  },
  "hsl": {
    "h": 7.5,
    "s": 30.769,
    "l": 15.294
  },
  "oklch": {
    "l": 0.26143,
    "c": 0.03372,
    "h": 28.5
  },
  "luminance": 0.01711
}

Semantic roles & 50–950 ramp

primary
#331E1B
secondary
#436367
accent
#BAC761
background
#F6F5F5
surface
#EBE9E9
border
#C6C5C5
text
#070303
muted
#7A7878

Preview Lab

Preview with #331E1B

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

Preview Lab → · Contrast checker → · Palette generator →

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