#642017#642017

#642017 is a dark, moderate red. Relative luminance 0.038; OKLCH L 34.8% C 0.100 H 30.4°. Best body text is #FFFFFF at 11.93:1 contrast (WCAG AA passes).

Color values

HEX#642017
RGBrgb(100, 32, 23)
HSLhsl(7, 63%, 24%)
HSVhsv(7, 77%, 39%)
CMYKcmyk(0%, 68%, 77%, 60.8%)
CIE-LABlab(23.02, 30.11, 22.36)
CIE-LCHlch(23.02, 37.50, 36.60°)
OKLaboklab(34.78% 0.0865 0.0507)
OKLCHoklch(34.78% 0.1 30.4)
XYZxyz(5.9273, 3.8050, 1.2328)
Luminance0.0380 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#642017 #175B64
analogous
#641735 #642017 #644717
triadic
#642017 #176420 #201764
tetradic
#642017 #356417 #175B64 #471764
square
#642017 #356417 #175B64 #471764
split-complementary
#642017 #176447 #173564
monochromatic
#190806 #32100C #642017 #963022 #C8402E

Accessibility & contrast

On white

11.93
#642017 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#642017 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #642017
11.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##642017#FFFFFF#000000##FFFFFF
##6420171.0011.931.7611.93
#FFFFFF11.931.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#332E16
Deuteranopia (green-blind)
#443C15
Tritanopia (blue-blind)
#6E0F1E
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #642017;
/* rgb */ color: rgb(100, 32, 23);
/* oklch */ color: oklch(34.8% 0.100 30.4);
Tailwind
colors: {
  custom: {
    50: '#965f54',
    500: '#642017',
    950: '#000000',
  },
}
SCSS
$custom: #642017;
$custom-light: #965f54;
$custom-dark: #000000;
JSON
{
  "hex": "#642017",
  "rgb": {
    "r": 100,
    "g": 32,
    "b": 23
  },
  "hsl": {
    "h": 7.013,
    "s": 62.602,
    "l": 24.118
  },
  "oklch": {
    "l": 0.34784,
    "c": 0.10022,
    "h": 30.4
  },
  "luminance": 0.03804
}

Semantic roles & 50–950 ramp

primary
#642017
secondary
#3C8F9A
accent
#D3E642
background
#F9F5F4
surface
#F2E9E7
border
#CCC5C3
text
#0E0502
muted
#7E7978

Preview Lab

Preview with #642017

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

Preview Lab → · Contrast checker → · Palette generator →

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