#641218#641218

#641218 is a dark, moderate red. Relative luminance 0.032; OKLCH L 33.2% C 0.114 H 22.6°. Best body text is #FFFFFF at 12.79:1 contrast (WCAG AA passes).

Color values

HEX#641218
RGBrgb(100, 18, 24)
HSLhsl(356, 69%, 23%)
HSVhsv(356, 82%, 39%)
CMYKcmyk(0%, 82%, 76%, 60.8%)
CIE-LABlab(20.86, 36.11, 19.21)
CIE-LCHlch(20.86, 40.90, 28.02°)
OKLaboklab(33.18% 0.1056 0.044)
OKLCHoklch(33.18% 0.114 22.6)
XYZxyz(5.6374, 3.2088, 1.1865)
Luminance0.0321 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#641218 #12645E
analogous
#641241 #641218 #643512
triadic
#641218 #186412 #121864
tetradic
#641218 #416412 #12645E #351264
square
#641218 #416412 #12645E #351264
split-complementary
#641218 #126435 #124164
monochromatic
#1A0506 #30090C #641218 #981B24 #CC2531

Accessibility & contrast

On white

12.79
#641218 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#641218 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #641218
12.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##641218#FFFFFF#000000##FFFFFF
##6412181.0012.791.6412.79
#FFFFFF12.791.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B2717
Deuteranopia (green-blind)
#3F3815
Tritanopia (blue-blind)
#6F0015
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #641218;
/* rgb */ color: rgb(100, 18, 24);
/* oklch */ color: oklch(33.2% 0.114 22.6);
Tailwind
colors: {
  custom: {
    50: '#975854',
    500: '#641218',
    950: '#000000',
  },
}
SCSS
$custom: #641218;
$custom-light: #975854;
$custom-dark: #000000;
JSON
{
  "hex": "#641218",
  "rgb": {
    "r": 100,
    "g": 18,
    "b": 24
  },
  "hsl": {
    "h": 355.61,
    "s": 69.492,
    "l": 23.137
  },
  "oklch": {
    "l": 0.33178,
    "c": 0.11444,
    "h": 22.6
  },
  "luminance": 0.03208
}

Semantic roles & 50–950 ramp

primary
#641218
secondary
#369C94
accent
#ECDF3B
background
#F9F5F4
surface
#F2E9E7
border
#CCC5C3
text
#0F0402
muted
#7E7978

Preview Lab

Preview with #641218

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

Preview Lab → · Contrast checker → · Palette generator →

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