#312220#312220

#312220 is a dark, muted red. Relative luminance 0.019; OKLCH L 27.0% C 0.024 H 27.4°. Best body text is #FFFFFF at 15.22:1 contrast (WCAG AA passes).

Color values

HEX#312220
RGBrgb(49, 34, 32)
HSLhsl(7, 21%, 16%)
HSVhsv(7, 35%, 19%)
CMYKcmyk(0%, 30.6%, 34.7%, 80.8%)
CIE-LABlab(14.96, 6.84, 4.16)
CIE-LCHlch(14.96, 8.00, 31.35°)
OKLaboklab(26.95% 0.0209 0.0108)
OKLCHoklch(26.95% 0.024 27.4)
XYZxyz(2.0994, 1.9014, 1.6226)
Luminance0.0190 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#312220 #202F31
analogous
#312026 #312220 #312A20
triadic
#312220 #203122 #222031
tetradic
#312220 #263120 #202F31 #2A2031
square
#312220 #263120 #202F31 #2A2031
split-complementary
#312220 #20312A #202631
monochromatic
#130D0C #130D0C #312220 #563C38 #7B5550

Accessibility & contrast

On white

15.22
#312220 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#312220 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #312220
15.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##312220#FFFFFF#000000##FFFFFF
##3122201.0015.221.3815.22
#FFFFFF15.221.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#252420
Deuteranopia (green-blind)
#292720
Tritanopia (blue-blind)
#342021
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #312220;
/* rgb */ color: rgb(49, 34, 32);
/* oklch */ color: oklch(27.0% 0.024 27.4);
Tailwind
colors: {
  custom: {
    50: '#695d5b',
    500: '#312220',
    950: '#000000',
  },
}
SCSS
$custom: #312220;
$custom-light: #695d5b;
$custom-dark: #000000;
JSON
{
  "hex": "#312220",
  "rgb": {
    "r": 49,
    "g": 34,
    "b": 32
  },
  "hsl": {
    "h": 7.059,
    "s": 20.988,
    "l": 15.882
  },
  "oklch": {
    "l": 0.2695,
    "c": 0.02357,
    "h": 27.4
  },
  "luminance": 0.01901
}

Semantic roles & 50–950 ramp

primary
#312220
secondary
#4A6063
accent
#B4BE6A
background
#F6F5F5
surface
#EBE9E9
border
#C6C5C5
text
#060404
muted
#7A7979

Preview Lab

Preview with #312220

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

Preview Lab → · Contrast checker → · Palette generator →

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