#642E26#642E26

#642E26 is a dark, moderate red. Relative luminance 0.048; OKLCH L 37.2% C 0.080 H 30.0°. Best body text is #FFFFFF at 10.71:1 contrast (WCAG AA passes).

Color values

HEX#642E26
RGBrgb(100, 46, 38)
HSLhsl(8, 45%, 27%)
HSVhsv(8, 62%, 39%)
CMYKcmyk(0%, 54%, 62%, 60.8%)
CIE-LABlab(26.17, 23.57, 16.52)
CIE-LCHlch(26.17, 28.79, 35.02°)
OKLaboklab(37.25% 0.0692 0.04)
OKLCHoklch(37.25% 0.08 30)
XYZxyz(6.5829, 4.8040, 2.4139)
Luminance0.0480 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#642E26 #265C64
analogous
#64263D #642E26 #644D26
triadic
#642E26 #26642E #2E2664
tetradic
#642E26 #3D6426 #265C64 #4D2664
square
#642E26 #3D6426 #265C64 #4D2664
split-complementary
#642E26 #26644D #263D64
monochromatic
#160A08 #381A15 #642E26 #904237 #BA594A

Accessibility & contrast

On white

10.71
#642E26 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#642E26 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #642E26
10.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##642E26#FFFFFF#000000##FFFFFF
##642E261.0010.711.9610.71
#FFFFFF10.711.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B3725
Deuteranopia (green-blind)
#494225
Tritanopia (blue-blind)
#6E252C
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #642e26;
/* rgb */ color: rgb(100, 46, 38);
/* oklch */ color: oklch(37.2% 0.080 30.0);
Tailwind
colors: {
  custom: {
    50: '#946860',
    500: '#642e26',
    950: '#000000',
  },
}
SCSS
$custom: #642e26;
$custom-light: #946860;
$custom-dark: #000000;
JSON
{
  "hex": "#642e26",
  "rgb": {
    "r": 100,
    "g": 46,
    "b": 38
  },
  "hsl": {
    "h": 7.742,
    "s": 44.928,
    "l": 27.059
  },
  "oklch": {
    "l": 0.37248,
    "c": 0.07991,
    "h": 30
  },
  "luminance": 0.04803
}

Semantic roles & 50–950 ramp

primary
#642E26
secondary
#4F8E97
accent
#C4D553
background
#F9F6F5
surface
#F2EBE9
border
#CCC6C5
text
#0E0605
muted
#7E7A79

Preview Lab

Preview with #642E26

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

Preview Lab → · Contrast checker → · Palette generator →

#642E26 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva