#331C1B#331C1B

#331C1B is a dark, muted red. Relative luminance 0.016; OKLCH L 25.7% C 0.037 H 22.6°. Best body text is #FFFFFF at 15.88:1 contrast (WCAG AA passes).

Color values

HEX#331C1B
RGBrgb(51, 28, 27)
HSLhsl(3, 31%, 15%)
HSVhsv(3, 47%, 20%)
CMYKcmyk(0%, 45.1%, 47.1%, 80%)
CIE-LABlab(13.31, 11.19, 5.49)
CIE-LCHlch(13.31, 12.47, 26.15°)
OKLaboklab(25.7% 0.0338 0.0141)
OKLCHoklch(25.7% 0.037 22.6)
XYZxyz(1.9784, 1.6136, 1.2440)
Luminance0.0161 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#331C1B #1B3233
analogous
#331B26 #331C1B #33281B
triadic
#331C1B #1B331C #1C1B33
tetradic
#331C1B #26331B #1B3233 #281B33
square
#331C1B #26331B #1B3233 #281B33
split-complementary
#331C1B #1B3328 #1B2633
monochromatic
#140B0B #140B0B #331C1B #5B3230 #834845

Accessibility & contrast

On white

15.88
#331C1B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #331C1B
15.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##331C1B#FFFFFF#000000##FFFFFF
##331C1B1.0015.881.3215.88
#FFFFFF15.881.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#211F1B
Deuteranopia (green-blind)
#26241B
Tritanopia (blue-blind)
#37191C
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #331c1b;
/* rgb */ color: rgb(51, 28, 27);
/* oklch */ color: oklch(25.7% 0.037 22.6);
Tailwind
colors: {
  custom: {
    50: '#6c5857',
    500: '#331c1b',
    950: '#000000',
  },
}
SCSS
$custom: #331c1b;
$custom-light: #6c5857;
$custom-dark: #000000;
JSON
{
  "hex": "#331c1b",
  "rgb": {
    "r": 51,
    "g": 28,
    "b": 27
  },
  "hsl": {
    "h": 2.5,
    "s": 30.769,
    "l": 15.294
  },
  "oklch": {
    "l": 0.25696,
    "c": 0.03665,
    "h": 22.6
  },
  "luminance": 0.01613
}

Semantic roles & 50–950 ramp

primary
#331C1B
secondary
#436667
accent
#C3C761
background
#F6F5F5
surface
#EBE9E9
border
#C6C5C5
text
#070303
muted
#7A7878

Preview Lab

Preview with #331C1B

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

Preview Lab → · Contrast checker → · Palette generator →

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