#271E1E#271E1E

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

Color values

HEX#271E1E
RGBrgb(39, 30, 30)
HSLhsl(0, 13%, 14%)
HSVhsv(0, 23%, 15%)
CMYKcmyk(0%, 23.1%, 23.1%, 84.7%)
CIE-LABlab(12.31, 4.36, 1.65)
CIE-LCHlch(12.31, 4.67, 20.70°)
OKLaboklab(24.57% 0.0134 0.0044)
OKLCHoklch(24.57% 0.014 18.2)
XYZxyz(1.5353, 1.4537, 1.4278)
Luminance0.0145 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#271E1E #1E2727
analogous
#271E22 #271E1E #27221E
triadic
#271E1E #1E271E #1E1E27
tetradic
#271E1E #22271E #1E2727 #221E27
square
#271E1E #22271E #1E2727 #221E27
split-complementary
#271E1E #1E2722 #1E2227
monochromatic
#110D0D #110D0D #271E1E #4A3939 #6C5353

Accessibility & contrast

On white

16.27
#271E1E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #271E1E
16.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##271E1E#FFFFFF#000000##FFFFFF
##271E1E1.0016.271.2916.27
#FFFFFF16.271.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#201F1E
Deuteranopia (green-blind)
#22211E
Tritanopia (blue-blind)
#291D1E
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #271e1e;
/* rgb */ color: rgb(39, 30, 30);
/* oklch */ color: oklch(24.6% 0.014 18.2);
Tailwind
colors: {
  custom: {
    50: '#615959',
    500: '#271e1e',
    950: '#000000',
  },
}
SCSS
$custom: #271e1e;
$custom-light: #615959;
$custom-dark: #000000;
JSON
{
  "hex": "#271e1e",
  "rgb": {
    "r": 39,
    "g": 30,
    "b": 30
  },
  "hsl": {
    "h": 0,
    "s": 13.043,
    "l": 13.529
  },
  "oklch": {
    "l": 0.24571,
    "c": 0.01406,
    "h": 18.2
  },
  "luminance": 0.01454
}

Semantic roles & 50–950 ramp

primary
#271E1E
secondary
#495858
accent
#B6B672
background
#F5F5F5
surface
#E9E9E9
border
#C5C5C5
text
#050303
muted
#797878

Preview Lab

Preview with #271E1E

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

Preview Lab → · Contrast checker → · Palette generator →

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