#331D19#331D19

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

Color values

HEX#331D19
RGBrgb(51, 29, 25)
HSLhsl(9, 34%, 15%)
HSVhsv(9, 51%, 20%)
CMYKcmyk(0%, 43.1%, 51%, 80%)
CIE-LABlab(13.55, 10.22, 7.27)
CIE-LCHlch(13.55, 12.54, 35.42°)
OKLaboklab(25.86% 0.0307 0.0184)
OKLCHoklch(25.86% 0.036 30.9)
XYZxyz(1.9802, 1.6529, 1.1343)
Luminance0.0165 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#331D19 #192F33
analogous
#331922 #331D19 #332A19
triadic
#331D19 #19331D #1D1933
tetradic
#331D19 #223319 #192F33 #2A1933
square
#331D19 #223319 #192F33 #2A1933
split-complementary
#331D19 #19332A #192233
monochromatic
#150C0A #150C0A #331D19 #5C342D #854C41

Accessibility & contrast

On white

15.78
#331D19 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #331D19
15.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##331D19#FFFFFF#000000##FFFFFF
##331D191.0015.781.3315.78
#FFFFFF15.781.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#222019
Deuteranopia (green-blind)
#272419
Tritanopia (blue-blind)
#381A1C
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #331d19;
/* rgb */ color: rgb(51, 29, 25);
/* oklch */ color: oklch(25.9% 0.036 30.9);
Tailwind
colors: {
  custom: {
    50: '#6c5955',
    500: '#331d19',
    950: '#000000',
  },
}
SCSS
$custom: #331d19;
$custom-light: #6c5955;
$custom-dark: #000000;
JSON
{
  "hex": "#331d19",
  "rgb": {
    "r": 51,
    "g": 29,
    "b": 25
  },
  "hsl": {
    "h": 9.231,
    "s": 34.211,
    "l": 14.902
  },
  "oklch": {
    "l": 0.2586,
    "c": 0.03578,
    "h": 30.9
  },
  "luminance": 0.01653
}

Semantic roles & 50–950 ramp

primary
#331D19
secondary
#406268
accent
#BACA5E
background
#F6F5F4
surface
#EBE9E8
border
#C6C5C4
text
#070303
muted
#7A7878

Preview Lab

Preview with #331D19

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

Preview Lab → · Contrast checker → · Palette generator →

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