#40191E#40191E

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

Color values

HEX#40191E
RGBrgb(64, 25, 30)
HSLhsl(352, 44%, 17%)
HSVhsv(352, 61%, 25%)
CMYKcmyk(0%, 60.9%, 53.1%, 74.9%)
CIE-LABlab(14.84, 19.56, 5.78)
CIE-LCHlch(14.84, 20.40, 16.46°)
OKLaboklab(27.34% 0.0591 0.0148)
OKLCHoklch(27.34% 0.061 14.1)
XYZxyz(2.6965, 1.8793, 1.4488)
Luminance0.0188 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40191E #19403B
analogous
#401931 #40191E #402819
triadic
#40191E #1E4019 #191E40
tetradic
#40191E #314019 #19403B #281940
square
#40191E #314019 #19403B #281940
split-complementary
#40191E #194028 #193140
monochromatic
#16090A #16090A #40191E #6C2A33 #983B47

Accessibility & contrast

On white

15.26
#40191E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#40191E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #40191E
15.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40191E#FFFFFF#000000##FFFFFF
##40191E1.0015.261.3815.26
#FFFFFF15.261.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#21201E
Deuteranopia (green-blind)
#2B281D
Tritanopia (blue-blind)
#46141B
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #40191e;
/* rgb */ color: rgb(64, 25, 30);
/* oklch */ color: oklch(27.3% 0.061 14.1);
Tailwind
colors: {
  custom: {
    50: '#775759',
    500: '#40191e',
    950: '#000000',
  },
}
SCSS
$custom: #40191e;
$custom-light: #775759;
$custom-dark: #000000;
JSON
{
  "hex": "#40191e",
  "rgb": {
    "r": 64,
    "g": 25,
    "b": 30
  },
  "hsl": {
    "h": 352.308,
    "s": 43.82,
    "l": 17.451
  },
  "oklch": {
    "l": 0.27344,
    "c": 0.06092,
    "h": 14.1
  },
  "luminance": 0.01879
}

Semantic roles & 50–950 ramp

primary
#40191E
secondary
#3F766F
accent
#D4C354
background
#F7F5F5
surface
#EDE9E9
border
#C8C5C5
text
#090303
muted
#7B7878

Preview Lab

Preview with #40191E

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

Preview Lab → · Contrast checker → · Palette generator →

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