#641226#641226

#641226 is a dark, moderate red. Relative luminance 0.033; OKLCH L 33.5% C 0.114 H 12.4°. Best body text is #FFFFFF at 12.68:1 contrast (WCAG AA passes).

Color values

HEX#641226
RGBrgb(100, 18, 38)
HSLhsl(345, 69%, 23%)
HSVhsv(345, 82%, 39%)
CMYKcmyk(0%, 82%, 62%, 60.8%)
CIE-LABlab(21.14, 37.01, 9.89)
CIE-LCHlch(21.14, 38.30, 14.97°)
OKLaboklab(33.48% 0.1117 0.0246)
OKLCHoklch(33.48% 0.114 12.4)
XYZxyz(5.8223, 3.2827, 2.1604)
Luminance0.0328 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#641226 #126450
analogous
#64124F #641226 #642712
triadic
#641226 #266412 #122664
tetradic
#641226 #4F6412 #126450 #271264
square
#641226 #4F6412 #126450 #271264
split-complementary
#641226 #126427 #124F64
monochromatic
#1A050A #300912 #641226 #981B3A #CC254D

Accessibility & contrast

On white

12.68
#641226 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#641226 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #641226
12.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##641226#FFFFFF#000000##FFFFFF
##6412261.0012.681.6612.68
#FFFFFF12.681.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#292826
Deuteranopia (green-blind)
#3E3924
Tritanopia (blue-blind)
#6E001B
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #641226;
/* rgb */ color: rgb(100, 18, 38);
/* oklch */ color: oklch(33.5% 0.114 12.4);
Tailwind
colors: {
  custom: {
    50: '#965960',
    500: '#641226',
    950: '#000000',
  },
}
SCSS
$custom: #641226;
$custom-light: #965960;
$custom-dark: #000000;
JSON
{
  "hex": "#641226",
  "rgb": {
    "r": 100,
    "g": 18,
    "b": 38
  },
  "hsl": {
    "h": 345.366,
    "s": 69.492,
    "l": 23.137
  },
  "oklch": {
    "l": 0.33477,
    "c": 0.11437,
    "h": 12.4
  },
  "luminance": 0.03282
}

Semantic roles & 50–950 ramp

primary
#641226
secondary
#369C83
accent
#ECC13B
background
#F9F5F5
surface
#F2E9E9
border
#CCC5C5
text
#0E0404
muted
#7E7979

Preview Lab

Preview with #641226

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

Preview Lab → · Contrast checker → · Palette generator →

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