#331A17#331A17

#331A17 is a dark, muted red. Relative luminance 0.015; OKLCH L 25.1% C 0.041 H 27.6°. Best body text is #FFFFFF at 16.14:1 contrast (WCAG AA passes).

Color values

HEX#331A17
RGBrgb(51, 26, 23)
HSLhsl(6, 38%, 15%)
HSVhsv(6, 55%, 20%)
CMYKcmyk(0%, 49%, 54.9%, 80%)
CIE-LABlab(12.64, 12.01, 7.47)
CIE-LCHlch(12.64, 14.14, 31.89°)
OKLaboklab(25.14% 0.036 0.0188)
OKLCHoklch(25.14% 0.041 27.6)
XYZxyz(1.8894, 1.5046, 1.0014)
Luminance0.0150 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#331A17 #173033
analogous
#331722 #331A17 #332817
triadic
#331A17 #17331A #1A1733
tetradic
#331A17 #223317 #173033 #281733
square
#331A17 #223317 #173033 #281733
split-complementary
#331A17 #173328 #172233
monochromatic
#150B0A #150B0A #331A17 #5D302A #87453D

Accessibility & contrast

On white

16.14
#331A17 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #331A17
16.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##331A17#FFFFFF#000000##FFFFFF
##331A171.0016.141.3016.14
#FFFFFF16.141.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#201E17
Deuteranopia (green-blind)
#262317
Tritanopia (blue-blind)
#381619
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #331a17;
/* rgb */ color: rgb(51, 26, 23);
/* oklch */ color: oklch(25.1% 0.041 27.6);
Tailwind
colors: {
  custom: {
    50: '#6c5753',
    500: '#331a17',
    950: '#000000',
  },
}
SCSS
$custom: #331a17;
$custom-light: #6c5753;
$custom-dark: #000000;
JSON
{
  "hex": "#331a17",
  "rgb": {
    "r": 51,
    "g": 26,
    "b": 23
  },
  "hsl": {
    "h": 6.429,
    "s": 37.838,
    "l": 14.51
  },
  "oklch": {
    "l": 0.25144,
    "c": 0.04058,
    "h": 27.6
  },
  "luminance": 0.01504
}

Semantic roles & 50–950 ramp

primary
#331A17
secondary
#3D6469
accent
#C1CE5A
background
#F6F5F4
surface
#EBE9E7
border
#C6C5C3
text
#070302
muted
#7A7878

Preview Lab

Preview with #331A17

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

Preview Lab → · Contrast checker → · Palette generator →

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