#640307#640307

#640307 is a dark, vivid red. Relative luminance 0.028; OKLCH L 31.9% C 0.127 H 27.0°. Best body text is #FFFFFF at 13.48:1 contrast (WCAG AA passes).

Color values

HEX#640307
RGBrgb(100, 3, 7)
HSLhsl(358, 94%, 20%)
HSVhsv(358, 97%, 39%)
CMYKcmyk(0%, 97%, 93%, 60.8%)
CIE-LABlab(19.19, 39.69, 26.51)
CIE-LCHlch(19.19, 47.73, 33.74°)
OKLaboklab(31.87% 0.113 0.0576)
OKLCHoklch(31.87% 0.127 27)
XYZxyz(5.3271, 2.7907, 0.4592)
Luminance0.0279 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#640307 #036460
analogous
#640337 #640307 #643003
triadic
#640307 #076403 #030764
tetradic
#640307 #376403 #036460 #300364
square
#640307 #376403 #036460 #300364
split-complementary
#640307 #036430 #033764
monochromatic
#1E0102 #290103 #640307 #9F050B #DB070F

Accessibility & contrast

On white

13.48
#640307 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#640307 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #640307
13.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##640307#FFFFFF#000000##FFFFFF
##6403071.0013.481.5613.48
#FFFFFF13.481.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#272106
Deuteranopia (green-blind)
#3D3602
Tritanopia (blue-blind)
#6F0006
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #640307;
/* rgb */ color: rgb(100, 3, 7);
/* oklch */ color: oklch(31.9% 0.127 27.0);
Tailwind
colors: {
  custom: {
    50: '#995349',
    500: '#640307',
    950: '#000000',
  },
}
SCSS
$custom: #640307;
$custom-light: #995349;
$custom-dark: #000000;
JSON
{
  "hex": "#640307",
  "rgb": {
    "r": 100,
    "g": 3,
    "b": 7
  },
  "hsl": {
    "h": 357.526,
    "s": 94.175,
    "l": 20.196
  },
  "oklch": {
    "l": 0.31873,
    "c": 0.12681,
    "h": 27
  },
  "luminance": 0.0279
}

Semantic roles & 50–950 ramp

primary
#640307
secondary
#21A29C
accent
#FFF629
background
#FAF5F4
surface
#F4E9E7
border
#CEC5C3
text
#0F0301
muted
#7F7877

Preview Lab

Preview with #640307

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

Preview Lab → · Contrast checker → · Palette generator →

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