#331F1D#331F1D

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

Color values

HEX#331F1D
RGBrgb(51, 31, 29)
HSLhsl(5, 28%, 16%)
HSVhsv(5, 43%, 20%)
CMYKcmyk(0%, 39.2%, 43.1%, 80%)
CIE-LABlab(14.25, 9.42, 5.35)
CIE-LCHlch(14.25, 10.83, 29.59°)
OKLaboklab(26.43% 0.0286 0.0138)
OKLCHoklch(26.43% 0.032 25.7)
XYZxyz(2.0771, 1.7726, 1.3949)
Luminance0.0177 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#331F1D #1D3133
analogous
#331D26 #331F1D #332A1D
triadic
#331F1D #1D331F #1F1D33
tetradic
#331F1D #26331D #1D3133 #2A1D33
square
#331F1D #26331D #1D3133 #2A1D33
split-complementary
#331F1D #1D332A #1D2633
monochromatic
#140C0B #140C0B #331F1D #5A3733 #814E49

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##331F1D#FFFFFF#000000##FFFFFF
##331F1D1.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)
#23221D
Deuteranopia (green-blind)
#28261D
Tritanopia (blue-blind)
#371D1F
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #331f1d;
/* rgb */ color: rgb(51, 31, 29);
/* oklch */ color: oklch(26.4% 0.032 25.7);
Tailwind
colors: {
  custom: {
    50: '#6b5a58',
    500: '#331f1d',
    950: '#000000',
  },
}
SCSS
$custom: #331f1d;
$custom-light: #6b5a58;
$custom-dark: #000000;
JSON
{
  "hex": "#331f1d",
  "rgb": {
    "r": 51,
    "g": 31,
    "b": 29
  },
  "hsl": {
    "h": 5.455,
    "s": 27.5,
    "l": 15.686
  },
  "oklch": {
    "l": 0.26432,
    "c": 0.03172,
    "h": 25.7
  },
  "luminance": 0.01772
}

Semantic roles & 50–950 ramp

primary
#331F1D
secondary
#456366
accent
#BBC464
background
#F6F5F5
surface
#EBE9E9
border
#C6C5C5
text
#070403
muted
#7A7978

Preview Lab

Preview with #331F1D

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

Preview Lab → · Contrast checker → · Palette generator →

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