#331C1F#331C1F

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

Color values

HEX#331C1F
RGBrgb(51, 28, 31)
HSLhsl(352, 29%, 15%)
HSVhsv(352, 45%, 20%)
CMYKcmyk(0%, 45.1%, 39.2%, 80%)
CIE-LABlab(13.43, 11.81, 2.75)
CIE-LCHlch(13.43, 12.13, 13.11°)
OKLaboklab(25.83% 0.0358 0.0073)
OKLCHoklch(25.83% 0.037 11.5)
XYZxyz(2.0279, 1.6334, 1.5045)
Luminance0.0163 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#331C1F #1C3330
analogous
#331C2A #331C1F #33241C
triadic
#331C1F #1F331C #1C1F33
tetradic
#331C1F #2A331C #1C3330 #241C33
square
#331C1F #2A331C #1C3330 #241C33
split-complementary
#331C1F #1C3324 #1C2A33
monochromatic
#140B0C #140B0C #331C1F #5B3237 #82474F

Accessibility & contrast

On white

15.83
#331C1F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #331C1F
15.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##331C1F#FFFFFF#000000##FFFFFF
##331C1F1.0015.831.3315.83
#FFFFFF15.831.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.831.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #331c1f;
/* rgb */ color: rgb(51, 28, 31);
/* oklch */ color: oklch(25.8% 0.037 11.5);
Tailwind
colors: {
  custom: {
    50: '#6c585a',
    500: '#331c1f',
    950: '#000000',
  },
}
SCSS
$custom: #331c1f;
$custom-light: #6c585a;
$custom-dark: #000000;
JSON
{
  "hex": "#331c1f",
  "rgb": {
    "r": 51,
    "g": 28,
    "b": 31
  },
  "hsl": {
    "h": 352.174,
    "s": 29.114,
    "l": 15.49
  },
  "oklch": {
    "l": 0.25827,
    "c": 0.03656,
    "h": 11.5
  },
  "luminance": 0.01633
}

Semantic roles & 50–950 ramp

primary
#331C1F
secondary
#446762
accent
#C5B862
background
#F6F5F5
surface
#EBE9E9
border
#C6C5C5
text
#070303
muted
#7A7878

Preview Lab

Preview with #331C1F

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

Preview Lab → · Contrast checker → · Palette generator →

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