#331F24#331F24

#331F24 is a dark, muted red. Relative luminance 0.018; OKLCH L 26.7% C 0.032 H 3.1°. Best body text is #FFFFFF at 15.42:1 contrast (WCAG AA passes).

Color values

HEX#331F24
RGBrgb(51, 31, 36)
HSLhsl(345, 24%, 16%)
HSVhsv(345, 39%, 20%)
CMYKcmyk(0%, 39.2%, 29.4%, 80%)
CIE-LABlab(14.46, 10.61, 0.61)
CIE-LCHlch(14.46, 10.63, 3.31°)
OKLaboklab(26.67% 0.032 0.0018)
OKLCHoklch(26.67% 0.032 3.1)
XYZxyz(2.1737, 1.8113, 1.9038)
Luminance0.0181 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#331F24 #1F332E
analogous
#331F2E #331F24 #33241F
triadic
#331F24 #24331F #1F2433
tetradic
#331F24 #2E331F #1F332E #241F33
square
#331F24 #2E331F #1F332E #241F33
split-complementary
#331F24 #1F3324 #1F2E33
monochromatic
#130C0D #130C0D #331F24 #59363F #7F4D5A

Accessibility & contrast

On white

15.42
#331F24 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#331F24 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #331F24
15.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##331F24#FFFFFF#000000##FFFFFF
##331F241.0015.421.3615.42
#FFFFFF15.421.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#222224
Deuteranopia (green-blind)
#272624
Tritanopia (blue-blind)
#361E21
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #331f24;
/* rgb */ color: rgb(51, 31, 36);
/* oklch */ color: oklch(26.7% 0.032 3.1);
Tailwind
colors: {
  custom: {
    50: '#6b5a5e',
    500: '#331f24',
    950: '#000000',
  },
}
SCSS
$custom: #331f24;
$custom-light: #6b5a5e;
$custom-dark: #000000;
JSON
{
  "hex": "#331f24",
  "rgb": {
    "r": 51,
    "g": 31,
    "b": 36
  },
  "hsl": {
    "h": 345,
    "s": 24.39,
    "l": 16.078
  },
  "oklch": {
    "l": 0.26671,
    "c": 0.03209,
    "h": 3.1
  },
  "luminance": 0.01811
}

Semantic roles & 50–950 ramp

primary
#331F24
secondary
#48665E
accent
#C1AA67
background
#F6F5F5
surface
#EBE9E9
border
#C6C5C5
text
#060404
muted
#7A7979

Preview Lab

Preview with #331F24

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

Preview Lab → · Contrast checker → · Palette generator →

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