#331B18#331B18

#331B18 is a dark, muted red. Relative luminance 0.016; OKLCH L 25.4% C 0.039 H 27.7°. Best body text is #FFFFFF at 16.02:1 contrast (WCAG AA passes).

Color values

HEX#331B18
RGBrgb(51, 27, 24)
HSLhsl(7, 36%, 15%)
HSVhsv(7, 53%, 20%)
CMYKcmyk(0%, 47.1%, 52.9%, 80%)
CIE-LABlab(12.95, 11.46, 7.17)
CIE-LCHlch(12.95, 13.51, 32.03°)
OKLaboklab(25.39% 0.0344 0.0181)
OKLCHoklch(25.39% 0.039 27.7)
XYZxyz(1.9221, 1.5538, 1.0627)
Luminance0.0155 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#331B18 #183033
analogous
#331823 #331B18 #332918
triadic
#331B18 #18331B #1B1833
tetradic
#331B18 #233318 #183033 #291833
square
#331B18 #233318 #183033 #291833
split-complementary
#331B18 #183329 #182333
monochromatic
#150B0A #150B0A #331B18 #5D312C #86473F

Accessibility & contrast

On white

16.02
#331B18 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#331B18 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #331B18
16.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##331B18#FFFFFF#000000##FFFFFF
##331B181.0016.021.3116.02
#FFFFFF16.021.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#201E18
Deuteranopia (green-blind)
#262318
Tritanopia (blue-blind)
#38181A
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #331b18;
/* rgb */ color: rgb(51, 27, 24);
/* oklch */ color: oklch(25.4% 0.039 27.7);
Tailwind
colors: {
  custom: {
    50: '#6c5754',
    500: '#331b18',
    950: '#000000',
  },
}
SCSS
$custom: #331b18;
$custom-light: #6c5754;
$custom-dark: #000000;
JSON
{
  "hex": "#331b18",
  "rgb": {
    "r": 51,
    "g": 27,
    "b": 24
  },
  "hsl": {
    "h": 6.667,
    "s": 36,
    "l": 14.706
  },
  "oklch": {
    "l": 0.25388,
    "c": 0.03886,
    "h": 27.7
  },
  "luminance": 0.01554
}

Semantic roles & 50–950 ramp

primary
#331B18
secondary
#3E6468
accent
#C0CC5C
background
#F6F5F4
surface
#EBE9E7
border
#C6C5C3
text
#070302
muted
#7A7878

Preview Lab

Preview with #331B18

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

Preview Lab → · Contrast checker → · Palette generator →

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