#331A12#331A12

#331A12 is a dark, muted red. Relative luminance 0.015; OKLCH L 25.0% C 0.043 H 38.5°. Best body text is #FFFFFF at 16.19:1 contrast (WCAG AA passes).

Color values

HEX#331A12
RGBrgb(51, 26, 18)
HSLhsl(15, 48%, 14%)
HSVhsv(15, 65%, 20%)
CMYKcmyk(0%, 49%, 64.7%, 80%)
CIE-LABlab(12.52, 11.41, 10.69)
CIE-LCHlch(12.52, 15.64, 43.13°)
OKLaboklab(25.02% 0.0334 0.0266)
OKLCHoklch(25.02% 0.043 38.5)
XYZxyz(1.8439, 1.4864, 0.7620)
Luminance0.0149 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#331A12 #122B33
analogous
#33121A #331A12 #332A12
triadic
#331A12 #12331A #1A1233
tetradic
#331A12 #1A3312 #122B33 #2A1233
square
#331A12 #1A3312 #122B33 #2A1233
split-complementary
#331A12 #12332A #121A33
monochromatic
#170C08 #170C08 #331A12 #603122 #8D4832

Accessibility & contrast

On white

16.19
#331A12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #331A12
16.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##331A12#FFFFFF#000000##FFFFFF
##331A121.0016.191.3016.19
#FFFFFF16.191.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#201D11
Deuteranopia (green-blind)
#262312
Tritanopia (blue-blind)
#381618
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #331a12;
/* rgb */ color: rgb(51, 26, 18);
/* oklch */ color: oklch(25.0% 0.043 38.5);
Tailwind
colors: {
  custom: {
    50: '#6d5650',
    500: '#331a12',
    950: '#000000',
  },
}
SCSS
$custom: #331a12;
$custom-light: #6d5650;
$custom-dark: #000000;
JSON
{
  "hex": "#331a12",
  "rgb": {
    "r": 51,
    "g": 26,
    "b": 18
  },
  "hsl": {
    "h": 14.545,
    "s": 47.826,
    "l": 13.529
  },
  "oklch": {
    "l": 0.25017,
    "c": 0.0427,
    "h": 38.5
  },
  "luminance": 0.01486
}

Semantic roles & 50–950 ramp

primary
#331A12
secondary
#355E6B
accent
#B7D750
background
#F6F5F4
surface
#ECE9E7
border
#C7C5C3
text
#070302
muted
#7A7878

Preview Lab

Preview with #331A12

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

Preview Lab → · Contrast checker → · Palette generator →

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