#331C17#331C17

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

Color values

HEX#331C17
RGBrgb(51, 28, 23)
HSLhsl(11, 38%, 15%)
HSVhsv(11, 55%, 20%)
CMYKcmyk(0%, 45.1%, 54.9%, 80%)
CIE-LABlab(13.21, 10.64, 8.24)
CIE-LCHlch(13.21, 13.46, 37.77°)
OKLaboklab(25.58% 0.0318 0.0206)
OKLCHoklch(25.58% 0.038 33)
XYZxyz(1.9353, 1.5963, 1.0166)
Luminance0.0160 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#331C17 #172E33
analogous
#331720 #331C17 #332A17
triadic
#331C17 #17331C #1C1733
tetradic
#331C17 #203317 #172E33 #2A1733
square
#331C17 #203317 #172E33 #2A1733
split-complementary
#331C17 #17332A #172033
monochromatic
#150C0A #150C0A #331C17 #5D332A #874A3D

Accessibility & contrast

On white

15.92
#331C17 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #331C17
15.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##331C17#FFFFFF#000000##FFFFFF
##331C171.0015.921.3215.92
#FFFFFF15.921.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#211F17
Deuteranopia (green-blind)
#272417
Tritanopia (blue-blind)
#38191B
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #331c17;
/* rgb */ color: rgb(51, 28, 23);
/* oklch */ color: oklch(25.6% 0.038 33.0);
Tailwind
colors: {
  custom: {
    50: '#6c5853',
    500: '#331c17',
    950: '#000000',
  },
}
SCSS
$custom: #331c17;
$custom-light: #6c5853;
$custom-dark: #000000;
JSON
{
  "hex": "#331c17",
  "rgb": {
    "r": 51,
    "g": 28,
    "b": 23
  },
  "hsl": {
    "h": 10.714,
    "s": 37.838,
    "l": 14.51
  },
  "oklch": {
    "l": 0.25581,
    "c": 0.03789,
    "h": 33
  },
  "luminance": 0.01596
}

Semantic roles & 50–950 ramp

primary
#331C17
secondary
#3D6169
accent
#B9CE5A
background
#F6F5F4
surface
#EBE9E7
border
#C6C5C3
text
#070302
muted
#7A7878

Preview Lab

Preview with #331C17

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

Preview Lab → · Contrast checker → · Palette generator →

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