#662018#662018

#662018 is a dark, moderate red. Relative luminance 0.039; OKLCH L 35.2% C 0.102 H 29.6°. Best body text is #FFFFFF at 11.77:1 contrast (WCAG AA passes).

Color values

HEX#662018
RGBrgb(102, 32, 24)
HSLhsl(6, 62%, 25%)
HSVhsv(6, 76%, 40%)
CMYKcmyk(0%, 68.6%, 76.5%, 60%)
CIE-LABlab(23.42, 30.94, 22.29)
CIE-LCHlch(23.42, 38.13, 35.77°)
OKLaboklab(35.17% 0.0891 0.0506)
OKLCHoklch(35.17% 0.102 29.6)
XYZxyz(6.1615, 3.9246, 1.2971)
Luminance0.0392 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#662018 #185E66
analogous
#661837 #662018 #664718
triadic
#662018 #186620 #201866
tetradic
#662018 #376618 #185E66 #471866
square
#662018 #376618 #185E66 #471866
split-complementary
#662018 #186647 #183766
monochromatic
#190806 #34100C #662018 #983024 #C93F2F

Accessibility & contrast

On white

11.77
#662018 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #662018
11.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##662018#FFFFFF#000000##FFFFFF
##6620181.0011.771.7811.77
#FFFFFF11.771.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#332E17
Deuteranopia (green-blind)
#453D16
Tritanopia (blue-blind)
#710E1F
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #662018;
/* rgb */ color: rgb(102, 32, 24);
/* oklch */ color: oklch(35.2% 0.102 29.6);
Tailwind
colors: {
  custom: {
    50: '#985f55',
    500: '#662018',
    950: '#000000',
  },
}
SCSS
$custom: #662018;
$custom-light: #985f55;
$custom-dark: #000000;
JSON
{
  "hex": "#662018",
  "rgb": {
    "r": 102,
    "g": 32,
    "b": 24
  },
  "hsl": {
    "h": 6.154,
    "s": 61.905,
    "l": 24.706
  },
  "oklch": {
    "l": 0.35166,
    "c": 0.10244,
    "h": 29.6
  },
  "luminance": 0.03924
}

Semantic roles & 50–950 ramp

primary
#662018
secondary
#3E929C
accent
#D4E543
background
#F9F5F4
surface
#F2E9E8
border
#CCC5C4
text
#0F0503
muted
#7E7978

Preview Lab

Preview with #662018

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

Preview Lab → · Contrast checker → · Palette generator →

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