#642E27#642E27

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

Color values

HEX#642E27
RGBrgb(100, 46, 39)
HSLhsl(7, 44%, 27%)
HSVhsv(7, 61%, 39%)
CMYKcmyk(0%, 54%, 61%, 60.8%)
CIE-LABlab(26.19, 23.66, 15.89)
CIE-LCHlch(26.19, 28.50, 33.89°)
OKLaboklab(37.27% 0.0697 0.0386)
OKLCHoklch(37.27% 0.08 29)
XYZxyz(6.5993, 4.8105, 2.5001)
Luminance0.0481 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#642E27 #275D64
analogous
#64273F #642E27 #644D27
triadic
#642E27 #27642E #2E2764
tetradic
#642E27 #3F6427 #275D64 #4D2764
square
#642E27 #3F6427 #275D64 #4D2764
split-complementary
#642E27 #27644D #273F64
monochromatic
#160A09 #381A16 #642E27 #904238 #B9594C

Accessibility & contrast

On white

10.70
#642E27 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #642E27
10.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##642E27#FFFFFF#000000##FFFFFF
##642E271.0010.701.9610.70
#FFFFFF10.701.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B3726
Deuteranopia (green-blind)
#484226
Tritanopia (blue-blind)
#6D252C
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #642e27;
/* rgb */ color: rgb(100, 46, 39);
/* oklch */ color: oklch(37.3% 0.080 29.0);
Tailwind
colors: {
  custom: {
    50: '#946861',
    500: '#642e27',
    950: '#000000',
  },
}
SCSS
$custom: #642e27;
$custom-light: #946861;
$custom-dark: #000000;
JSON
{
  "hex": "#642e27",
  "rgb": {
    "r": 100,
    "g": 46,
    "b": 39
  },
  "hsl": {
    "h": 6.885,
    "s": 43.885,
    "l": 27.255
  },
  "oklch": {
    "l": 0.37269,
    "c": 0.07964,
    "h": 29
  },
  "luminance": 0.0481
}

Semantic roles & 50–950 ramp

primary
#642E27
secondary
#508F97
accent
#C5D454
background
#F9F6F5
surface
#F2EBE9
border
#CCC6C5
text
#0E0605
muted
#7E7A79

Preview Lab

Preview with #642E27

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

Preview Lab → · Contrast checker → · Palette generator →

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