#331F22#331F22

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

Color values

HEX#331F22
RGBrgb(51, 31, 34)
HSLhsl(351, 24%, 16%)
HSVhsv(351, 39%, 20%)
CMYKcmyk(0%, 39.2%, 33.3%, 80%)
CIE-LABlab(14.40, 10.25, 1.96)
CIE-LCHlch(14.40, 10.44, 10.82°)
OKLaboklab(26.6% 0.0311 0.0053)
OKLCHoklch(26.6% 0.032 9.6)
XYZxyz(2.1440, 1.7994, 1.7475)
Luminance0.0180 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#331F22 #1F3330
analogous
#331F2C #331F22 #33261F
triadic
#331F22 #22331F #1F2233
tetradic
#331F22 #2C331F #1F3330 #261F33
square
#331F22 #2C331F #1F3330 #261F33
split-complementary
#331F22 #1F3326 #1F2C33
monochromatic
#130C0D #130C0D #331F22 #59363B #7F4D55

Accessibility & contrast

On white

15.44
#331F22 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #331F22
15.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##331F22#FFFFFF#000000##FFFFFF
##331F221.0015.441.3615.44
#FFFFFF15.441.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#222222
Deuteranopia (green-blind)
#272622
Tritanopia (blue-blind)
#371D20
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #331f22;
/* rgb */ color: rgb(51, 31, 34);
/* oklch */ color: oklch(26.6% 0.032 9.6);
Tailwind
colors: {
  custom: {
    50: '#6b5a5c',
    500: '#331f22',
    950: '#000000',
  },
}
SCSS
$custom: #331f22;
$custom-light: #6b5a5c;
$custom-dark: #000000;
JSON
{
  "hex": "#331f22",
  "rgb": {
    "r": 51,
    "g": 31,
    "b": 34
  },
  "hsl": {
    "h": 351,
    "s": 24.39,
    "l": 16.078
  },
  "oklch": {
    "l": 0.26598,
    "c": 0.03152,
    "h": 9.6
  },
  "luminance": 0.01799
}

Semantic roles & 50–950 ramp

primary
#331F22
secondary
#486661
accent
#C1B367
background
#F6F5F5
surface
#EBE9E9
border
#C6C5C5
text
#070404
muted
#7A7979

Preview Lab

Preview with #331F22

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

Preview Lab → · Contrast checker → · Palette generator →

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