#331F19#331F19

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

Color values

HEX#331F19
RGBrgb(51, 31, 25)
HSLhsl(14, 34%, 15%)
HSVhsv(14, 51%, 20%)
CMYKcmyk(0%, 39.2%, 51%, 80%)
CIE-LABlab(14.14, 8.83, 8.07)
CIE-LCHlch(14.14, 11.96, 42.43°)
OKLaboklab(26.32% 0.0265 0.0203)
OKLCHoklch(26.32% 0.033 37.4)
XYZxyz(2.0308, 1.7541, 1.1511)
Luminance0.0175 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#331F19 #192D33
analogous
#331920 #331F19 #332C19
triadic
#331F19 #19331F #1F1933
tetradic
#331F19 #203319 #192D33 #2C1933
square
#331F19 #203319 #192D33 #2C1933
split-complementary
#331F19 #19332C #192033
monochromatic
#150C0A #150C0A #331F19 #5C382D #855141

Accessibility & contrast

On white

15.55
#331F19 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #331F19
15.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##331F19#FFFFFF#000000##FFFFFF
##331F191.0015.551.3515.55
#FFFFFF15.551.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#242119
Deuteranopia (green-blind)
#292619
Tritanopia (blue-blind)
#371C1D
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #331f19;
/* rgb */ color: rgb(51, 31, 25);
/* oklch */ color: oklch(26.3% 0.033 37.4);
Tailwind
colors: {
  custom: {
    50: '#6c5a55',
    500: '#331f19',
    950: '#000000',
  },
}
SCSS
$custom: #331f19;
$custom-light: #6c5a55;
$custom-dark: #000000;
JSON
{
  "hex": "#331f19",
  "rgb": {
    "r": 51,
    "g": 31,
    "b": 25
  },
  "hsl": {
    "h": 13.846,
    "s": 34.211,
    "l": 14.902
  },
  "oklch": {
    "l": 0.26316,
    "c": 0.03339,
    "h": 37.4
  },
  "luminance": 0.01754
}

Semantic roles & 50–950 ramp

primary
#331F19
secondary
#405F68
accent
#B1CA5E
background
#F6F5F4
surface
#EBE9E8
border
#C6C5C4
text
#070403
muted
#7A7978

Preview Lab

Preview with #331F19

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

Preview Lab → · Contrast checker → · Palette generator →

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