#331107#331107

#331107 is a very dark, muted red. Relative luminance 0.011; OKLCH L 23.0% C 0.058 H 37.4°. Best body text is #FFFFFF at 17.16:1 contrast (WCAG AA passes).

Color values

HEX#331107
RGBrgb(51, 17, 7)
HSLhsl(14, 76%, 11%)
HSVhsv(14, 86%, 20%)
CMYKcmyk(0%, 66.7%, 86.3%, 80%)
CIE-LABlab(9.96, 16.38, 12.41)
CIE-LCHlch(9.96, 20.55, 37.15°)
OKLaboklab(22.99% 0.0463 0.0354)
OKLCHoklch(22.99% 0.058 37.4)
XYZxyz(1.6042, 1.1203, 0.3327)
Luminance0.0112 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#331107 #072933
analogous
#330713 #331107 #332707
triadic
#331107 #073311 #110733
tetradic
#331107 #133307 #072933 #270733
square
#331107 #133307 #072933 #270733
split-complementary
#331107 #073327 #071333
monochromatic
#1B0904 #1B0904 #331107 #69230E #9F3516

Accessibility & contrast

On white

17.16
#331107 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#331107 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #331107
17.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##331107#FFFFFF#000000##FFFFFF
##3311071.0017.161.2217.16
#FFFFFF17.161.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A1706
Deuteranopia (green-blind)
#231E06
Tritanopia (blue-blind)
#390A0F
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #331107;
/* rgb */ color: rgb(51, 17, 7);
/* oklch */ color: oklch(23.0% 0.058 37.4);
Tailwind
colors: {
  custom: {
    50: '#6e504a',
    500: '#331107',
    950: '#000000',
  },
}
SCSS
$custom: #331107;
$custom-light: #6e504a;
$custom-dark: #000000;
JSON
{
  "hex": "#331107",
  "rgb": {
    "r": 51,
    "g": 17,
    "b": 7
  },
  "hsl": {
    "h": 13.636,
    "s": 75.862,
    "l": 11.373
  },
  "oklch": {
    "l": 0.22994,
    "c": 0.05827,
    "h": 37.4
  },
  "luminance": 0.0112
}

Semantic roles & 50–950 ramp

primary
#331107
secondary
#236173
accent
#C7F235
background
#F6F4F4
surface
#ECE7E7
border
#C7C3C3
text
#070201
muted
#7A7877

Preview Lab

Preview with #331107

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

Preview Lab → · Contrast checker → · Palette generator →

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