#66171F#66171F

#66171F is a dark, moderate red. Relative luminance 0.035; OKLCH L 34.2% C 0.111 H 20.0°. Best body text is #FFFFFF at 12.30:1 contrast (WCAG AA passes).

Color values

HEX#66171F
RGBrgb(102, 23, 31)
HSLhsl(354, 63%, 25%)
HSVhsv(354, 77%, 40%)
CMYKcmyk(0%, 77.5%, 69.6%, 60%)
CIE-LABlab(22.08, 35.33, 16.05)
CIE-LCHlch(22.08, 38.80, 24.43°)
OKLaboklab(34.2% 0.1045 0.0381)
OKLCHoklch(34.2% 0.111 20)
XYZxyz(6.0339, 3.5374, 1.6611)
Luminance0.0354 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#66171F #17665E
analogous
#661747 #66171F #663717
triadic
#66171F #1F6617 #171F66
tetradic
#66171F #476617 #17665E #371766
square
#66171F #476617 #17665E #371766
split-complementary
#66171F #176637 #174766
monochromatic
#190608 #340C10 #66171F #98222E #CA2E3D

Accessibility & contrast

On white

12.30
#66171F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#66171F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #66171F
12.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##66171F#FFFFFF#000000##FFFFFF
##66171F1.0012.301.7112.30
#FFFFFF12.301.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D2A1F
Deuteranopia (green-blind)
#413B1D
Tritanopia (blue-blind)
#71001B
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #66171f;
/* rgb */ color: rgb(102, 23, 31);
/* oklch */ color: oklch(34.2% 0.111 20.0);
Tailwind
colors: {
  custom: {
    50: '#985b5a',
    500: '#66171f',
    950: '#000000',
  },
}
SCSS
$custom: #66171f;
$custom-light: #985b5a;
$custom-dark: #000000;
JSON
{
  "hex": "#66171f",
  "rgb": {
    "r": 102,
    "g": 23,
    "b": 31
  },
  "hsl": {
    "h": 353.924,
    "s": 63.2,
    "l": 24.51
  },
  "oklch": {
    "l": 0.342,
    "c": 0.11125,
    "h": 20
  },
  "luminance": 0.03537
}

Semantic roles & 50–950 ramp

primary
#66171F
secondary
#3C9C93
accent
#E6D642
background
#F9F5F5
surface
#F2E9E9
border
#CCC5C5
text
#0F0403
muted
#7E7978

Preview Lab

Preview with #66171F

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

Preview Lab → · Contrast checker → · Palette generator →

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