#331C1E#331C1E

#331C1E is a dark, muted red. Relative luminance 0.016; OKLCH L 25.8% C 0.036 H 14.3°. Best body text is #FFFFFF at 15.84:1 contrast (WCAG AA passes).

Color values

HEX#331C1E
RGBrgb(51, 28, 30)
HSLhsl(355, 29%, 15%)
HSVhsv(355, 45%, 20%)
CMYKcmyk(0%, 45.1%, 41.2%, 80%)
CIE-LABlab(13.40, 11.65, 3.44)
CIE-LCHlch(13.40, 12.15, 16.43°)
OKLaboklab(25.79% 0.0353 0.009)
OKLCHoklch(25.79% 0.036 14.3)
XYZxyz(2.0149, 1.6282, 1.4362)
Luminance0.0163 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#331C1E #1C3331
analogous
#331C29 #331C1E #33251C
triadic
#331C1E #1E331C #1C1E33
tetradic
#331C1E #29331C #1C3331 #251C33
square
#331C1E #29331C #1C3331 #251C33
split-complementary
#331C1E #1C3325 #1C2933
monochromatic
#140B0C #140B0C #331C1E #5B3235 #82474C

Accessibility & contrast

On white

15.84
#331C1E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #331C1E
15.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##331C1E#FFFFFF#000000##FFFFFF
##331C1E1.0015.841.3315.84
#FFFFFF15.841.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#20201E
Deuteranopia (green-blind)
#26241E
Tritanopia (blue-blind)
#371A1D
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #331c1e;
/* rgb */ color: rgb(51, 28, 30);
/* oklch */ color: oklch(25.8% 0.036 14.3);
Tailwind
colors: {
  custom: {
    50: '#6c5859',
    500: '#331c1e',
    950: '#000000',
  },
}
SCSS
$custom: #331c1e;
$custom-light: #6c5859;
$custom-dark: #000000;
JSON
{
  "hex": "#331c1e",
  "rgb": {
    "r": 51,
    "g": 28,
    "b": 30
  },
  "hsl": {
    "h": 354.783,
    "s": 29.114,
    "l": 15.49
  },
  "oklch": {
    "l": 0.25793,
    "c": 0.03647,
    "h": 14.3
  },
  "luminance": 0.01628
}

Semantic roles & 50–950 ramp

primary
#331C1E
secondary
#446764
accent
#C5BD62
background
#F6F5F5
surface
#EBE9E9
border
#C6C5C5
text
#070303
muted
#7A7878

Preview Lab

Preview with #331C1E

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

Preview Lab → · Contrast checker → · Palette generator →

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