#331A19#331A19

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

Color values

HEX#331A19
RGBrgb(51, 26, 25)
HSLhsl(2, 34%, 15%)
HSVhsv(2, 51%, 20%)
CMYKcmyk(0%, 49%, 51%, 80%)
CIE-LABlab(12.69, 12.28, 6.09)
CIE-LCHlch(12.69, 13.70, 26.38°)
OKLaboklab(25.2% 0.037 0.0155)
OKLCHoklch(25.2% 0.04 22.7)
XYZxyz(1.9102, 1.5130, 1.1109)
Luminance0.0151 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#331A19 #193233
analogous
#331925 #331A19 #332719
triadic
#331A19 #19331A #1A1933
tetradic
#331A19 #253319 #193233 #271933
square
#331A19 #253319 #193233 #271933
split-complementary
#331A19 #193327 #192533
monochromatic
#150A0A #150A0A #331A19 #5C2F2D #854441

Accessibility & contrast

On white

16.12
#331A19 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#331A19 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #331A19
16.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##331A19#FFFFFF#000000##FFFFFF
##331A191.0016.121.3016.12
#FFFFFF16.121.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F1E19
Deuteranopia (green-blind)
#252319
Tritanopia (blue-blind)
#38171A
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #331a19;
/* rgb */ color: rgb(51, 26, 25);
/* oklch */ color: oklch(25.2% 0.040 22.7);
Tailwind
colors: {
  custom: {
    50: '#6c5755',
    500: '#331a19',
    950: '#000000',
  },
}
SCSS
$custom: #331a19;
$custom-light: #6c5755;
$custom-dark: #000000;
JSON
{
  "hex": "#331a19",
  "rgb": {
    "r": 51,
    "g": 26,
    "b": 25
  },
  "hsl": {
    "h": 2.308,
    "s": 34.211,
    "l": 14.902
  },
  "oklch": {
    "l": 0.25201,
    "c": 0.04011,
    "h": 22.7
  },
  "luminance": 0.01513
}

Semantic roles & 50–950 ramp

primary
#331A19
secondary
#406668
accent
#C6CA5E
background
#F6F5F4
surface
#EBE9E7
border
#C6C5C3
text
#070303
muted
#7A7878

Preview Lab

Preview with #331A19

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

Preview Lab → · Contrast checker → · Palette generator →

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