#66170F#66170F

#66170F is a dark, moderate red. Relative luminance 0.035; OKLCH L 34.0% C 0.113 H 29.8°. Best body text is #FFFFFF at 12.39:1 contrast (WCAG AA passes).

Color values

HEX#66170F
RGBrgb(102, 23, 15)
HSLhsl(6, 74%, 23%)
HSVhsv(6, 85%, 40%)
CMYKcmyk(0%, 77.5%, 85.3%, 60%)
CIE-LABlab(21.85, 34.54, 26.04)
CIE-LCHlch(21.85, 43.25, 37.01°)
OKLaboklab(33.95% 0.0983 0.0564)
OKLCHoklch(33.95% 0.113 29.8)
XYZxyz(5.8728, 3.4730, 0.8130)
Luminance0.0347 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#66170F #0F5E66
analogous
#660F32 #66170F #66420F
triadic
#66170F #0F6617 #170F66
tetradic
#66170F #32660F #0F5E66 #420F66
square
#66170F #32660F #0F5E66 #420F66
split-complementary
#66170F #0F6642 #0F3266
monochromatic
#1B0604 #310B07 #66170F #9B2317 #D12F1F

Accessibility & contrast

On white

12.39
#66170F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#66170F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #66170F
12.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##66170F#FFFFFF#000000##FFFFFF
##66170F1.0012.391.6912.39
#FFFFFF12.391.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F290D
Deuteranopia (green-blind)
#423B0B
Tritanopia (blue-blind)
#710016
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #66170f;
/* rgb */ color: rgb(102, 23, 15);
/* oklch */ color: oklch(34.0% 0.113 29.8);
Tailwind
colors: {
  custom: {
    50: '#995b4e',
    500: '#66170f',
    950: '#000000',
  },
}
SCSS
$custom: #66170f;
$custom-light: #995b4e;
$custom-dark: #000000;
JSON
{
  "hex": "#66170f",
  "rgb": {
    "r": 102,
    "g": 23,
    "b": 15
  },
  "hsl": {
    "h": 5.517,
    "s": 74.359,
    "l": 22.941
  },
  "oklch": {
    "l": 0.33952,
    "c": 0.11331,
    "h": 29.8
  },
  "luminance": 0.03472
}

Semantic roles & 50–950 ramp

primary
#66170F
secondary
#32959F
accent
#E0F137
background
#FAF5F4
surface
#F4E9E7
border
#CEC5C3
text
#0F0401
muted
#7F7977

Preview Lab

Preview with #66170F

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

Preview Lab → · Contrast checker → · Palette generator →

#66170F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva