#40191B#40191B

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

Color values

HEX#40191B
RGBrgb(64, 25, 27)
HSLhsl(357, 44%, 17%)
HSVhsv(357, 61%, 25%)
CMYKcmyk(0%, 60.9%, 57.8%, 74.9%)
CIE-LABlab(14.76, 19.22, 7.84)
CIE-LCHlch(14.76, 20.75, 22.19°)
OKLaboklab(27.26% 0.0577 0.0197)
OKLCHoklch(27.26% 0.061 18.9)
XYZxyz(2.6600, 1.8647, 1.2565)
Luminance0.0186 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40191B #19403E
analogous
#40192F #40191B #402B19
triadic
#40191B #1B4019 #191B40
tetradic
#40191B #2F4019 #19403E #2B1940
square
#40191B #2F4019 #19403E #2B1940
split-complementary
#40191B #19402B #192F40
monochromatic
#160909 #160909 #40191B #6C2A2E #983B40

Accessibility & contrast

On white

15.30
#40191B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #40191B
15.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40191B#FFFFFF#000000##FFFFFF
##40191B1.0015.301.3715.30
#FFFFFF15.301.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.301.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #40191b;
/* rgb */ color: rgb(64, 25, 27);
/* oklch */ color: oklch(27.3% 0.061 18.9);
Tailwind
colors: {
  custom: {
    50: '#785757',
    500: '#40191b',
    950: '#000000',
  },
}
SCSS
$custom: #40191b;
$custom-light: #785757;
$custom-dark: #000000;
JSON
{
  "hex": "#40191b",
  "rgb": {
    "r": 64,
    "g": 25,
    "b": 27
  },
  "hsl": {
    "h": 356.923,
    "s": 43.82,
    "l": 17.451
  },
  "oklch": {
    "l": 0.27257,
    "c": 0.06092,
    "h": 18.9
  },
  "luminance": 0.01864
}

Semantic roles & 50–950 ramp

primary
#40191B
secondary
#3F7673
accent
#D4CD54
background
#F7F5F5
surface
#EDE9E9
border
#C8C5C5
text
#090303
muted
#7B7878

Preview Lab

Preview with #40191B

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

Preview Lab → · Contrast checker → · Palette generator →

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