#40191C#40191C

#40191C is a dark, moderate red. Relative luminance 0.019; OKLCH L 27.3% C 0.061 H 17.3°. Best body text is #FFFFFF at 15.29:1 contrast (WCAG AA passes).

Color values

HEX#40191C
RGBrgb(64, 25, 28)
HSLhsl(355, 44%, 17%)
HSVhsv(355, 61%, 25%)
CMYKcmyk(0%, 60.9%, 56.2%, 74.9%)
CIE-LABlab(14.79, 19.33, 7.15)
CIE-LCHlch(14.79, 20.61, 20.31°)
OKLaboklab(27.28% 0.0581 0.0181)
OKLCHoklch(27.28% 0.061 17.3)
XYZxyz(2.6718, 1.8694, 1.3185)
Luminance0.0187 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40191C #19403D
analogous
#40192F #40191C #402A19
triadic
#40191C #1C4019 #191C40
tetradic
#40191C #2F4019 #19403D #2A1940
square
#40191C #2F4019 #19403D #2A1940
split-complementary
#40191C #19402A #192F40
monochromatic
#16090A #16090A #40191C #6C2A2F #983B43

Accessibility & contrast

On white

15.29
#40191C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#40191C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #40191C
15.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40191C#FFFFFF#000000##FFFFFF
##40191C1.0015.291.3715.29
#FFFFFF15.291.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#22201C
Deuteranopia (green-blind)
#2B281B
Tritanopia (blue-blind)
#46131A
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #40191c;
/* rgb */ color: rgb(64, 25, 28);
/* oklch */ color: oklch(27.3% 0.061 17.3);
Tailwind
colors: {
  custom: {
    50: '#775757',
    500: '#40191c',
    950: '#000000',
  },
}
SCSS
$custom: #40191c;
$custom-light: #775757;
$custom-dark: #000000;
JSON
{
  "hex": "#40191c",
  "rgb": {
    "r": 64,
    "g": 25,
    "b": 28
  },
  "hsl": {
    "h": 355.385,
    "s": 43.82,
    "l": 17.451
  },
  "oklch": {
    "l": 0.27285,
    "c": 0.06089,
    "h": 17.3
  },
  "luminance": 0.01869
}

Semantic roles & 50–950 ramp

primary
#40191C
secondary
#3F7672
accent
#D4CA54
background
#F7F5F5
surface
#EDE9E9
border
#C8C5C5
text
#090303
muted
#7B7878

Preview Lab

Preview with #40191C

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

Preview Lab → · Contrast checker → · Palette generator →

#40191C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva