#640306#640306

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

Color values

HEX#640306
RGBrgb(100, 3, 6)
HSLhsl(358, 94%, 20%)
HSVhsv(358, 97%, 39%)
CMYKcmyk(0%, 97%, 94%, 60.8%)
CIE-LABlab(19.18, 39.66, 26.91)
CIE-LCHlch(19.18, 47.93, 34.15°)
OKLaboklab(31.86% 0.1127 0.0585)
OKLCHoklch(31.86% 0.127 27.4)
XYZxyz(5.3217, 2.7885, 0.4303)
Luminance0.0279 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#640306 #036461
analogous
#640337 #640306 #643003
triadic
#640306 #066403 #030664
tetradic
#640306 #376403 #036461 #300364
square
#640306 #376403 #036461 #300364
split-complementary
#640306 #036430 #033764
monochromatic
#1E0102 #290102 #640306 #9F050A #DB070D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##640306#FFFFFF#000000##FFFFFF
##6403061.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)
#272105
Deuteranopia (green-blind)
#3D3601
Tritanopia (blue-blind)
#6F0006
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #640306;
/* rgb */ color: rgb(100, 3, 6);
/* oklch */ color: oklch(31.9% 0.127 27.4);
Tailwind
colors: {
  custom: {
    50: '#995349',
    500: '#640306',
    950: '#000000',
  },
}
SCSS
$custom: #640306;
$custom-light: #995349;
$custom-dark: #000000;
JSON
{
  "hex": "#640306",
  "rgb": {
    "r": 100,
    "g": 3,
    "b": 6
  },
  "hsl": {
    "h": 358.144,
    "s": 94.175,
    "l": 20.196
  },
  "oklch": {
    "l": 0.31863,
    "c": 0.12692,
    "h": 27.4
  },
  "luminance": 0.02788
}

Semantic roles & 50–950 ramp

primary
#640306
secondary
#21A29E
accent
#FFF829
background
#FAF5F4
surface
#F4E9E6
border
#CEC5C2
text
#0F0300
muted
#7F7877

Preview Lab

Preview with #640306

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

Preview Lab → · Contrast checker → · Palette generator →

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