#331F23#331F23

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

Color values

HEX#331F23
RGBrgb(51, 31, 35)
HSLhsl(348, 24%, 16%)
HSVhsv(348, 39%, 20%)
CMYKcmyk(0%, 39.2%, 31.4%, 80%)
CIE-LABlab(14.43, 10.43, 1.29)
CIE-LCHlch(14.43, 10.51, 7.04°)
OKLaboklab(26.63% 0.0316 0.0035)
OKLCHoklch(26.63% 0.032 6.3)
XYZxyz(2.1586, 1.8053, 1.8245)
Luminance0.0181 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#331F23 #1F332F
analogous
#331F2D #331F23 #33251F
triadic
#331F23 #23331F #1F2333
tetradic
#331F23 #2D331F #1F332F #251F33
square
#331F23 #2D331F #1F332F #251F33
split-complementary
#331F23 #1F3325 #1F2D33
monochromatic
#130C0D #130C0D #331F23 #59363D #7F4D57

Accessibility & contrast

On white

15.43
#331F23 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #331F23
15.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##331F23#FFFFFF#000000##FFFFFF
##331F231.0015.431.3615.43
#FFFFFF15.431.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#222223
Deuteranopia (green-blind)
#272623
Tritanopia (blue-blind)
#361E20
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #331f23;
/* rgb */ color: rgb(51, 31, 35);
/* oklch */ color: oklch(26.6% 0.032 6.3);
Tailwind
colors: {
  custom: {
    50: '#6b5a5d',
    500: '#331f23',
    950: '#000000',
  },
}
SCSS
$custom: #331f23;
$custom-light: #6b5a5d;
$custom-dark: #000000;
JSON
{
  "hex": "#331f23",
  "rgb": {
    "r": 51,
    "g": 31,
    "b": 35
  },
  "hsl": {
    "h": 348,
    "s": 24.39,
    "l": 16.078
  },
  "oklch": {
    "l": 0.26634,
    "c": 0.03175,
    "h": 6.3
  },
  "luminance": 0.01805
}

Semantic roles & 50–950 ramp

primary
#331F23
secondary
#486660
accent
#C1AF67
background
#F6F5F5
surface
#EBE9E9
border
#C6C5C5
text
#060404
muted
#7A7979

Preview Lab

Preview with #331F23

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

Preview Lab → · Contrast checker → · Palette generator →

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