#331A1D#331A1D

#331A1D is a dark, muted red. Relative luminance 0.015; OKLCH L 25.3% C 0.040 H 12.6°. Best body text is #FFFFFF at 16.08:1 contrast (WCAG AA passes).

Color values

HEX#331A1D
RGBrgb(51, 26, 29)
HSLhsl(353, 32%, 15%)
HSVhsv(353, 49%, 20%)
CMYKcmyk(0%, 49%, 43.1%, 80%)
CIE-LABlab(12.81, 12.86, 3.32)
CIE-LCHlch(12.81, 13.29, 14.49°)
OKLaboklab(25.33% 0.039 0.0087)
OKLCHoklch(25.33% 0.04 12.6)
XYZxyz(1.9565, 1.5315, 1.3547)
Luminance0.0153 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#331A1D #1A3330
analogous
#331A29 #331A1D #33231A
triadic
#331A1D #1D331A #1A1D33
tetradic
#331A1D #29331A #1A3330 #231A33
square
#331A1D #29331A #1A3330 #231A33
split-complementary
#331A1D #1A3323 #1A2933
monochromatic
#140A0C #140A0C #331A1D #5C2F34 #84434B

Accessibility & contrast

On white

16.08
#331A1D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#331A1D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #331A1D
16.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##331A1D#FFFFFF#000000##FFFFFF
##331A1D1.0016.081.3116.08
#FFFFFF16.081.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F1E1D
Deuteranopia (green-blind)
#25231D
Tritanopia (blue-blind)
#37171B
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #331a1d;
/* rgb */ color: rgb(51, 26, 29);
/* oklch */ color: oklch(25.3% 0.040 12.6);
Tailwind
colors: {
  custom: {
    50: '#6c5758',
    500: '#331a1d',
    950: '#000000',
  },
}
SCSS
$custom: #331a1d;
$custom-light: #6c5758;
$custom-dark: #000000;
JSON
{
  "hex": "#331a1d",
  "rgb": {
    "r": 51,
    "g": 26,
    "b": 29
  },
  "hsl": {
    "h": 352.8,
    "s": 32.468,
    "l": 15.098
  },
  "oklch": {
    "l": 0.25328,
    "c": 0.03996,
    "h": 12.6
  },
  "luminance": 0.01531
}

Semantic roles & 50–950 ramp

primary
#331A1D
secondary
#416863
accent
#C9BC5F
background
#F6F5F5
surface
#EBE9E9
border
#C6C5C5
text
#070303
muted
#7A7878

Preview Lab

Preview with #331A1D

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

Preview Lab → · Contrast checker → · Palette generator →

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