#660802#660802

#660802 is a dark, vivid red. Relative luminance 0.030; OKLCH L 32.6% C 0.126 H 30.3°. Best body text is #FFFFFF at 13.12:1 contrast (WCAG AA passes).

Color values

HEX#660802
RGBrgb(102, 8, 2)
HSLhsl(4, 96%, 20%)
HSVhsv(4, 98%, 40%)
CMYKcmyk(0%, 92.2%, 98%, 60%)
CIE-LABlab(20.06, 38.88, 29.67)
CIE-LCHlch(20.06, 48.91, 37.35°)
OKLaboklab(32.59% 0.1091 0.0636)
OKLCHoklch(32.59% 0.126 30.3)
XYZxyz(5.5780, 3.0038, 0.3435)
Luminance0.0300 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#660802 #026066
analogous
#66022E #660802 #663A02
triadic
#660802 #026608 #080266
tetradic
#660802 #2E6602 #026066 #3A0266
square
#660802 #2E6602 #026066 #3A0266
split-complementary
#660802 #02663A #022E66
monochromatic
#1E0201 #2A0301 #660802 #A20D03 #DE1104

Accessibility & contrast

On white

13.12
#660802 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#660802 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #660802
13.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##660802#FFFFFF#000000##FFFFFF
##6608021.0013.121.6013.12
#FFFFFF13.121.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A2300
Deuteranopia (green-blind)
#403800
Tritanopia (blue-blind)
#710008
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #660802;
/* rgb */ color: rgb(102, 8, 2);
/* oklch */ color: oklch(32.6% 0.126 30.3);
Tailwind
colors: {
  custom: {
    50: '#9a5547',
    500: '#660802',
    950: '#000000',
  },
}
SCSS
$custom: #660802;
$custom-light: #9a5547;
$custom-dark: #000000;
JSON
{
  "hex": "#660802",
  "rgb": {
    "r": 102,
    "g": 8,
    "b": 2
  },
  "hsl": {
    "h": 3.6,
    "s": 96.154,
    "l": 20.392
  },
  "oklch": {
    "l": 0.32586,
    "c": 0.12628,
    "h": 30.3
  },
  "luminance": 0.03003
}

Semantic roles & 50–950 ramp

primary
#660802
secondary
#209CA4
accent
#F2FF29
background
#FAF5F4
surface
#F4E9E6
border
#CEC5C2
text
#100300
muted
#7F7877

Preview Lab

Preview with #660802

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

Preview Lab → · Contrast checker → · Palette generator →

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