#662E20#662E20

#662E20 is a dark, moderate red. Relative luminance 0.049; OKLCH L 37.5% C 0.084 H 35.2°. Best body text is #FFFFFF at 10.62:1 contrast (WCAG AA passes).

Color values

HEX#662E20
RGBrgb(102, 46, 32)
HSLhsl(12, 52%, 26%)
HSVhsv(12, 69%, 40%)
CMYKcmyk(0%, 54.9%, 68.6%, 60%)
CIE-LABlab(26.40, 23.96, 20.73)
CIE-LCHlch(26.40, 31.69, 40.87°)
OKLaboklab(37.46% 0.0691 0.0487)
OKLCHoklch(37.46% 0.084 35.2)
XYZxyz(6.7178, 4.8839, 1.9551)
Luminance0.0488 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#662E20 #205866
analogous
#662035 #662E20 #665120
triadic
#662E20 #20662E #2E2066
tetradic
#662E20 #356620 #205866 #512066
square
#662E20 #356620 #205866 #512066
split-complementary
#662E20 #206651 #203566
monochromatic
#170B07 #371911 #662E20 #95432F #C2583E

Accessibility & contrast

On white

10.62
#662E20 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#662E20 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #662E20
10.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##662E20#FFFFFF#000000##FFFFFF
##662E201.0010.621.9810.62
#FFFFFF10.621.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D371F
Deuteranopia (green-blind)
#4A431F
Tritanopia (blue-blind)
#70232B
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #662e20;
/* rgb */ color: rgb(102, 46, 32);
/* oklch */ color: oklch(37.5% 0.084 35.2);
Tailwind
colors: {
  custom: {
    50: '#96685b',
    500: '#662e20',
    950: '#000000',
  },
}
SCSS
$custom: #662e20;
$custom-light: #96685b;
$custom-dark: #000000;
JSON
{
  "hex": "#662e20",
  "rgb": {
    "r": 102,
    "g": 46,
    "b": 32
  },
  "hsl": {
    "h": 12,
    "s": 52.239,
    "l": 26.275
  },
  "oklch": {
    "l": 0.37459,
    "c": 0.08447,
    "h": 35.2
  },
  "luminance": 0.04883
}

Semantic roles & 50–950 ramp

primary
#662E20
secondary
#488A9A
accent
#BFDC4C
background
#F9F6F5
surface
#F2EBE9
border
#CCC6C5
text
#0E0604
muted
#7E7A79

Preview Lab

Preview with #662E20

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

Preview Lab → · Contrast checker → · Palette generator →

#662E20 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva