#331208#331208

#331208 is a very dark, muted red. Relative luminance 0.012; OKLCH L 23.2% C 0.057 H 37.6°. Best body text is #FFFFFF at 17.06:1 contrast (WCAG AA passes).

Color values

HEX#331208
RGBrgb(51, 18, 8)
HSLhsl(14, 73%, 12%)
HSVhsv(14, 84%, 20%)
CMYKcmyk(0%, 64.7%, 84.3%, 80%)
CIE-LABlab(10.22, 15.82, 12.36)
CIE-LCHlch(10.22, 20.08, 38.00°)
OKLaboklab(23.2% 0.0449 0.0346)
OKLCHoklch(23.2% 0.057 37.6)
XYZxyz(1.6255, 1.1542, 0.3669)
Luminance0.0115 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#331208 #082933
analogous
#330814 #331208 #332808
triadic
#331208 #083312 #120833
tetradic
#331208 #143308 #082933 #280833
square
#331208 #143308 #082933 #280833
split-complementary
#331208 #083328 #081433
monochromatic
#1A0904 #1A0904 #331208 #682510 #9D3719

Accessibility & contrast

On white

17.06
#331208 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#331208 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #331208
17.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##331208#FFFFFF#000000##FFFFFF
##3312081.0017.061.2317.06
#FFFFFF17.061.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B1707
Deuteranopia (green-blind)
#231F07
Tritanopia (blue-blind)
#390B10
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #331208;
/* rgb */ color: rgb(51, 18, 8);
/* oklch */ color: oklch(23.2% 0.057 37.6);
Tailwind
colors: {
  custom: {
    50: '#6e514a',
    500: '#331208',
    950: '#000000',
  },
}
SCSS
$custom: #331208;
$custom-light: #6e514a;
$custom-dark: #000000;
JSON
{
  "hex": "#331208",
  "rgb": {
    "r": 51,
    "g": 18,
    "b": 8
  },
  "hsl": {
    "h": 13.953,
    "s": 72.881,
    "l": 11.569
  },
  "oklch": {
    "l": 0.23196,
    "c": 0.05665,
    "h": 37.6
  },
  "luminance": 0.01154
}

Semantic roles & 50–950 ramp

primary
#331208
secondary
#256072
accent
#C5F038
background
#F6F4F4
surface
#ECE7E7
border
#C7C3C3
text
#070201
muted
#7A7877

Preview Lab

Preview with #331208

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

Preview Lab → · Contrast checker → · Palette generator →

#331208 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva