#66271B#66271B

#66271B is a dark, moderate red. Relative luminance 0.044; OKLCH L 36.2% C 0.094 H 32.6°. Best body text is #FFFFFF at 11.22:1 contrast (WCAG AA passes).

Color values

HEX#66271B
RGBrgb(102, 39, 27)
HSLhsl(10, 58%, 25%)
HSVhsv(10, 74%, 40%)
CMYKcmyk(0%, 61.8%, 73.5%, 60%)
CIE-LABlab(24.81, 27.53, 22.00)
CIE-LCHlch(24.81, 35.24, 38.63°)
OKLaboklab(36.23% 0.0791 0.0506)
OKLCHoklch(36.23% 0.094 32.6)
XYZxyz(6.4035, 4.3558, 1.5403)
Luminance0.0435 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#66271B #1B5A66
analogous
#661B34 #66271B #664C1B
triadic
#66271B #1B6627 #271B66
tetradic
#66271B #34661B #1B5A66 #4C1B66
square
#66271B #34661B #1B5A66 #4C1B66
split-complementary
#66271B #1B664C #1B3466
monochromatic
#180906 #36140E #66271B #963A28 #C74C35

Accessibility & contrast

On white

11.22
#66271B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#66271B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #66271B
11.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##66271B#FFFFFF#000000##FFFFFF
##66271B1.0011.221.8711.22
#FFFFFF11.221.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#38321A
Deuteranopia (green-blind)
#474019
Tritanopia (blue-blind)
#701A24
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #66271b;
/* rgb */ color: rgb(102, 39, 27);
/* oklch */ color: oklch(36.2% 0.094 32.6);
Tailwind
colors: {
  custom: {
    50: '#976457',
    500: '#66271b',
    950: '#000000',
  },
}
SCSS
$custom: #66271b;
$custom-light: #976457;
$custom-dark: #000000;
JSON
{
  "hex": "#66271b",
  "rgb": {
    "r": 102,
    "g": 39,
    "b": 27
  },
  "hsl": {
    "h": 9.6,
    "s": 58.14,
    "l": 25.294
  },
  "oklch": {
    "l": 0.36231,
    "c": 0.09388,
    "h": 32.6
  },
  "luminance": 0.04355
}

Semantic roles & 50–950 ramp

primary
#66271B
secondary
#418D9B
accent
#C9E146
background
#F9F6F5
surface
#F2EBE9
border
#CCC6C5
text
#0E0503
muted
#7E7A78

Preview Lab

Preview with #66271B

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

Preview Lab → · Contrast checker → · Palette generator →

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