#642218#642218

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

Color values

HEX#642218
RGBrgb(100, 34, 24)
HSLhsl(8, 61%, 24%)
HSVhsv(8, 76%, 39%)
CMYKcmyk(0%, 66%, 76%, 60.8%)
CIE-LABlab(23.41, 29.16, 22.17)
CIE-LCHlch(23.41, 36.63, 37.25°)
OKLaboklab(35.08% 0.0837 0.0505)
OKLCHoklch(35.08% 0.098 31.1)
XYZxyz(5.9931, 3.9202, 1.3051)
Luminance0.0392 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#642218 #185A64
analogous
#641834 #642218 #644818
triadic
#642218 #186422 #221864
tetradic
#642218 #346418 #185A64 #481864
square
#642218 #346418 #185A64 #481864
split-complementary
#642218 #186448 #183464
monochromatic
#190806 #33110C #642218 #953324 #C74430

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##642218#FFFFFF#000000##FFFFFF
##6422181.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)
#342F17
Deuteranopia (green-blind)
#443D16
Tritanopia (blue-blind)
#6E1220
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #642218;
/* rgb */ color: rgb(100, 34, 24);
/* oklch */ color: oklch(35.1% 0.098 31.1);
Tailwind
colors: {
  custom: {
    50: '#966055',
    500: '#642218',
    950: '#000000',
  },
}
SCSS
$custom: #642218;
$custom-light: #966055;
$custom-dark: #000000;
JSON
{
  "hex": "#642218",
  "rgb": {
    "r": 100,
    "g": 34,
    "b": 24
  },
  "hsl": {
    "h": 7.895,
    "s": 61.29,
    "l": 24.314
  },
  "oklch": {
    "l": 0.35082,
    "c": 0.09778,
    "h": 31.1
  },
  "luminance": 0.03919
}

Semantic roles & 50–950 ramp

primary
#642218
secondary
#3E8E9A
accent
#CFE443
background
#F9F5F4
surface
#F2EAE8
border
#CCC6C4
text
#0E0503
muted
#7E7978

Preview Lab

Preview with #642218

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

Preview Lab → · Contrast checker → · Palette generator →

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