#331E18#331E18

#331E18 is a dark, muted red. Relative luminance 0.017; OKLCH L 26.1% C 0.035 H 36.7°. Best body text is #FFFFFF at 15.68:1 contrast (WCAG AA passes).

Color values

HEX#331E18
RGBrgb(51, 30, 24)
HSLhsl(13, 36%, 15%)
HSVhsv(13, 53%, 20%)
CMYKcmyk(0%, 41.2%, 52.9%, 80%)
CIE-LABlab(13.82, 9.39, 8.35)
CIE-LCHlch(13.82, 12.56, 41.65°)
OKLaboklab(26.06% 0.0281 0.0209)
OKLCHoklch(26.06% 0.035 36.7)
XYZxyz(1.9945, 1.6985, 1.0868)
Luminance0.0170 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#331E18 #182D33
analogous
#331820 #331E18 #332C18
triadic
#331E18 #18331E #1E1833
tetradic
#331E18 #203318 #182D33 #2C1833
square
#331E18 #203318 #182D33 #2C1833
split-complementary
#331E18 #18332C #182033
monochromatic
#150C0A #150C0A #331E18 #5D362C #864F3F

Accessibility & contrast

On white

15.68
#331E18 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#331E18 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #331E18
15.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##331E18#FFFFFF#000000##FFFFFF
##331E181.0015.681.3415.68
#FFFFFF15.681.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#232118
Deuteranopia (green-blind)
#282518
Tritanopia (blue-blind)
#381B1C
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #331e18;
/* rgb */ color: rgb(51, 30, 24);
/* oklch */ color: oklch(26.1% 0.035 36.7);
Tailwind
colors: {
  custom: {
    50: '#6c5a54',
    500: '#331e18',
    950: '#000000',
  },
}
SCSS
$custom: #331e18;
$custom-light: #6c5a54;
$custom-dark: #000000;
JSON
{
  "hex": "#331e18",
  "rgb": {
    "r": 51,
    "g": 30,
    "b": 24
  },
  "hsl": {
    "h": 13.333,
    "s": 36,
    "l": 14.706
  },
  "oklch": {
    "l": 0.26059,
    "c": 0.03503,
    "h": 36.7
  },
  "luminance": 0.01698
}

Semantic roles & 50–950 ramp

primary
#331E18
secondary
#3E5F68
accent
#B3CC5C
background
#F6F5F4
surface
#EBE9E7
border
#C6C5C3
text
#070302
muted
#7A7878

Preview Lab

Preview with #331E18

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

Preview Lab → · Contrast checker → · Palette generator →

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