#331213#331213

#331213 is a very dark, muted red. Relative luminance 0.012; OKLCH L 23.4% C 0.054 H 20.3°. Best body text is #FFFFFF at 16.98:1 contrast (WCAG AA passes).

Color values

HEX#331213
RGBrgb(51, 18, 19)
HSLhsl(358, 48%, 14%)
HSVhsv(358, 65%, 20%)
CMYKcmyk(0%, 64.7%, 62.7%, 80%)
CIE-LABlab(10.44, 16.79, 7.20)
CIE-LCHlch(10.44, 18.27, 23.20°)
OKLaboklab(23.44% 0.0502 0.0186)
OKLCHoklch(23.44% 0.054 20.3)
XYZxyz(1.6992, 1.1836, 0.7549)
Luminance0.0118 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#331213 #123332
analogous
#331223 #331213 #332112
triadic
#331213 #133312 #121333
tetradic
#331213 #233312 #123332 #211233
square
#331213 #233312 #123332 #211233
split-complementary
#331213 #123321 #122333
monochromatic
#170808 #170808 #331213 #602224 #8D3235

Accessibility & contrast

On white

16.98
#331213 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.24
#331213 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #331213
16.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##331213#FFFFFF#000000##FFFFFF
##3312131.0016.981.2416.98
#FFFFFF16.981.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A1813
Deuteranopia (green-blind)
#221F12
Tritanopia (blue-blind)
#380D13
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #331213;
/* rgb */ color: rgb(51, 18, 19);
/* oklch */ color: oklch(23.4% 0.054 20.3);
Tailwind
colors: {
  custom: {
    50: '#6d5150',
    500: '#331213',
    950: '#000000',
  },
}
SCSS
$custom: #331213;
$custom-light: #6d5150;
$custom-dark: #000000;
JSON
{
  "hex": "#331213",
  "rgb": {
    "r": 51,
    "g": 18,
    "b": 19
  },
  "hsl": {
    "h": 358.182,
    "s": 47.826,
    "l": 13.529
  },
  "oklch": {
    "l": 0.23435,
    "c": 0.05354,
    "h": 20.3
  },
  "luminance": 0.01183
}

Semantic roles & 50–950 ramp

primary
#331213
secondary
#356B6A
accent
#D7D350
background
#F6F4F4
surface
#ECE7E7
border
#C7C3C3
text
#070202
muted
#7A7878

Preview Lab

Preview with #331213

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

Preview Lab → · Contrast checker → · Palette generator →

#331213 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva