#331C18#331C18

#331C18 is a dark, muted red. Relative luminance 0.016; OKLCH L 25.6% C 0.037 H 30.5°. Best body text is #FFFFFF at 15.91:1 contrast (WCAG AA passes).

Color values

HEX#331C18
RGBrgb(51, 28, 24)
HSLhsl(9, 36%, 15%)
HSVhsv(9, 53%, 20%)
CMYKcmyk(0%, 45.1%, 52.9%, 80%)
CIE-LABlab(13.23, 10.77, 7.56)
CIE-LCHlch(13.23, 13.16, 35.05°)
OKLaboklab(25.61% 0.0323 0.019)
OKLCHoklch(25.61% 0.037 30.5)
XYZxyz(1.9455, 1.6004, 1.0704)
Luminance0.0160 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#331C18 #182F33
analogous
#331822 #331C18 #332A18
triadic
#331C18 #18331C #1C1833
tetradic
#331C18 #223318 #182F33 #2A1833
square
#331C18 #223318 #182F33 #2A1833
split-complementary
#331C18 #18332A #182233
monochromatic
#150B0A #150B0A #331C18 #5D332C #864A3F

Accessibility & contrast

On white

15.91
#331C18 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#331C18 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #331C18
15.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##331C18#FFFFFF#000000##FFFFFF
##331C181.0015.911.3215.91
#FFFFFF15.911.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#211F18
Deuteranopia (green-blind)
#272418
Tritanopia (blue-blind)
#38191B
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #331c18;
/* rgb */ color: rgb(51, 28, 24);
/* oklch */ color: oklch(25.6% 0.037 30.5);
Tailwind
colors: {
  custom: {
    50: '#6c5854',
    500: '#331c18',
    950: '#000000',
  },
}
SCSS
$custom: #331c18;
$custom-light: #6c5854;
$custom-dark: #000000;
JSON
{
  "hex": "#331c18",
  "rgb": {
    "r": 51,
    "g": 28,
    "b": 24
  },
  "hsl": {
    "h": 8.889,
    "s": 36,
    "l": 14.706
  },
  "oklch": {
    "l": 0.25608,
    "c": 0.03748,
    "h": 30.5
  },
  "luminance": 0.016
}

Semantic roles & 50–950 ramp

primary
#331C18
secondary
#3E6268
accent
#BBCC5C
background
#F6F5F4
surface
#EBE9E7
border
#C6C5C3
text
#070302
muted
#7A7878

Preview Lab

Preview with #331C18

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

Preview Lab → · Contrast checker → · Palette generator →

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