#642312#642312

#642312 is a dark, moderate red. Relative luminance 0.040; OKLCH L 35.1% C 0.098 H 35.6°. Best body text is #FFFFFF at 11.73:1 contrast (WCAG AA passes).

Color values

HEX#642312
RGBrgb(100, 35, 18)
HSLhsl(12, 69%, 23%)
HSVhsv(12, 82%, 39%)
CMYKcmyk(0%, 65%, 82%, 60.8%)
CIE-LABlab(23.53, 28.35, 25.97)
CIE-LCHlch(23.53, 38.44, 42.49°)
OKLaboklab(35.15% 0.0799 0.0572)
OKLCHoklch(35.15% 0.098 35.6)
XYZxyz(5.9664, 3.9559, 1.0215)
Luminance0.0396 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#642312 #125364
analogous
#64122A #642312 #644C12
triadic
#642312 #126423 #231264
tetradic
#642312 #2A6412 #125364 #4C1264
square
#642312 #2A6412 #125364 #4C1264
split-complementary
#642312 #12644C #122A64
monochromatic
#1A0905 #301109 #642312 #98351B #CC4725

Accessibility & contrast

On white

11.73
#642312 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#642312 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #642312
11.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##642312#FFFFFF#000000##FFFFFF
##6423121.0011.731.7911.73
#FFFFFF11.731.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#352F10
Deuteranopia (green-blind)
#453D10
Tritanopia (blue-blind)
#6F131F
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #642312;
/* rgb */ color: rgb(100, 35, 18);
/* oklch */ color: oklch(35.1% 0.098 35.6);
Tailwind
colors: {
  custom: {
    50: '#966151',
    500: '#642312',
    950: '#000000',
  },
}
SCSS
$custom: #642312;
$custom-light: #966151;
$custom-dark: #000000;
JSON
{
  "hex": "#642312",
  "rgb": {
    "r": 100,
    "g": 35,
    "b": 18
  },
  "hsl": {
    "h": 12.439,
    "s": 69.492,
    "l": 23.137
  },
  "oklch": {
    "l": 0.35148,
    "c": 0.09825,
    "h": 35.6
  },
  "luminance": 0.03955
}

Semantic roles & 50–950 ramp

primary
#642312
secondary
#36879C
accent
#C8EC3B
background
#F9F5F4
surface
#F2EAE7
border
#CCC6C3
text
#0F0502
muted
#7E7978

Preview Lab

Preview with #642312

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

Preview Lab → · Contrast checker → · Palette generator →

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