#662012#662012

#662012 is a dark, moderate red. Relative luminance 0.039; OKLCH L 35.1% C 0.104 H 33.2°. Best body text is #FFFFFF at 11.80:1 contrast (WCAG AA passes).

Color values

HEX#662012
RGBrgb(102, 32, 18)
HSLhsl(10, 70%, 24%)
HSVhsv(10, 82%, 40%)
CMYKcmyk(0%, 68.6%, 82.4%, 60%)
CIE-LABlab(23.35, 30.66, 25.90)
CIE-LCHlch(23.35, 40.13, 40.19°)
OKLaboklab(35.09% 0.0868 0.0569)
OKLCHoklch(35.09% 0.104 33.2)
XYZxyz(6.1059, 3.9024, 1.0039)
Luminance0.0390 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#662012 #125866
analogous
#66122E #662012 #664A12
triadic
#662012 #126620 #201266
tetradic
#662012 #2E6612 #125866 #4A1266
square
#662012 #2E6612 #125866 #4A1266
split-complementary
#662012 #12664A #122E66
monochromatic
#1A0805 #321009 #662012 #9A301B #CE4124

Accessibility & contrast

On white

11.80
#662012 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#662012 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #662012
11.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##662012#FFFFFF#000000##FFFFFF
##6620121.0011.801.7811.80
#FFFFFF11.801.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#342E10
Deuteranopia (green-blind)
#453D0F
Tritanopia (blue-blind)
#710D1D
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #662012;
/* rgb */ color: rgb(102, 32, 18);
/* oklch */ color: oklch(35.1% 0.104 33.2);
Tailwind
colors: {
  custom: {
    50: '#985f51',
    500: '#662012',
    950: '#000000',
  },
}
SCSS
$custom: #662012;
$custom-light: #985f51;
$custom-dark: #000000;
JSON
{
  "hex": "#662012",
  "rgb": {
    "r": 102,
    "g": 32,
    "b": 18
  },
  "hsl": {
    "h": 10,
    "s": 70,
    "l": 23.529
  },
  "oklch": {
    "l": 0.35086,
    "c": 0.10379,
    "h": 33.2
  },
  "luminance": 0.03901
}

Semantic roles & 50–950 ramp

primary
#662012
secondary
#368C9E
accent
#CFED3B
background
#FAF5F4
surface
#F3E9E7
border
#CDC5C3
text
#0F0502
muted
#7F7978

Preview Lab

Preview with #662012

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

Preview Lab → · Contrast checker → · Palette generator →

#662012 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva