#271E20#271E20

#271E20 is a very dark, near-neutral red. Relative luminance 0.015; OKLCH L 24.6% C 0.014 H 3.3°. Best body text is #FFFFFF at 16.24:1 contrast (WCAG AA passes).

Color values

HEX#271E20
RGBrgb(39, 30, 32)
HSLhsl(347, 13%, 14%)
HSVhsv(347, 23%, 15%)
CMYKcmyk(0%, 23.1%, 17.9%, 84.7%)
CIE-LABlab(12.38, 4.79, 0.28)
CIE-LCHlch(12.38, 4.80, 3.40°)
OKLaboklab(24.65% 0.0144 0.0008)
OKLCHoklch(24.65% 0.014 3.3)
XYZxyz(1.5617, 1.4642, 1.5666)
Luminance0.0146 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#271E20 #1E2725
analogous
#271E24 #271E20 #27201E
triadic
#271E20 #20271E #1E2027
tetradic
#271E20 #24271E #1E2725 #201E27
square
#271E20 #24271E #1E2725 #201E27
split-complementary
#271E20 #1E2720 #1E2427
monochromatic
#110D0E #110D0E #271E20 #4A393C #6C5359

Accessibility & contrast

On white

16.24
#271E20 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#271E20 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #271E20
16.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##271E20#FFFFFF#000000##FFFFFF
##271E201.0016.241.2916.24
#FFFFFF16.241.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F1F20
Deuteranopia (green-blind)
#212120
Tritanopia (blue-blind)
#291D1F
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #271e20;
/* rgb */ color: rgb(39, 30, 32);
/* oklch */ color: oklch(24.6% 0.014 3.3);
Tailwind
colors: {
  custom: {
    50: '#61595b',
    500: '#271e20',
    950: '#000000',
  },
}
SCSS
$custom: #271e20;
$custom-light: #61595b;
$custom-dark: #000000;
JSON
{
  "hex": "#271e20",
  "rgb": {
    "r": 39,
    "g": 30,
    "b": 32
  },
  "hsl": {
    "h": 346.667,
    "s": 13.043,
    "l": 13.529
  },
  "oklch": {
    "l": 0.24647,
    "c": 0.01441,
    "h": 3.3
  },
  "luminance": 0.01464
}

Semantic roles & 50–950 ramp

primary
#271E20
secondary
#495854
accent
#B6A772
background
#F5F5F5
surface
#E9E9E9
border
#C5C5C5
text
#050304
muted
#797879

Preview Lab

Preview with #271E20

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

Preview Lab → · Contrast checker → · Palette generator →

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