#271F20#271F20

#271F20 is a very dark, near-neutral red. Relative luminance 0.015; OKLCH L 24.9% C 0.012 H 9.5°. Best body text is #FFFFFF at 16.11:1 contrast (WCAG AA passes).

Color values

HEX#271F20
RGBrgb(39, 31, 32)
HSLhsl(353, 11%, 14%)
HSVhsv(353, 21%, 15%)
CMYKcmyk(0%, 20.5%, 17.9%, 84.7%)
CIE-LABlab(12.71, 4.07, 0.76)
CIE-LCHlch(12.71, 4.14, 10.62°)
OKLaboklab(24.9% 0.0123 0.0021)
OKLCHoklch(24.9% 0.012 9.5)
XYZxyz(1.5874, 1.5156, 1.5751)
Luminance0.0152 (WCAG relative)
Temperatureneutral
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#271F20 #1F2726
analogous
#271F24 #271F20 #27221F
triadic
#271F20 #20271F #1F2027
tetradic
#271F20 #24271F #1F2726 #221F27
square
#271F20 #24271F #1F2726 #221F27
split-complementary
#271F20 #1F2722 #1F2427
monochromatic
#110E0E #110E0E #271F20 #493A3C #6B5558

Accessibility & contrast

On white

16.11
#271F20 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#271F20 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #271F20
16.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##271F20#FFFFFF#000000##FFFFFF
##271F201.0016.111.3016.11
#FFFFFF16.111.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#202020
Deuteranopia (green-blind)
#222120
Tritanopia (blue-blind)
#291E1F
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #271f20;
/* rgb */ color: rgb(39, 31, 32);
/* oklch */ color: oklch(24.9% 0.012 9.5);
Tailwind
colors: {
  custom: {
    50: '#615a5b',
    500: '#271f20',
    950: '#000000',
  },
}
SCSS
$custom: #271f20;
$custom-light: #615a5b;
$custom-dark: #000000;
JSON
{
  "hex": "#271f20",
  "rgb": {
    "r": 39,
    "g": 31,
    "b": 32
  },
  "hsl": {
    "h": 352.5,
    "s": 11.429,
    "l": 13.725
  },
  "oklch": {
    "l": 0.24902,
    "c": 0.01249,
    "h": 9.5
  },
  "luminance": 0.01516
}

Semantic roles & 50–950 ramp

primary
#271F20
secondary
#4A5756
accent
#B4AC73
background
#F5F5F5
surface
#E9E9E9
border
#C5C5C5
text
#050304
muted
#797879

Preview Lab

Preview with #271F20

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

Preview Lab → · Contrast checker → · Palette generator →

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