#642F26#642F26

#642F26 is a dark, moderate red. Relative luminance 0.049; OKLCH L 37.4% C 0.079 H 31.1°. Best body text is #FFFFFF at 10.63:1 contrast (WCAG AA passes).

Color values

HEX#642F26
RGBrgb(100, 47, 38)
HSLhsl(9, 45%, 27%)
HSVhsv(9, 62%, 39%)
CMYKcmyk(0%, 53%, 62%, 60.8%)
CIE-LABlab(26.40, 22.99, 16.81)
CIE-LCHlch(26.40, 28.48, 36.18°)
OKLaboklab(37.42% 0.0674 0.0406)
OKLCHoklch(37.42% 0.079 31.1)
XYZxyz(6.6224, 4.8830, 2.4271)
Luminance0.0488 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#642F26 #265B64
analogous
#64263C #642F26 #644E26
triadic
#642F26 #26642F #2F2664
tetradic
#642F26 #3C6426 #265B64 #4E2664
square
#642F26 #3C6426 #265B64 #4E2664
split-complementary
#642F26 #26644E #263C64
monochromatic
#160A08 #381A15 #642F26 #904437 #BA5A4A

Accessibility & contrast

On white

10.63
#642F26 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#642F26 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #642F26
10.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##642F26#FFFFFF#000000##FFFFFF
##642F261.0010.631.9810.63
#FFFFFF10.631.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C3725
Deuteranopia (green-blind)
#494325
Tritanopia (blue-blind)
#6D262D
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #642f26;
/* rgb */ color: rgb(100, 47, 38);
/* oklch */ color: oklch(37.4% 0.079 31.1);
Tailwind
colors: {
  custom: {
    50: '#946960',
    500: '#642f26',
    950: '#000000',
  },
}
SCSS
$custom: #642f26;
$custom-light: #946960;
$custom-dark: #000000;
JSON
{
  "hex": "#642f26",
  "rgb": {
    "r": 100,
    "g": 47,
    "b": 38
  },
  "hsl": {
    "h": 8.71,
    "s": 44.928,
    "l": 27.059
  },
  "oklch": {
    "l": 0.37423,
    "c": 0.0787,
    "h": 31.1
  },
  "luminance": 0.04882
}

Semantic roles & 50–950 ramp

primary
#642F26
secondary
#4F8D97
accent
#C2D553
background
#F9F6F5
surface
#F2EBE9
border
#CCC6C5
text
#0E0605
muted
#7E7A79

Preview Lab

Preview with #642F26

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

Preview Lab → · Contrast checker → · Palette generator →

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