#271E1F#271E1F

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

Color values

HEX#271E1F
RGBrgb(39, 30, 31)
HSLhsl(353, 13%, 14%)
HSVhsv(353, 23%, 15%)
CMYKcmyk(0%, 23.1%, 20.5%, 84.7%)
CIE-LABlab(12.34, 4.57, 0.97)
CIE-LCHlch(12.34, 4.68, 11.93°)
OKLaboklab(24.61% 0.0139 0.0026)
OKLCHoklch(24.61% 0.014 10.6)
XYZxyz(1.5483, 1.4589, 1.4961)
Luminance0.0146 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#271E1F #1E2726
analogous
#271E23 #271E1F #27211E
triadic
#271E1F #1F271E #1E1F27
tetradic
#271E1F #23271E #1E2726 #211E27
square
#271E1F #23271E #1E2726 #211E27
split-complementary
#271E1F #1E2721 #1E2327
monochromatic
#110D0E #110D0E #271E1F #4A393A #6C5356

Accessibility & contrast

On white

16.26
#271E1F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #271E1F
16.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##271E1F#FFFFFF#000000##FFFFFF
##271E1F1.0016.261.2916.26
#FFFFFF16.261.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F1F1F
Deuteranopia (green-blind)
#21211F
Tritanopia (blue-blind)
#291D1E
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #271e1f;
/* rgb */ color: rgb(39, 30, 31);
/* oklch */ color: oklch(24.6% 0.014 10.6);
Tailwind
colors: {
  custom: {
    50: '#61595a',
    500: '#271e1f',
    950: '#000000',
  },
}
SCSS
$custom: #271e1f;
$custom-light: #61595a;
$custom-dark: #000000;
JSON
{
  "hex": "#271e1f",
  "rgb": {
    "r": 39,
    "g": 30,
    "b": 31
  },
  "hsl": {
    "h": 353.333,
    "s": 13.043,
    "l": 13.529
  },
  "oklch": {
    "l": 0.24609,
    "c": 0.01412,
    "h": 10.6
  },
  "luminance": 0.01459
}

Semantic roles & 50–950 ramp

primary
#271E1F
secondary
#495856
accent
#B6AE72
background
#F5F5F5
surface
#E9E9E9
border
#C5C5C5
text
#050303
muted
#797878

Preview Lab

Preview with #271E1F

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

Preview Lab → · Contrast checker → · Palette generator →

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