#271D18#271D18

#271D18 is a very dark, near-neutral orange. Relative luminance 0.014; OKLCH L 24.1% C 0.018 H 47.9°. Best body text is #FFFFFF at 16.47:1 contrast (WCAG AA passes).

Color values

HEX#271D18
RGBrgb(39, 29, 24)
HSLhsl(20, 24%, 12%)
HSVhsv(20, 38%, 15%)
CMYKcmyk(0%, 25.6%, 38.5%, 84.7%)
CIE-LABlab(11.80, 3.93, 5.31)
CIE-LCHlch(11.80, 6.61, 53.46°)
OKLaboklab(24.11% 0.0123 0.0136)
OKLCHoklch(24.11% 0.018 47.9)
XYZxyz(1.4410, 1.3761, 1.0537)
Luminance0.0138 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#271D18 #182227
analogous
#27181B #271D18 #272518
triadic
#271D18 #18271D #1D1827
tetradic
#271D18 #1B2718 #182227 #251827
square
#271D18 #1B2718 #182227 #251827
split-complementary
#271D18 #182725 #181B27
monochromatic
#130E0C #130E0C #271D18 #4D392F #735547

Accessibility & contrast

On white

16.47
#271D18 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.28
#271D18 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #271D18
16.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##271D18#FFFFFF#000000##FFFFFF
##271D181.0016.471.2816.47
#FFFFFF16.471.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#201E18
Deuteranopia (green-blind)
#222018
Tritanopia (blue-blind)
#2A1B1C
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #271d18;
/* rgb */ color: rgb(39, 29, 24);
/* oklch */ color: oklch(24.1% 0.018 47.9);
Tailwind
colors: {
  custom: {
    50: '#615854',
    500: '#271d18',
    950: '#000000',
  },
}
SCSS
$custom: #271d18;
$custom-light: #615854;
$custom-dark: #000000;
JSON
{
  "hex": "#271d18",
  "rgb": {
    "r": 39,
    "g": 29,
    "b": 24
  },
  "hsl": {
    "h": 20,
    "s": 23.81,
    "l": 12.353
  },
  "oklch": {
    "l": 0.24112,
    "c": 0.01833,
    "h": 47.9
  },
  "luminance": 0.01376
}

Semantic roles & 50–950 ramp

primary
#271D18
secondary
#40525A
accent
#A3C068
background
#F5F5F4
surface
#EAE9E7
border
#C6C5C3
text
#050302
muted
#797878

Preview Lab

Preview with #271D18

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

Preview Lab → · Contrast checker → · Palette generator →

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