#331B20#331B20

#331B20 is a dark, muted red. Relative luminance 0.016; OKLCH L 25.6% C 0.039 H 6.7°. Best body text is #FFFFFF at 15.93:1 contrast (WCAG AA passes).

Color values

HEX#331B20
RGBrgb(51, 27, 32)
HSLhsl(348, 31%, 15%)
HSVhsv(348, 47%, 20%)
CMYKcmyk(0%, 47.1%, 37.3%, 80%)
CIE-LABlab(13.18, 12.67, 1.66)
CIE-LCHlch(13.18, 12.78, 7.48°)
OKLaboklab(25.65% 0.0384 0.0045)
OKLCHoklch(25.65% 0.039 6.7)
XYZxyz(2.0180, 1.5921, 1.5672)
Luminance0.0159 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#331B20 #1B332E
analogous
#331B2C #331B20 #33221B
triadic
#331B20 #20331B #1B2033
tetradic
#331B20 #2C331B #1B332E #221B33
square
#331B20 #2C331B #1B332E #221B33
split-complementary
#331B20 #1B3322 #1B2C33
monochromatic
#140B0D #140B0D #331B20 #5B3039 #834552

Accessibility & contrast

On white

15.93
#331B20 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#331B20 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #331B20
15.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##331B20#FFFFFF#000000##FFFFFF
##331B201.0015.931.3215.93
#FFFFFF15.931.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F1F20
Deuteranopia (green-blind)
#252420
Tritanopia (blue-blind)
#37191D
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #331b20;
/* rgb */ color: rgb(51, 27, 32);
/* oklch */ color: oklch(25.6% 0.039 6.7);
Tailwind
colors: {
  custom: {
    50: '#6c575b',
    500: '#331b20',
    950: '#000000',
  },
}
SCSS
$custom: #331b20;
$custom-light: #6c575b;
$custom-dark: #000000;
JSON
{
  "hex": "#331b20",
  "rgb": {
    "r": 51,
    "g": 27,
    "b": 32
  },
  "hsl": {
    "h": 347.5,
    "s": 30.769,
    "l": 15.294
  },
  "oklch": {
    "l": 0.25646,
    "c": 0.03865,
    "h": 6.7
  },
  "luminance": 0.01592
}

Semantic roles & 50–950 ramp

primary
#331B20
secondary
#436760
accent
#C7B261
background
#F6F5F5
surface
#EBE9E9
border
#C6C5C5
text
#070304
muted
#7A7879

Preview Lab

Preview with #331B20

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

Preview Lab → · Contrast checker → · Palette generator →

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