#642A2F#642A2F

#642A2F is a dark, moderate red. Relative luminance 0.046; OKLCH L 36.8% C 0.084 H 16.9°. Best body text is #FFFFFF at 10.97:1 contrast (WCAG AA passes).

Color values

HEX#642A2F
RGBrgb(100, 42, 47)
HSLhsl(355, 41%, 28%)
HSVhsv(355, 58%, 39%)
CMYKcmyk(0%, 58%, 53%, 60.8%)
CIE-LABlab(25.48, 26.70, 9.64)
CIE-LCHlch(25.48, 28.39, 19.85°)
OKLaboklab(36.79% 0.0803 0.0244)
OKLCHoklch(36.79% 0.084 16.9)
XYZxyz(6.5971, 4.5712, 3.2237)
Luminance0.0457 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#642A2F #2A645F
analogous
#642A4C #642A2F #64422A
triadic
#642A2F #2F642A #2A2F64
tetradic
#642A2F #4C642A #2A645F #422A64
square
#642A2F #4C642A #2A645F #422A64
split-complementary
#642A2F #2A6442 #2A4C64
monochromatic
#16090A #39181B #642A2F #8F3C43 #B6525B

Accessibility & contrast

On white

10.97
#642A2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#642A2F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #642A2F
10.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##642A2F#FFFFFF#000000##FFFFFF
##642A2F1.0010.971.9110.97
#FFFFFF10.971.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#37352F
Deuteranopia (green-blind)
#45412E
Tritanopia (blue-blind)
#6D222C
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #642a2f;
/* rgb */ color: rgb(100, 42, 47);
/* oklch */ color: oklch(36.8% 0.084 16.9);
Tailwind
colors: {
  custom: {
    50: '#946667',
    500: '#642a2f',
    950: '#000000',
  },
}
SCSS
$custom: #642a2f;
$custom-light: #946667;
$custom-dark: #000000;
JSON
{
  "hex": "#642a2f",
  "rgb": {
    "r": 100,
    "g": 42,
    "b": 47
  },
  "hsl": {
    "h": 354.828,
    "s": 40.845,
    "l": 27.843
  },
  "oklch": {
    "l": 0.36787,
    "c": 0.08395,
    "h": 16.9
  },
  "luminance": 0.0457
}

Semantic roles & 50–950 ramp

primary
#642A2F
secondary
#539691
accent
#D1C657
background
#F9F6F6
surface
#F2EBEB
border
#CCC6C6
text
#0E0606
muted
#7E7A7A

Preview Lab

Preview with #642A2F

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

Preview Lab → · Contrast checker → · Palette generator →

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