#642412#642412

#642412 is a dark, moderate red. Relative luminance 0.040; OKLCH L 35.3% C 0.097 H 36.3°. Best body text is #FFFFFF at 11.65:1 contrast (WCAG AA passes).

Color values

HEX#642412
RGBrgb(100, 36, 18)
HSLhsl(13, 69%, 23%)
HSVhsv(13, 82%, 39%)
CMYKcmyk(0%, 64%, 82%, 60.8%)
CIE-LABlab(23.72, 27.82, 26.17)
CIE-LCHlch(23.72, 38.20, 43.24°)
OKLaboklab(35.3% 0.0783 0.0576)
OKLCHoklch(35.3% 0.097 36.3)
XYZxyz(5.9962, 4.0156, 1.0315)
Luminance0.0401 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#642412 #125264
analogous
#641229 #642412 #644D12
triadic
#642412 #126424 #241264
tetradic
#642412 #296412 #125264 #4D1264
square
#642412 #296412 #125264 #4D1264
split-complementary
#642412 #12644D #122964
monochromatic
#1A0905 #301109 #642412 #98371B #CC4925

Accessibility & contrast

On white

11.65
#642412 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#642412 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #642412
11.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##642412#FFFFFF#000000##FFFFFF
##6424121.0011.651.8011.65
#FFFFFF11.651.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#363010
Deuteranopia (green-blind)
#463E10
Tritanopia (blue-blind)
#6F1520
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #642412;
/* rgb */ color: rgb(100, 36, 18);
/* oklch */ color: oklch(35.3% 0.097 36.3);
Tailwind
colors: {
  custom: {
    50: '#966151',
    500: '#642412',
    950: '#000000',
  },
}
SCSS
$custom: #642412;
$custom-light: #966151;
$custom-dark: #000000;
JSON
{
  "hex": "#642412",
  "rgb": {
    "r": 100,
    "g": 36,
    "b": 18
  },
  "hsl": {
    "h": 13.171,
    "s": 69.492,
    "l": 23.137
  },
  "oklch": {
    "l": 0.35298,
    "c": 0.09721,
    "h": 36.3
  },
  "luminance": 0.04015
}

Semantic roles & 50–950 ramp

primary
#642412
secondary
#36869C
accent
#C5EC3B
background
#F9F5F4
surface
#F2EAE7
border
#CCC6C3
text
#0F0502
muted
#7E7978

Preview Lab

Preview with #642412

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

Preview Lab → · Contrast checker → · Palette generator →

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