#3F1817#3F1817

#3F1817 is a dark, moderate red. Relative luminance 0.018; OKLCH L 26.8% C 0.061 H 23.6°. Best body text is #FFFFFF at 15.51:1 contrast (WCAG AA passes).

Color values

HEX#3F1817
RGBrgb(63, 24, 23)
HSLhsl(2, 47%, 17%)
HSVhsv(2, 63%, 25%)
CMYKcmyk(0%, 61.9%, 63.5%, 75.3%)
CIE-LABlab(14.24, 18.96, 9.99)
CIE-LCHlch(14.24, 21.43, 27.80°)
OKLaboklab(26.8% 0.0563 0.0246)
OKLCHoklch(26.8% 0.061 23.6)
XYZxyz(2.5314, 1.7722, 1.0192)
Luminance0.0177 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F1817 #173E3F
analogous
#3F172A #3F1817 #3F2C17
triadic
#3F1817 #173F18 #18173F
tetradic
#3F1817 #2A3F17 #173E3F #2C173F
square
#3F1817 #2A3F17 #173E3F #2C173F
split-complementary
#3F1817 #173F2C #172A3F
monochromatic
#160908 #160908 #3F1817 #6C2927 #993A38

Accessibility & contrast

On white

15.51
#3F1817 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#3F1817 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F1817
15.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F1817#FFFFFF#000000##FFFFFF
##3F18171.0015.511.3515.51
#FFFFFF15.511.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#211F17
Deuteranopia (green-blind)
#2B2716
Tritanopia (blue-blind)
#451218
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #3f1817;
/* rgb */ color: rgb(63, 24, 23);
/* oklch */ color: oklch(26.8% 0.061 23.6);
Tailwind
colors: {
  custom: {
    50: '#775653',
    500: '#3f1817',
    950: '#000000',
  },
}
SCSS
$custom: #3f1817;
$custom-light: #775653;
$custom-dark: #000000;
JSON
{
  "hex": "#3f1817",
  "rgb": {
    "r": 63,
    "g": 24,
    "b": 23
  },
  "hsl": {
    "h": 1.5,
    "s": 46.512,
    "l": 16.863
  },
  "oklch": {
    "l": 0.26798,
    "c": 0.06145,
    "h": 23.6
  },
  "luminance": 0.01772
}

Semantic roles & 50–950 ramp

primary
#3F1817
secondary
#3C7476
accent
#D3D652
background
#F7F5F4
surface
#EDE9E7
border
#C8C5C3
text
#090302
muted
#7B7878

Preview Lab

Preview with #3F1817

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

Preview Lab → · Contrast checker → · Palette generator →

#3F1817 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva