#331E1F#331E1F

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

Color values

HEX#331E1F
RGBrgb(51, 30, 31)
HSLhsl(357, 26%, 16%)
HSVhsv(357, 41%, 20%)
CMYKcmyk(0%, 41.2%, 39.2%, 80%)
CIE-LABlab(14.01, 10.43, 3.57)
CIE-LCHlch(14.01, 11.03, 18.91°)
OKLaboklab(26.27% 0.0317 0.0094)
OKLCHoklch(26.27% 0.033 16.4)
XYZxyz(2.0769, 1.7314, 1.5209)
Luminance0.0173 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#331E1F #1E3332
analogous
#331E29 #331E1F #33271E
triadic
#331E1F #1F331E #1E1F33
tetradic
#331E1F #29331E #1E3332 #271E33
square
#331E1F #29331E #1E3332 #271E33
split-complementary
#331E1F #1E3327 #1E2933
monochromatic
#130B0C #130B0C #331E1F #5A3536 #804B4E

Accessibility & contrast

On white

15.60
#331E1F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#331E1F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #331E1F
15.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##331E1F#FFFFFF#000000##FFFFFF
##331E1F1.0015.601.3515.60
#FFFFFF15.601.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.601.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #331e1f;
/* rgb */ color: rgb(51, 30, 31);
/* oklch */ color: oklch(26.3% 0.033 16.4);
Tailwind
colors: {
  custom: {
    50: '#6b5a5a',
    500: '#331e1f',
    950: '#000000',
  },
}
SCSS
$custom: #331e1f;
$custom-light: #6b5a5a;
$custom-dark: #000000;
JSON
{
  "hex": "#331e1f",
  "rgb": {
    "r": 51,
    "g": 30,
    "b": 31
  },
  "hsl": {
    "h": 357.143,
    "s": 25.926,
    "l": 15.882
  },
  "oklch": {
    "l": 0.26269,
    "c": 0.03302,
    "h": 16.4
  },
  "luminance": 0.01731
}

Semantic roles & 50–950 ramp

primary
#331E1F
secondary
#476665
accent
#C2BE65
background
#F6F5F5
surface
#EBE9E9
border
#C6C5C5
text
#070303
muted
#7A7878

Preview Lab

Preview with #331E1F

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

Preview Lab → · Contrast checker → · Palette generator →

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