#331A1E#331A1E

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

Color values

HEX#331A1E
RGBrgb(51, 26, 30)
HSLhsl(350, 32%, 15%)
HSVhsv(350, 49%, 20%)
CMYKcmyk(0%, 49%, 41.2%, 80%)
CIE-LABlab(12.84, 13.02, 2.63)
CIE-LCHlch(12.84, 13.29, 11.44°)
OKLaboklab(25.36% 0.0395 0.007)
OKLCHoklch(25.36% 0.04 10)
XYZxyz(1.9691, 1.5365, 1.4209)
Luminance0.0154 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#331A1E #1A332F
analogous
#331A2A #331A1E #33221A
triadic
#331A1E #1E331A #1A1E33
tetradic
#331A1E #2A331A #1A332F #221A33
square
#331A1E #2A331A #1A332F #221A33
split-complementary
#331A1E #1A3322 #1A2A33
monochromatic
#140A0C #140A0C #331A1E #5C2F36 #84434E

Accessibility & contrast

On white

16.06
#331A1E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #331A1E
16.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##331A1E#FFFFFF#000000##FFFFFF
##331A1E1.0016.061.3116.06
#FFFFFF16.061.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.061.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #331a1e;
/* rgb */ color: rgb(51, 26, 30);
/* oklch */ color: oklch(25.4% 0.040 10.0);
Tailwind
colors: {
  custom: {
    50: '#6c5759',
    500: '#331a1e',
    950: '#000000',
  },
}
SCSS
$custom: #331a1e;
$custom-light: #6c5759;
$custom-dark: #000000;
JSON
{
  "hex": "#331a1e",
  "rgb": {
    "r": 51,
    "g": 26,
    "b": 30
  },
  "hsl": {
    "h": 350.4,
    "s": 32.468,
    "l": 15.098
  },
  "oklch": {
    "l": 0.25363,
    "c": 0.0401,
    "h": 10
  },
  "luminance": 0.01536
}

Semantic roles & 50–950 ramp

primary
#331A1E
secondary
#416861
accent
#C9B85F
background
#F6F5F5
surface
#EBE9E9
border
#C6C5C5
text
#070303
muted
#7A7878

Preview Lab

Preview with #331A1E

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

Preview Lab → · Contrast checker → · Palette generator →

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