#331B1D#331B1D

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

Color values

HEX#331B1D
RGBrgb(51, 27, 29)
HSLhsl(355, 31%, 15%)
HSVhsv(355, 47%, 20%)
CMYKcmyk(0%, 47.1%, 43.1%, 80%)
CIE-LABlab(13.09, 12.18, 3.72)
CIE-LCHlch(13.09, 12.74, 16.98°)
OKLaboklab(25.54% 0.0369 0.0097)
OKLCHoklch(25.54% 0.038 14.7)
XYZxyz(1.9790, 1.5765, 1.3622)
Luminance0.0158 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#331B1D #1B3331
analogous
#331B29 #331B1D #33251B
triadic
#331B1D #1D331B #1B1D33
tetradic
#331B1D #29331B #1B3331 #251B33
square
#331B1D #29331B #1B3331 #251B33
split-complementary
#331B1D #1B3325 #1B2933
monochromatic
#140B0B #140B0B #331B1D #5B3034 #83454B

Accessibility & contrast

On white

15.97
#331B1D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #331B1D
15.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##331B1D#FFFFFF#000000##FFFFFF
##331B1D1.0015.971.3215.97
#FFFFFF15.971.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F1F1D
Deuteranopia (green-blind)
#25241D
Tritanopia (blue-blind)
#37181C
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #331b1d;
/* rgb */ color: rgb(51, 27, 29);
/* oklch */ color: oklch(25.5% 0.038 14.7);
Tailwind
colors: {
  custom: {
    50: '#6c5758',
    500: '#331b1d',
    950: '#000000',
  },
}
SCSS
$custom: #331b1d;
$custom-light: #6c5758;
$custom-dark: #000000;
JSON
{
  "hex": "#331b1d",
  "rgb": {
    "r": 51,
    "g": 27,
    "b": 29
  },
  "hsl": {
    "h": 355,
    "s": 30.769,
    "l": 15.294
  },
  "oklch": {
    "l": 0.25542,
    "c": 0.03818,
    "h": 14.7
  },
  "luminance": 0.01576
}

Semantic roles & 50–950 ramp

primary
#331B1D
secondary
#436764
accent
#C7BE61
background
#F6F5F5
surface
#EBE9E9
border
#C6C5C5
text
#070303
muted
#7A7878

Preview Lab

Preview with #331B1D

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

Preview Lab → · Contrast checker → · Palette generator →

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