#40190F#40190F

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

Color values

HEX#40190F
RGBrgb(64, 25, 15)
HSLhsl(12, 62%, 15%)
HSVhsv(12, 77%, 25%)
CMYKcmyk(0%, 60.9%, 76.6%, 74.9%)
CIE-LABlab(14.51, 18.13, 15.46)
CIE-LCHlch(14.51, 23.82, 40.45°)
OKLaboklab(26.99% 0.052 0.0371)
OKLCHoklch(26.99% 0.064 35.5)
XYZxyz(2.5484, 1.8201, 0.6689)
Luminance0.0182 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40190F #0F3640
analogous
#400F1D #40190F #40310F
triadic
#40190F #0F4019 #190F40
tetradic
#40190F #1D400F #0F3640 #310F40
square
#40190F #1D400F #0F3640 #310F40
split-complementary
#40190F #0F4031 #0F1D40
monochromatic
#190A06 #190A06 #40190F #722C1B #A34026

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##40190F#FFFFFF#000000##FFFFFF
##40190F1.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)
#231F0E
Deuteranopia (green-blind)
#2D280E
Tritanopia (blue-blind)
#471117
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #40190f;
/* rgb */ color: rgb(64, 25, 15);
/* oklch */ color: oklch(27.0% 0.064 35.5);
Tailwind
colors: {
  custom: {
    50: '#79574e',
    500: '#40190f',
    950: '#000000',
  },
}
SCSS
$custom: #40190f;
$custom-light: #79574e;
$custom-dark: #000000;
JSON
{
  "hex": "#40190f",
  "rgb": {
    "r": 64,
    "g": 25,
    "b": 15
  },
  "hsl": {
    "h": 12.245,
    "s": 62.025,
    "l": 15.49
  },
  "oklch": {
    "l": 0.2699,
    "c": 0.06382,
    "h": 35.5
  },
  "luminance": 0.0182
}

Semantic roles & 50–950 ramp

primary
#40190F
secondary
#306B7A
accent
#C4E543
background
#F7F5F4
surface
#EEE9E7
border
#C9C5C3
text
#090301
muted
#7B7877

Preview Lab

Preview with #40190F

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

Preview Lab → · Contrast checker → · Palette generator →

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