#331D17#331D17

#331D17 is a dark, muted red. Relative luminance 0.016; OKLCH L 25.8% C 0.037 H 36.0°. Best body text is #FFFFFF at 15.80:1 contrast (WCAG AA passes).

Color values

HEX#331D17
RGBrgb(51, 29, 23)
HSLhsl(13, 38%, 15%)
HSVhsv(13, 55%, 20%)
CMYKcmyk(0%, 43.1%, 54.9%, 80%)
CIE-LABlab(13.50, 9.95, 8.64)
CIE-LCHlch(13.50, 13.17, 40.96°)
OKLaboklab(25.81% 0.0297 0.0216)
OKLCHoklch(25.81% 0.037 36)
XYZxyz(1.9594, 1.6446, 1.0247)
Luminance0.0164 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#331D17 #172D33
analogous
#33171F #331D17 #332B17
triadic
#331D17 #17331D #1D1733
tetradic
#331D17 #1F3317 #172D33 #2B1733
square
#331D17 #1F3317 #172D33 #2B1733
split-complementary
#331D17 #17332B #171F33
monochromatic
#150C0A #150C0A #331D17 #5D352A #874D3D

Accessibility & contrast

On white

15.80
#331D17 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#331D17 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #331D17
15.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##331D17#FFFFFF#000000##FFFFFF
##331D171.0015.801.3315.80
#FFFFFF15.801.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#222017
Deuteranopia (green-blind)
#282417
Tritanopia (blue-blind)
#381A1B
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #331d17;
/* rgb */ color: rgb(51, 29, 23);
/* oklch */ color: oklch(25.8% 0.037 36.0);
Tailwind
colors: {
  custom: {
    50: '#6c5953',
    500: '#331d17',
    950: '#000000',
  },
}
SCSS
$custom: #331d17;
$custom-light: #6c5953;
$custom-dark: #000000;
JSON
{
  "hex": "#331d17",
  "rgb": {
    "r": 51,
    "g": 29,
    "b": 23
  },
  "hsl": {
    "h": 12.857,
    "s": 37.838,
    "l": 14.51
  },
  "oklch": {
    "l": 0.25805,
    "c": 0.03668,
    "h": 36
  },
  "luminance": 0.01644
}

Semantic roles & 50–950 ramp

primary
#331D17
secondary
#3D5F69
accent
#B5CE5A
background
#F6F5F4
surface
#EBE9E7
border
#C6C5C3
text
#070302
muted
#7A7878

Preview Lab

Preview with #331D17

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

Preview Lab → · Contrast checker → · Palette generator →

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