#331F1A#331F1A

#331F1A is a dark, muted red. Relative luminance 0.018; OKLCH L 26.3% C 0.033 H 34.7°. Best body text is #FFFFFF at 15.54:1 contrast (WCAG AA passes).

Color values

HEX#331F1A
RGBrgb(51, 31, 26)
HSLhsl(12, 32%, 15%)
HSVhsv(12, 49%, 20%)
CMYKcmyk(0%, 39.2%, 49%, 80%)
CIE-LABlab(14.17, 8.97, 7.39)
CIE-LCHlch(14.17, 11.62, 39.48°)
OKLaboklab(26.34% 0.027 0.0187)
OKLCHoklch(26.34% 0.033 34.7)
XYZxyz(2.0418, 1.7585, 1.2090)
Luminance0.0176 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#331F1A #1A2E33
analogous
#331A21 #331F1A #332B1A
triadic
#331F1A #1A331F #1F1A33
tetradic
#331F1A #21331A #1A2E33 #2B1A33
square
#331F1A #21331A #1A2E33 #2B1A33
split-complementary
#331F1A #1A332B #1A2133
monochromatic
#140C0A #140C0A #331F1A #5C382F #845043

Accessibility & contrast

On white

15.54
#331F1A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #331F1A
15.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##331F1A#FFFFFF#000000##FFFFFF
##331F1A1.0015.541.3515.54
#FFFFFF15.541.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.541.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #331f1a;
/* rgb */ color: rgb(51, 31, 26);
/* oklch */ color: oklch(26.3% 0.033 34.7);
Tailwind
colors: {
  custom: {
    50: '#6c5a56',
    500: '#331f1a',
    950: '#000000',
  },
}
SCSS
$custom: #331f1a;
$custom-light: #6c5a56;
$custom-dark: #000000;
JSON
{
  "hex": "#331f1a",
  "rgb": {
    "r": 51,
    "g": 31,
    "b": 26
  },
  "hsl": {
    "h": 12,
    "s": 32.468,
    "l": 15.098
  },
  "oklch": {
    "l": 0.26343,
    "c": 0.03287,
    "h": 34.7
  },
  "luminance": 0.01758
}

Semantic roles & 50–950 ramp

primary
#331F1A
secondary
#416068
accent
#B4C95F
background
#F6F5F5
surface
#EBE9E9
border
#C6C5C5
text
#070403
muted
#7A7978

Preview Lab

Preview with #331F1A

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

Preview Lab → · Contrast checker → · Palette generator →

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