#331D1E#331D1E

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

Color values

HEX#331D1E
RGBrgb(51, 29, 30)
HSLhsl(357, 28%, 16%)
HSVhsv(357, 43%, 20%)
CMYKcmyk(0%, 43.1%, 41.2%, 80%)
CIE-LABlab(13.69, 10.96, 3.84)
CIE-LCHlch(13.69, 11.62, 19.32°)
OKLaboklab(26.01% 0.0333 0.01)
OKLCHoklch(26.01% 0.035 16.8)
XYZxyz(2.0390, 1.6764, 1.4442)
Luminance0.0168 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#331D1E #1D3332
analogous
#331D29 #331D1E #33271D
triadic
#331D1E #1E331D #1D1E33
tetradic
#331D1E #29331D #1D3332 #271D33
square
#331D1E #29331D #1D3332 #271D33
split-complementary
#331D1E #1D3327 #1D2933
monochromatic
#140B0B #140B0B #331D1E #5A3335 #81494C

Accessibility & contrast

On white

15.73
#331D1E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#331D1E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #331D1E
15.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##331D1E#FFFFFF#000000##FFFFFF
##331D1E1.0015.731.3415.73
#FFFFFF15.731.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#21201E
Deuteranopia (green-blind)
#26251E
Tritanopia (blue-blind)
#371B1D
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #331d1e;
/* rgb */ color: rgb(51, 29, 30);
/* oklch */ color: oklch(26.0% 0.035 16.8);
Tailwind
colors: {
  custom: {
    50: '#6c5959',
    500: '#331d1e',
    950: '#000000',
  },
}
SCSS
$custom: #331d1e;
$custom-light: #6c5959;
$custom-dark: #000000;
JSON
{
  "hex": "#331d1e",
  "rgb": {
    "r": 51,
    "g": 29,
    "b": 30
  },
  "hsl": {
    "h": 357.273,
    "s": 27.5,
    "l": 15.686
  },
  "oklch": {
    "l": 0.26013,
    "c": 0.03474,
    "h": 16.8
  },
  "luminance": 0.01676
}

Semantic roles & 50–950 ramp

primary
#331D1E
secondary
#456665
accent
#C4BF64
background
#F6F5F5
surface
#EBE9E9
border
#C6C5C5
text
#070303
muted
#7A7878

Preview Lab

Preview with #331D1E

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

Preview Lab → · Contrast checker → · Palette generator →

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