#64171B#64171B

#64171B is a dark, moderate red. Relative luminance 0.034; OKLCH L 33.7% C 0.109 H 22.6°. Best body text is #FFFFFF at 12.50:1 contrast (WCAG AA passes).

Color values

HEX#64171B
RGBrgb(100, 23, 27)
HSLhsl(357, 63%, 24%)
HSVhsv(357, 77%, 39%)
CMYKcmyk(0%, 77%, 73%, 60.8%)
CIE-LABlab(21.59, 34.39, 18.06)
CIE-LCHlch(21.59, 38.84, 27.71°)
OKLaboklab(33.73% 0.1009 0.042)
OKLCHoklch(33.73% 0.109 22.6)
XYZxyz(5.7604, 3.4021, 1.3901)
Luminance0.0340 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#64171B #176460
analogous
#641742 #64171B #643A17
triadic
#64171B #1B6417 #171B64
tetradic
#64171B #426417 #176460 #3A1764
square
#64171B #426417 #176460 #3A1764
split-complementary
#64171B #17643A #174264
monochromatic
#190607 #320C0E #64171B #962228 #C82E36

Accessibility & contrast

On white

12.50
#64171B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#64171B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #64171B
12.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##64171B#FFFFFF#000000##FFFFFF
##64171B1.0012.501.6812.50
#FFFFFF12.501.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D291A
Deuteranopia (green-blind)
#403A19
Tritanopia (blue-blind)
#6E0019
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #64171b;
/* rgb */ color: rgb(100, 23, 27);
/* oklch */ color: oklch(33.7% 0.109 22.6);
Tailwind
colors: {
  custom: {
    50: '#965b57',
    500: '#64171b',
    950: '#000000',
  },
}
SCSS
$custom: #64171b;
$custom-light: #965b57;
$custom-dark: #000000;
JSON
{
  "hex": "#64171b",
  "rgb": {
    "r": 100,
    "g": 23,
    "b": 27
  },
  "hsl": {
    "h": 356.883,
    "s": 62.602,
    "l": 24.118
  },
  "oklch": {
    "l": 0.33734,
    "c": 0.1093,
    "h": 22.6
  },
  "luminance": 0.03401
}

Semantic roles & 50–950 ramp

primary
#64171B
secondary
#3C9A96
accent
#E6DD42
background
#F9F5F5
surface
#F2E9E9
border
#CCC5C5
text
#0F0403
muted
#7E7978

Preview Lab

Preview with #64171B

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

Preview Lab → · Contrast checker → · Palette generator →

#64171B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva