#331B1B#331B1B

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

Color values

HEX#331B1B
RGBrgb(51, 27, 27)
HSLhsl(0, 31%, 15%)
HSVhsv(0, 47%, 20%)
CMYKcmyk(0%, 47.1%, 47.1%, 80%)
CIE-LABlab(13.03, 11.88, 5.10)
CIE-LCHlch(13.03, 12.93, 23.22°)
OKLaboklab(25.48% 0.0359 0.0131)
OKLCHoklch(25.48% 0.038 20.1)
XYZxyz(1.9551, 1.5670, 1.2362)
Luminance0.0157 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#331B1B #1B3333
analogous
#331B27 #331B1B #33271B
triadic
#331B1B #1B331B #1B1B33
tetradic
#331B1B #27331B #1B3333 #271B33
square
#331B1B #27331B #1B3333 #271B33
split-complementary
#331B1B #1B3327 #1B2733
monochromatic
#140B0B #140B0B #331B1B #5B3030 #834545

Accessibility & contrast

On white

15.99
#331B1B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #331B1B
15.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##331B1B#FFFFFF#000000##FFFFFF
##331B1B1.0015.991.3115.99
#FFFFFF15.991.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF15.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#201F1B
Deuteranopia (green-blind)
#26231B
Tritanopia (blue-blind)
#37181B
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #331b1b;
/* rgb */ color: rgb(51, 27, 27);
/* oklch */ color: oklch(25.5% 0.038 20.1);
Tailwind
colors: {
  custom: {
    50: '#6c5757',
    500: '#331b1b',
    950: '#000000',
  },
}
SCSS
$custom: #331b1b;
$custom-light: #6c5757;
$custom-dark: #000000;
JSON
{
  "hex": "#331b1b",
  "rgb": {
    "r": 51,
    "g": 27,
    "b": 27
  },
  "hsl": {
    "h": 0,
    "s": 30.769,
    "l": 15.294
  },
  "oklch": {
    "l": 0.25478,
    "c": 0.03824,
    "h": 20.1
  },
  "luminance": 0.01567
}

Semantic roles & 50–950 ramp

primary
#331B1B
secondary
#436767
accent
#C7C761
background
#F6F5F5
surface
#EBE9E9
border
#C6C5C5
text
#070303
muted
#7A7878

Preview Lab

Preview with #331B1B

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

Preview Lab → · Contrast checker → · Palette generator →

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