#642F28#642F28

#642F28 is a dark, moderate red. Relative luminance 0.049; OKLCH L 37.5% C 0.078 H 29.0°. Best body text is #FFFFFF at 10.61:1 contrast (WCAG AA passes).

Color values

HEX#642F28
RGBrgb(100, 47, 40)
HSLhsl(7, 43%, 27%)
HSVhsv(7, 60%, 39%)
CMYKcmyk(0%, 53%, 60%, 60.8%)
CIE-LABlab(26.44, 23.17, 15.56)
CIE-LCHlch(26.44, 27.91, 33.89°)
OKLaboklab(37.46% 0.0683 0.0379)
OKLCHoklch(37.46% 0.078 29)
XYZxyz(6.6556, 4.8963, 2.6017)
Luminance0.0490 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#642F28 #285D64
analogous
#64283F #642F28 #644D28
triadic
#642F28 #28642F #2F2864
tetradic
#642F28 #3F6428 #285D64 #4D2864
square
#642F28 #3F6428 #285D64 #4D2864
split-complementary
#642F28 #28644D #283F64
monochromatic
#160A09 #381A17 #642F28 #904439 #B85B4E

Accessibility & contrast

On white

10.61
#642F28 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #642F28
10.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##642F28#FFFFFF#000000##FFFFFF
##642F281.0010.611.9810.61
#FFFFFF10.611.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C3827
Deuteranopia (green-blind)
#494327
Tritanopia (blue-blind)
#6D262D
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #642f28;
/* rgb */ color: rgb(100, 47, 40);
/* oklch */ color: oklch(37.5% 0.078 29.0);
Tailwind
colors: {
  custom: {
    50: '#946962',
    500: '#642f28',
    950: '#000000',
  },
}
SCSS
$custom: #642f28;
$custom-light: #946962;
$custom-dark: #000000;
JSON
{
  "hex": "#642f28",
  "rgb": {
    "r": 100,
    "g": 47,
    "b": 40
  },
  "hsl": {
    "h": 7,
    "s": 42.857,
    "l": 27.451
  },
  "oklch": {
    "l": 0.37465,
    "c": 0.07812,
    "h": 29
  },
  "luminance": 0.04896
}

Semantic roles & 50–950 ramp

primary
#642F28
secondary
#518F97
accent
#C4D355
background
#F9F6F5
surface
#F2EBEA
border
#CCC6C6
text
#0E0605
muted
#7E7A79

Preview Lab

Preview with #642F28

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

Preview Lab → · Contrast checker → · Palette generator →

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