#271A18#271A18

#271A18 is a very dark, muted red. Relative luminance 0.012; OKLCH L 23.4% C 0.021 H 28.7°. Best body text is #FFFFFF at 16.84:1 contrast (WCAG AA passes).

Color values

HEX#271A18
RGBrgb(39, 26, 24)
HSLhsl(8, 24%, 12%)
HSVhsv(8, 38%, 15%)
CMYKcmyk(0%, 33.3%, 38.5%, 84.7%)
CIE-LABlab(10.82, 6.10, 3.94)
CIE-LCHlch(10.82, 7.27, 32.83°)
OKLaboklab(23.35% 0.0187 0.0102)
OKLCHoklch(23.35% 0.021 28.7)
XYZxyz(1.3710, 1.2361, 1.0304)
Luminance0.0124 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#271A18 #182527
analogous
#27181E #271A18 #272218
triadic
#271A18 #18271A #1A1827
tetradic
#271A18 #1E2718 #182527 #221827
square
#271A18 #1E2718 #182527 #221827
split-complementary
#271A18 #182722 #181E27
monochromatic
#130D0C #130D0C #271A18 #4D332F #734D47

Accessibility & contrast

On white

16.84
#271A18 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.25
#271A18 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #271A18
16.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##271A18#FFFFFF#000000##FFFFFF
##271A181.0016.841.2516.84
#FFFFFF16.841.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D1C18
Deuteranopia (green-blind)
#201E18
Tritanopia (blue-blind)
#2A1819
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #271a18;
/* rgb */ color: rgb(39, 26, 24);
/* oklch */ color: oklch(23.4% 0.021 28.7);
Tailwind
colors: {
  custom: {
    50: '#615654',
    500: '#271a18',
    950: '#000000',
  },
}
SCSS
$custom: #271a18;
$custom-light: #615654;
$custom-dark: #000000;
JSON
{
  "hex": "#271a18",
  "rgb": {
    "r": 39,
    "g": 26,
    "b": 24
  },
  "hsl": {
    "h": 8,
    "s": 23.81,
    "l": 12.353
  },
  "oklch": {
    "l": 0.23353,
    "c": 0.02129,
    "h": 28.7
  },
  "luminance": 0.01236
}

Semantic roles & 50–950 ramp

primary
#271A18
secondary
#40575A
accent
#B4C068
background
#F5F5F4
surface
#EAE9E7
border
#C6C5C3
text
#050302
muted
#797878

Preview Lab

Preview with #271A18

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

Preview Lab → · Contrast checker → · Palette generator →

#271A18 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva