#40190E#40190E

#40190E is a dark, moderate red. Relative luminance 0.018; OKLCH L 27.0% C 0.064 H 36.6°. Best body text is #FFFFFF at 15.40:1 contrast (WCAG AA passes).

Color values

HEX#40190E
RGBrgb(64, 25, 14)
HSLhsl(13, 64%, 15%)
HSVhsv(13, 78%, 25%)
CMYKcmyk(0%, 60.9%, 78.1%, 74.9%)
CIE-LABlab(14.50, 18.06, 15.95)
CIE-LCHlch(14.50, 24.10, 41.45°)
OKLaboklab(26.97% 0.0515 0.0383)
OKLCHoklch(26.97% 0.064 36.6)
XYZxyz(2.5415, 1.8173, 0.6323)
Luminance0.0182 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40190E #0E3540
analogous
#400E1C #40190E #40320E
triadic
#40190E #0E4019 #190E40
tetradic
#40190E #1C400E #0E3540 #320E40
square
#40190E #1C400E #0E3540 #320E40
split-complementary
#40190E #0E4032 #0E1C40
monochromatic
#190A05 #190A05 #40190E #722D19 #A44024

Accessibility & contrast

On white

15.40
#40190E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#40190E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #40190E
15.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40190E#FFFFFF#000000##FFFFFF
##40190E1.0015.401.3615.40
#FFFFFF15.401.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#231F0D
Deuteranopia (green-blind)
#2D280D
Tritanopia (blue-blind)
#471117
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #40190e;
/* rgb */ color: rgb(64, 25, 14);
/* oklch */ color: oklch(27.0% 0.064 36.6);
Tailwind
colors: {
  custom: {
    50: '#79574d',
    500: '#40190e',
    950: '#000000',
  },
}
SCSS
$custom: #40190e;
$custom-light: #79574d;
$custom-dark: #000000;
JSON
{
  "hex": "#40190e",
  "rgb": {
    "r": 64,
    "g": 25,
    "b": 14
  },
  "hsl": {
    "h": 13.2,
    "s": 64.103,
    "l": 15.294
  },
  "oklch": {
    "l": 0.26973,
    "c": 0.06419,
    "h": 36.6
  },
  "luminance": 0.01817
}

Semantic roles & 50–950 ramp

primary
#40190E
secondary
#2F6A7B
accent
#C2E741
background
#F7F5F4
surface
#EEE9E7
border
#C9C5C3
text
#090301
muted
#7B7877

Preview Lab

Preview with #40190E

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

Preview Lab → · Contrast checker → · Palette generator →

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