#331B1E#331B1E

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

Color values

HEX#331B1E
RGBrgb(51, 27, 30)
HSLhsl(353, 31%, 15%)
HSVhsv(353, 47%, 20%)
CMYKcmyk(0%, 47.1%, 41.2%, 80%)
CIE-LABlab(13.12, 12.34, 3.03)
CIE-LCHlch(13.12, 12.71, 13.81°)
OKLaboklab(25.58% 0.0374 0.008)
OKLCHoklch(25.58% 0.038 12)
XYZxyz(1.9916, 1.5816, 1.4284)
Luminance0.0158 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#331B1E #1B3330
analogous
#331B2A #331B1E #33241B
triadic
#331B1E #1E331B #1B1E33
tetradic
#331B1E #2A331B #1B3330 #241B33
square
#331B1E #2A331B #1B3330 #241B33
split-complementary
#331B1E #1B3324 #1B2A33
monochromatic
#140B0C #140B0C #331B1E #5B3036 #83454D

Accessibility & contrast

On white

15.96
#331B1E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #331B1E
15.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##331B1E#FFFFFF#000000##FFFFFF
##331B1E1.0015.961.3215.96
#FFFFFF15.961.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F1F1E
Deuteranopia (green-blind)
#25241E
Tritanopia (blue-blind)
#37191C
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #331b1e;
/* rgb */ color: rgb(51, 27, 30);
/* oklch */ color: oklch(25.6% 0.038 12.0);
Tailwind
colors: {
  custom: {
    50: '#6c5759',
    500: '#331b1e',
    950: '#000000',
  },
}
SCSS
$custom: #331b1e;
$custom-light: #6c5759;
$custom-dark: #000000;
JSON
{
  "hex": "#331b1e",
  "rgb": {
    "r": 51,
    "g": 27,
    "b": 30
  },
  "hsl": {
    "h": 352.5,
    "s": 30.769,
    "l": 15.294
  },
  "oklch": {
    "l": 0.25576,
    "c": 0.03825,
    "h": 12
  },
  "luminance": 0.01581
}

Semantic roles & 50–950 ramp

primary
#331B1E
secondary
#436763
accent
#C7BA61
background
#F6F5F5
surface
#EBE9E9
border
#C6C5C5
text
#070303
muted
#7A7878

Preview Lab

Preview with #331B1E

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

Preview Lab → · Contrast checker → · Palette generator →

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