#642212#642212

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

Color values

HEX#642212
RGBrgb(100, 34, 18)
HSLhsl(12, 69%, 23%)
HSVhsv(12, 82%, 39%)
CMYKcmyk(0%, 66%, 82%, 60.8%)
CIE-LABlab(23.33, 28.86, 25.76)
CIE-LCHlch(23.33, 38.69, 41.75°)
OKLaboklab(35% 0.0815 0.0567)
OKLCHoklch(35% 0.099 34.8)
XYZxyz(5.9374, 3.8979, 1.0119)
Luminance0.0390 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#642212 #125464
analogous
#64122B #642212 #644B12
triadic
#642212 #126422 #221264
tetradic
#642212 #2B6412 #125464 #4B1264
square
#642212 #2B6412 #125464 #4B1264
split-complementary
#642212 #12644B #122B64
monochromatic
#1A0905 #301009 #642212 #98341B #CC4525

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##642212#FFFFFF#000000##FFFFFF
##6422121.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)
#352E10
Deuteranopia (green-blind)
#453D10
Tritanopia (blue-blind)
#6F111F
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #642212;
/* rgb */ color: rgb(100, 34, 18);
/* oklch */ color: oklch(35.0% 0.099 34.8);
Tailwind
colors: {
  custom: {
    50: '#966051',
    500: '#642212',
    950: '#000000',
  },
}
SCSS
$custom: #642212;
$custom-light: #966051;
$custom-dark: #000000;
JSON
{
  "hex": "#642212",
  "rgb": {
    "r": 100,
    "g": 34,
    "b": 18
  },
  "hsl": {
    "h": 11.707,
    "s": 69.492,
    "l": 23.137
  },
  "oklch": {
    "l": 0.35002,
    "c": 0.0993,
    "h": 34.8
  },
  "luminance": 0.03897
}

Semantic roles & 50–950 ramp

primary
#642212
secondary
#36889C
accent
#CAEC3B
background
#F9F5F4
surface
#F2EAE7
border
#CCC6C3
text
#0F0502
muted
#7E7978

Preview Lab

Preview with #642212

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

Preview Lab → · Contrast checker → · Palette generator →

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