#3F181B#3F181B

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

Color values

HEX#3F181B
RGBrgb(63, 24, 27)
HSLhsl(355, 45%, 17%)
HSVhsv(355, 62%, 25%)
CMYKcmyk(0%, 61.9%, 57.1%, 75.3%)
CIE-LABlab(14.34, 19.38, 7.24)
CIE-LCHlch(14.34, 20.69, 20.48°)
OKLaboklab(26.9% 0.0583 0.0183)
OKLCHoklch(26.9% 0.061 17.4)
XYZxyz(2.5746, 1.7895, 1.2465)
Luminance0.0179 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F181B #183F3C
analogous
#3F182F #3F181B #3F2918
triadic
#3F181B #1B3F18 #181B3F
tetradic
#3F181B #2F3F18 #183F3C #29183F
square
#3F181B #2F3F18 #183F3C #29183F
split-complementary
#3F181B #183F29 #182F3F
monochromatic
#160809 #160809 #3F181B #6B292E #983A41

Accessibility & contrast

On white

15.47
#3F181B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#3F181B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F181B
15.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F181B#FFFFFF#000000##FFFFFF
##3F181B1.0015.471.3615.47
#FFFFFF15.471.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#211F1B
Deuteranopia (green-blind)
#2A271A
Tritanopia (blue-blind)
#451219
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #3f181b;
/* rgb */ color: rgb(63, 24, 27);
/* oklch */ color: oklch(26.9% 0.061 17.4);
Tailwind
colors: {
  custom: {
    50: '#775657',
    500: '#3f181b',
    950: '#000000',
  },
}
SCSS
$custom: #3f181b;
$custom-light: #775657;
$custom-dark: #000000;
JSON
{
  "hex": "#3f181b",
  "rgb": {
    "r": 63,
    "g": 24,
    "b": 27
  },
  "hsl": {
    "h": 355.385,
    "s": 44.828,
    "l": 17.059
  },
  "oklch": {
    "l": 0.26904,
    "c": 0.06105,
    "h": 17.4
  },
  "luminance": 0.01789
}

Semantic roles & 50–950 ramp

primary
#3F181B
secondary
#3D7571
accent
#D5CB53
background
#F7F5F5
surface
#EDE9E9
border
#C8C5C5
text
#090303
muted
#7B7878

Preview Lab

Preview with #3F181B

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

Preview Lab → · Contrast checker → · Palette generator →

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