#331C1A#331C1A

#331C1A is a dark, muted red. Relative luminance 0.016; OKLCH L 25.7% C 0.037 H 25.3°. Best body text is #FFFFFF at 15.89:1 contrast (WCAG AA passes).

Color values

HEX#331C1A
RGBrgb(51, 28, 26)
HSLhsl(5, 32%, 15%)
HSVhsv(5, 49%, 20%)
CMYKcmyk(0%, 45.1%, 49%, 80%)
CIE-LABlab(13.29, 11.04, 6.18)
CIE-LCHlch(13.29, 12.66, 29.24°)
OKLaboklab(25.67% 0.0333 0.0158)
OKLCHoklch(25.67% 0.037 25.3)
XYZxyz(1.9670, 1.6091, 1.1841)
Luminance0.0161 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#331C1A #1A3133
analogous
#331A24 #331C1A #33281A
triadic
#331C1A #1A331C #1C1A33
tetradic
#331C1A #24331A #1A3133 #281A33
square
#331C1A #24331A #1A3133 #281A33
split-complementary
#331C1A #1A3328 #1A2433
monochromatic
#140B0A #140B0A #331C1A #5C322F #844943

Accessibility & contrast

On white

15.89
#331C1A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#331C1A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #331C1A
15.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##331C1A#FFFFFF#000000##FFFFFF
##331C1A1.0015.891.3215.89
#FFFFFF15.891.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#211F1A
Deuteranopia (green-blind)
#26241A
Tritanopia (blue-blind)
#37191C
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #331c1a;
/* rgb */ color: rgb(51, 28, 26);
/* oklch */ color: oklch(25.7% 0.037 25.3);
Tailwind
colors: {
  custom: {
    50: '#6c5856',
    500: '#331c1a',
    950: '#000000',
  },
}
SCSS
$custom: #331c1a;
$custom-light: #6c5856;
$custom-dark: #000000;
JSON
{
  "hex": "#331c1a",
  "rgb": {
    "r": 51,
    "g": 28,
    "b": 26
  },
  "hsl": {
    "h": 4.8,
    "s": 32.468,
    "l": 15.098
  },
  "oklch": {
    "l": 0.25666,
    "c": 0.03686,
    "h": 25.3
  },
  "luminance": 0.01609
}

Semantic roles & 50–950 ramp

primary
#331C1A
secondary
#416568
accent
#C0C95F
background
#F6F5F5
surface
#EBE9E9
border
#C6C5C5
text
#070303
muted
#7A7878

Preview Lab

Preview with #331C1A

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

Preview Lab → · Contrast checker → · Palette generator →

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