#331B19#331B19

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

Color values

HEX#331B19
RGBrgb(51, 27, 25)
HSLhsl(5, 34%, 15%)
HSVhsv(5, 51%, 20%)
CMYKcmyk(0%, 47.1%, 51%, 80%)
CIE-LABlab(12.97, 11.59, 6.48)
CIE-LCHlch(12.97, 13.28, 29.19°)
OKLaboklab(25.42% 0.0349 0.0165)
OKLCHoklch(25.42% 0.039 25.2)
XYZxyz(1.9327, 1.5580, 1.1185)
Luminance0.0156 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#331B19 #193133
analogous
#331924 #331B19 #332819
triadic
#331B19 #19331B #1B1933
tetradic
#331B19 #243319 #193133 #281933
square
#331B19 #243319 #193133 #281933
split-complementary
#331B19 #193328 #192433
monochromatic
#150B0A #150B0A #331B19 #5C312D #854641

Accessibility & contrast

On white

16.01
#331B19 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#331B19 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #331B19
16.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##331B19#FFFFFF#000000##FFFFFF
##331B191.0016.011.3116.01
#FFFFFF16.011.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#201F19
Deuteranopia (green-blind)
#262319
Tritanopia (blue-blind)
#38181B
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #331b19;
/* rgb */ color: rgb(51, 27, 25);
/* oklch */ color: oklch(25.4% 0.039 25.2);
Tailwind
colors: {
  custom: {
    50: '#6c5755',
    500: '#331b19',
    950: '#000000',
  },
}
SCSS
$custom: #331b19;
$custom-light: #6c5755;
$custom-dark: #000000;
JSON
{
  "hex": "#331b19",
  "rgb": {
    "r": 51,
    "g": 27,
    "b": 25
  },
  "hsl": {
    "h": 4.615,
    "s": 34.211,
    "l": 14.902
  },
  "oklch": {
    "l": 0.25417,
    "c": 0.03858,
    "h": 25.2
  },
  "luminance": 0.01558
}

Semantic roles & 50–950 ramp

primary
#331B19
secondary
#406568
accent
#C2CA5E
background
#F6F5F4
surface
#EBE9E7
border
#C6C5C3
text
#070303
muted
#7A7878

Preview Lab

Preview with #331B19

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

Preview Lab → · Contrast checker → · Palette generator →

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