#331D1C#331D1C

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

Color values

HEX#331D1C
RGBrgb(51, 29, 28)
HSLhsl(3, 29%, 15%)
HSVhsv(3, 45%, 20%)
CMYKcmyk(0%, 43.1%, 45.1%, 80%)
CIE-LABlab(13.63, 10.65, 5.21)
CIE-LCHlch(13.63, 11.86, 26.07°)
OKLaboklab(25.95% 0.0323 0.0134)
OKLCHoklch(25.95% 0.035 22.6)
XYZxyz(2.0143, 1.6665, 1.3140)
Luminance0.0167 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#331D1C #1C3233
analogous
#331C26 #331D1C #33281C
triadic
#331D1C #1C331D #1D1C33
tetradic
#331D1C #26331C #1C3233 #281C33
square
#331D1C #26331C #1C3233 #281C33
split-complementary
#331D1C #1C3328 #1C2633
monochromatic
#140B0B #140B0B #331D1C #5B3332 #824A47

Accessibility & contrast

On white

15.75
#331D1C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #331D1C
15.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##331D1C#FFFFFF#000000##FFFFFF
##331D1C1.0015.751.3315.75
#FFFFFF15.751.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.751.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #331d1c;
/* rgb */ color: rgb(51, 29, 28);
/* oklch */ color: oklch(25.9% 0.035 22.6);
Tailwind
colors: {
  custom: {
    50: '#6c5957',
    500: '#331d1c',
    950: '#000000',
  },
}
SCSS
$custom: #331d1c;
$custom-light: #6c5957;
$custom-dark: #000000;
JSON
{
  "hex": "#331d1c",
  "rgb": {
    "r": 51,
    "g": 29,
    "b": 28
  },
  "hsl": {
    "h": 2.609,
    "s": 29.114,
    "l": 15.49
  },
  "oklch": {
    "l": 0.25949,
    "c": 0.03493,
    "h": 22.6
  },
  "luminance": 0.01666
}

Semantic roles & 50–950 ramp

primary
#331D1C
secondary
#446567
accent
#C1C562
background
#F6F5F5
surface
#EBE9E9
border
#C6C5C5
text
#070303
muted
#7A7878

Preview Lab

Preview with #331D1C

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

Preview Lab → · Contrast checker → · Palette generator →

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