#642818#642818

#642818 is a dark, moderate red. Relative luminance 0.043; OKLCH L 36.0% C 0.091 H 35.9°. Best body text is #FFFFFF at 11.30:1 contrast (WCAG AA passes).

Color values

HEX#642818
RGBrgb(100, 40, 24)
HSLhsl(13, 61%, 24%)
HSVhsv(13, 76%, 39%)
CMYKcmyk(0%, 60%, 76%, 60.8%)
CIE-LABlab(24.62, 25.97, 23.55)
CIE-LCHlch(24.62, 35.06, 42.20°)
OKLaboklab(36% 0.0738 0.0535)
OKLCHoklch(36% 0.091 35.9)
XYZxyz(6.1798, 4.2937, 1.3673)
Luminance0.0429 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#642818 #185464
analogous
#64182E #642818 #644E18
triadic
#642818 #186428 #281864
tetradic
#642818 #2E6418 #185464 #4E1864
square
#642818 #2E6418 #185464 #4E1864
split-complementary
#642818 #18644E #182E64
monochromatic
#190A06 #33140C #642818 #953C24 #C74F30

Accessibility & contrast

On white

11.30
#642818 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#642818 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #642818
11.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##642818#FFFFFF#000000##FFFFFF
##6428181.0011.301.8611.30
#FFFFFF11.301.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#383216
Deuteranopia (green-blind)
#473F16
Tritanopia (blue-blind)
#6E1B24
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #642818;
/* rgb */ color: rgb(100, 40, 24);
/* oklch */ color: oklch(36.0% 0.091 35.9);
Tailwind
colors: {
  custom: {
    50: '#966455',
    500: '#642818',
    950: '#000000',
  },
}
SCSS
$custom: #642818;
$custom-light: #966455;
$custom-dark: #000000;
JSON
{
  "hex": "#642818",
  "rgb": {
    "r": 100,
    "g": 40,
    "b": 24
  },
  "hsl": {
    "h": 12.632,
    "s": 61.29,
    "l": 24.314
  },
  "oklch": {
    "l": 0.35999,
    "c": 0.09117,
    "h": 35.9
  },
  "luminance": 0.04293
}

Semantic roles & 50–950 ramp

primary
#642818
secondary
#3E879A
accent
#C3E443
background
#F9F6F5
surface
#F2EBE8
border
#CCC6C4
text
#0E0503
muted
#7E7A78

Preview Lab

Preview with #642818

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

Preview Lab → · Contrast checker → · Palette generator →

#642818 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva