#662A22#662A22

#662A22 is a dark, moderate red. Relative luminance 0.046; OKLCH L 36.8% C 0.088 H 29.6°. Best body text is #FFFFFF at 10.94:1 contrast (WCAG AA passes).

Color values

HEX#662A22
RGBrgb(102, 42, 34)
HSLhsl(7, 50%, 27%)
HSVhsv(7, 67%, 40%)
CMYKcmyk(0%, 58.8%, 66.7%, 60%)
CIE-LABlab(25.55, 26.37, 18.41)
CIE-LCHlch(25.55, 32.16, 34.93°)
OKLaboklab(36.83% 0.0769 0.0438)
OKLCHoklch(36.83% 0.088 29.6)
XYZxyz(6.5968, 4.5970, 2.0530)
Luminance0.0460 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#662A22 #225E66
analogous
#66223C #662A22 #664C22
triadic
#662A22 #22662A #2A2266
tetradic
#662A22 #3C6622 #225E66 #4C2266
square
#662A22 #3C6622 #225E66 #4C2266
split-complementary
#662A22 #22664C #223C66
monochromatic
#170908 #381713 #662A22 #943D31 #C05142

Accessibility & contrast

On white

10.94
#662A22 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#662A22 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #662A22
10.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##662A22#FFFFFF#000000##FFFFFF
##662A221.0010.941.9210.94
#FFFFFF10.941.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#393521
Deuteranopia (green-blind)
#484121
Tritanopia (blue-blind)
#701F28
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #662a22;
/* rgb */ color: rgb(102, 42, 34);
/* oklch */ color: oklch(36.8% 0.088 29.6);
Tailwind
colors: {
  custom: {
    50: '#96665d',
    500: '#662a22',
    950: '#000000',
  },
}
SCSS
$custom: #662a22;
$custom-light: #96665d;
$custom-dark: #000000;
JSON
{
  "hex": "#662a22",
  "rgb": {
    "r": 102,
    "g": 42,
    "b": 34
  },
  "hsl": {
    "h": 7.059,
    "s": 50,
    "l": 26.667
  },
  "oklch": {
    "l": 0.36826,
    "c": 0.08848,
    "h": 29.6
  },
  "luminance": 0.04596
}

Semantic roles & 50–950 ramp

primary
#662A22
secondary
#4A909A
accent
#C9DA4E
background
#F9F6F5
surface
#F2EBE9
border
#CCC6C5
text
#0E0604
muted
#7E7A79

Preview Lab

Preview with #662A22

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

Preview Lab → · Contrast checker → · Palette generator →

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