#331B15#331B15

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

Color values

HEX#331B15
RGBrgb(51, 27, 21)
HSLhsl(12, 42%, 14%)
HSVhsv(12, 59%, 20%)
CMYKcmyk(0%, 47.1%, 58.8%, 80%)
CIE-LABlab(12.87, 11.07, 9.22)
CIE-LCHlch(12.87, 14.41, 39.78°)
OKLaboklab(25.31% 0.0329 0.0229)
OKLCHoklch(25.31% 0.04 34.8)
XYZxyz(1.8926, 1.5420, 0.9073)
Luminance0.0154 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#331B15 #152D33
analogous
#33151E #331B15 #332A15
triadic
#331B15 #15331B #1B1533
tetradic
#331B15 #1E3315 #152D33 #2A1533
square
#331B15 #1E3315 #152D33 #2A1533
split-complementary
#331B15 #15332A #151E33
monochromatic
#160B09 #160B09 #331B15 #5E3227 #8A4939

Accessibility & contrast

On white

16.05
#331B15 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #331B15
16.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##331B15#FFFFFF#000000##FFFFFF
##331B151.0016.051.3116.05
#FFFFFF16.051.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#211E14
Deuteranopia (green-blind)
#272315
Tritanopia (blue-blind)
#381719
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #331b15;
/* rgb */ color: rgb(51, 27, 21);
/* oklch */ color: oklch(25.3% 0.040 34.8);
Tailwind
colors: {
  custom: {
    50: '#6c5752',
    500: '#331b15',
    950: '#000000',
  },
}
SCSS
$custom: #331b15;
$custom-light: #6c5752;
$custom-dark: #000000;
JSON
{
  "hex": "#331b15",
  "rgb": {
    "r": 51,
    "g": 27,
    "b": 21
  },
  "hsl": {
    "h": 12,
    "s": 41.667,
    "l": 14.118
  },
  "oklch": {
    "l": 0.25308,
    "c": 0.04003,
    "h": 34.8
  },
  "luminance": 0.01542
}

Semantic roles & 50–950 ramp

primary
#331B15
secondary
#3A606A
accent
#B9D156
background
#F6F5F4
surface
#EBE9E7
border
#C6C5C3
text
#070302
muted
#7A7878

Preview Lab

Preview with #331B15

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

Preview Lab → · Contrast checker → · Palette generator →

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