#331A18#331A18

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

Color values

HEX#331A18
RGBrgb(51, 26, 24)
HSLhsl(4, 36%, 15%)
HSVhsv(4, 53%, 20%)
CMYKcmyk(0%, 49%, 52.9%, 80%)
CIE-LABlab(12.66, 12.14, 6.78)
CIE-LCHlch(12.66, 13.91, 29.18°)
OKLaboklab(25.17% 0.0365 0.0172)
OKLCHoklch(25.17% 0.04 25.2)
XYZxyz(1.8996, 1.5087, 1.0551)
Luminance0.0151 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#331A18 #183133
analogous
#331824 #331A18 #332818
triadic
#331A18 #18331A #1A1833
tetradic
#331A18 #243318 #183133 #281833
square
#331A18 #243318 #183133 #281833
split-complementary
#331A18 #183328 #182433
monochromatic
#150B0A #150B0A #331A18 #5D2F2C #86443F

Accessibility & contrast

On white

16.13
#331A18 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #331A18
16.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##331A18#FFFFFF#000000##FFFFFF
##331A181.0016.131.3016.13
#FFFFFF16.131.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F1E18
Deuteranopia (green-blind)
#262318
Tritanopia (blue-blind)
#38171A
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #331a18;
/* rgb */ color: rgb(51, 26, 24);
/* oklch */ color: oklch(25.2% 0.040 25.2);
Tailwind
colors: {
  custom: {
    50: '#6c5754',
    500: '#331a18',
    950: '#000000',
  },
}
SCSS
$custom: #331a18;
$custom-light: #6c5754;
$custom-dark: #000000;
JSON
{
  "hex": "#331a18",
  "rgb": {
    "r": 51,
    "g": 26,
    "b": 24
  },
  "hsl": {
    "h": 4.444,
    "s": 36,
    "l": 14.706
  },
  "oklch": {
    "l": 0.25172,
    "c": 0.04031,
    "h": 25.2
  },
  "luminance": 0.01509
}

Semantic roles & 50–950 ramp

primary
#331A18
secondary
#3E6568
accent
#C4CC5C
background
#F6F5F4
surface
#EBE9E7
border
#C6C5C3
text
#070302
muted
#7A7878

Preview Lab

Preview with #331A18

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

Preview Lab → · Contrast checker → · Palette generator →

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