#66171B#66171B

#66171B is a dark, moderate red. Relative luminance 0.035; OKLCH L 34.1% C 0.112 H 22.8°. Best body text is #FFFFFF at 12.33:1 contrast (WCAG AA passes).

Color values

HEX#66171B
RGBrgb(102, 23, 27)
HSLhsl(357, 63%, 25%)
HSVhsv(357, 77%, 40%)
CMYKcmyk(0%, 77.5%, 73.5%, 60%)
CIE-LABlab(22.01, 35.09, 18.67)
CIE-LCHlch(22.01, 39.74, 28.02°)
OKLaboklab(34.12% 0.1028 0.0433)
OKLCHoklch(34.12% 0.112 22.8)
XYZxyz(5.9844, 3.5176, 1.4006)
Luminance0.0352 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#66171B #176662
analogous
#661743 #66171B #663B17
triadic
#66171B #1B6617 #171B66
tetradic
#66171B #436617 #176662 #3B1766
square
#66171B #436617 #176662 #3B1766
split-complementary
#66171B #17663B #174366
monochromatic
#190607 #340C0E #66171B #982228 #CA2E35

Accessibility & contrast

On white

12.33
#66171B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#66171B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #66171B
12.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##66171B#FFFFFF#000000##FFFFFF
##66171B1.0012.331.7012.33
#FFFFFF12.331.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E2A1A
Deuteranopia (green-blind)
#423B18
Tritanopia (blue-blind)
#710019
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #66171b;
/* rgb */ color: rgb(102, 23, 27);
/* oklch */ color: oklch(34.1% 0.112 22.8);
Tailwind
colors: {
  custom: {
    50: '#985b57',
    500: '#66171b',
    950: '#000000',
  },
}
SCSS
$custom: #66171b;
$custom-light: #985b57;
$custom-dark: #000000;
JSON
{
  "hex": "#66171b",
  "rgb": {
    "r": 102,
    "g": 23,
    "b": 27
  },
  "hsl": {
    "h": 356.962,
    "s": 63.2,
    "l": 24.51
  },
  "oklch": {
    "l": 0.34124,
    "c": 0.11157,
    "h": 22.8
  },
  "luminance": 0.03517
}

Semantic roles & 50–950 ramp

primary
#66171B
secondary
#3C9C98
accent
#E6DE42
background
#FAF5F5
surface
#F3E9E9
border
#CDC5C5
text
#0F0403
muted
#7F7978

Preview Lab

Preview with #66171B

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

Preview Lab → · Contrast checker → · Palette generator →

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