#331F1E#331F1E

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

Color values

HEX#331F1E
RGBrgb(51, 31, 30)
HSLhsl(3, 26%, 16%)
HSVhsv(3, 41%, 20%)
CMYKcmyk(0%, 39.2%, 41.2%, 80%)
CIE-LABlab(14.27, 9.58, 4.67)
CIE-LCHlch(14.27, 10.65, 26.00°)
OKLaboklab(26.46% 0.0291 0.0121)
OKLCHoklch(26.46% 0.032 22.6)
XYZxyz(2.0896, 1.7777, 1.4611)
Luminance0.0178 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#331F1E #1E3233
analogous
#331E27 #331F1E #33291E
triadic
#331F1E #1E331F #1F1E33
tetradic
#331F1E #27331E #1E3233 #291E33
square
#331F1E #27331E #1E3233 #291E33
split-complementary
#331F1E #1E3329 #1E2733
monochromatic
#130C0B #130C0B #331F1E #5A3635 #804E4B

Accessibility & contrast

On white

15.49
#331F1E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#331F1E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #331F1E
15.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##331F1E#FFFFFF#000000##FFFFFF
##331F1E1.0015.491.3615.49
#FFFFFF15.491.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.491.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #331f1e;
/* rgb */ color: rgb(51, 31, 30);
/* oklch */ color: oklch(26.5% 0.032 22.6);
Tailwind
colors: {
  custom: {
    50: '#6b5a59',
    500: '#331f1e',
    950: '#000000',
  },
}
SCSS
$custom: #331f1e;
$custom-light: #6b5a59;
$custom-dark: #000000;
JSON
{
  "hex": "#331f1e",
  "rgb": {
    "r": 51,
    "g": 31,
    "b": 30
  },
  "hsl": {
    "h": 2.857,
    "s": 25.926,
    "l": 15.882
  },
  "oklch": {
    "l": 0.26463,
    "c": 0.0315,
    "h": 22.6
  },
  "luminance": 0.01778
}

Semantic roles & 50–950 ramp

primary
#331F1E
secondary
#476566
accent
#BEC265
background
#F6F5F5
surface
#EBE9E9
border
#C6C5C5
text
#070403
muted
#7A7978

Preview Lab

Preview with #331F1E

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

Preview Lab → · Contrast checker → · Palette generator →

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