#331F1C#331F1C

#331F1C is a dark, muted red. Relative luminance 0.018; OKLCH L 26.4% C 0.032 H 28.8°. Best body text is #FFFFFF at 15.51:1 contrast (WCAG AA passes).

Color values

HEX#331F1C
RGBrgb(51, 31, 28)
HSLhsl(8, 29%, 15%)
HSVhsv(8, 45%, 20%)
CMYKcmyk(0%, 39.2%, 45.1%, 80%)
CIE-LABlab(14.22, 9.26, 6.03)
CIE-LCHlch(14.22, 11.05, 33.06°)
OKLaboklab(26.4% 0.0281 0.0154)
OKLCHoklch(26.4% 0.032 28.8)
XYZxyz(2.0649, 1.7678, 1.3308)
Luminance0.0177 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#331F1C #1C3033
analogous
#331C24 #331F1C #332A1C
triadic
#331F1C #1C331F #1F1C33
tetradic
#331F1C #24331C #1C3033 #2A1C33
square
#331F1C #24331C #1C3033 #2A1C33
split-complementary
#331F1C #1C332A #1C2433
monochromatic
#140C0B #140C0B #331F1C #5B3732 #824F47

Accessibility & contrast

On white

15.51
#331F1C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#331F1C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #331F1C
15.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##331F1C#FFFFFF#000000##FFFFFF
##331F1C1.0015.511.3515.51
#FFFFFF15.511.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#23221C
Deuteranopia (green-blind)
#28261C
Tritanopia (blue-blind)
#371C1E
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #331f1c;
/* rgb */ color: rgb(51, 31, 28);
/* oklch */ color: oklch(26.4% 0.032 28.8);
Tailwind
colors: {
  custom: {
    50: '#6c5a58',
    500: '#331f1c',
    950: '#000000',
  },
}
SCSS
$custom: #331f1c;
$custom-light: #6c5a58;
$custom-dark: #000000;
JSON
{
  "hex": "#331f1c",
  "rgb": {
    "r": 51,
    "g": 31,
    "b": 28
  },
  "hsl": {
    "h": 7.826,
    "s": 29.114,
    "l": 15.49
  },
  "oklch": {
    "l": 0.26401,
    "c": 0.03203,
    "h": 28.8
  },
  "luminance": 0.01768
}

Semantic roles & 50–950 ramp

primary
#331F1C
secondary
#446267
accent
#B8C562
background
#F6F5F5
surface
#EBE9E9
border
#C6C5C5
text
#070403
muted
#7A7978

Preview Lab

Preview with #331F1C

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

Preview Lab → · Contrast checker → · Palette generator →

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