#331D1B#331D1B

#331D1B is a dark, muted red. Relative luminance 0.017; OKLCH L 25.9% C 0.035 H 25.4°. Best body text is #FFFFFF at 15.76:1 contrast (WCAG AA passes).

Color values

HEX#331D1B
RGBrgb(51, 29, 27)
HSLhsl(5, 31%, 15%)
HSVhsv(5, 47%, 20%)
CMYKcmyk(0%, 43.1%, 47.1%, 80%)
CIE-LABlab(13.60, 10.50, 5.90)
CIE-LCHlch(13.60, 12.04, 29.31°)
OKLaboklab(25.92% 0.0317 0.0151)
OKLCHoklch(25.92% 0.035 25.4)
XYZxyz(2.0025, 1.6618, 1.2520)
Luminance0.0166 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#331D1B #1B3133
analogous
#331B25 #331D1B #33291B
triadic
#331D1B #1B331D #1D1B33
tetradic
#331D1B #25331B #1B3133 #291B33
square
#331D1B #25331B #1B3133 #291B33
split-complementary
#331D1B #1B3329 #1B2533
monochromatic
#140B0B #140B0B #331D1B #5B3430 #834B45

Accessibility & contrast

On white

15.76
#331D1B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#331D1B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #331D1B
15.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##331D1B#FFFFFF#000000##FFFFFF
##331D1B1.0015.761.3315.76
#FFFFFF15.761.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#22201B
Deuteranopia (green-blind)
#27241B
Tritanopia (blue-blind)
#371A1D
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #331d1b;
/* rgb */ color: rgb(51, 29, 27);
/* oklch */ color: oklch(25.9% 0.035 25.4);
Tailwind
colors: {
  custom: {
    50: '#6c5957',
    500: '#331d1b',
    950: '#000000',
  },
}
SCSS
$custom: #331d1b;
$custom-light: #6c5957;
$custom-dark: #000000;
JSON
{
  "hex": "#331d1b",
  "rgb": {
    "r": 51,
    "g": 29,
    "b": 27
  },
  "hsl": {
    "h": 5,
    "s": 30.769,
    "l": 15.294
  },
  "oklch": {
    "l": 0.25918,
    "c": 0.03514,
    "h": 25.4
  },
  "luminance": 0.01662
}

Semantic roles & 50–950 ramp

primary
#331D1B
secondary
#436467
accent
#BEC761
background
#F6F5F5
surface
#EBE9E9
border
#C6C5C5
text
#070303
muted
#7A7878

Preview Lab

Preview with #331D1B

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

Preview Lab → · Contrast checker → · Palette generator →

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