#271E22#271E22

#271E22 is a very dark, near-neutral pink. Relative luminance 0.015; OKLCH L 24.7% C 0.016 H 349.8°. Best body text is #FFFFFF at 16.22:1 contrast (WCAG AA passes).

Color values

HEX#271E22
RGBrgb(39, 30, 34)
HSLhsl(333, 13%, 14%)
HSVhsv(333, 23%, 15%)
CMYKcmyk(0%, 23.1%, 12.8%, 84.7%)
CIE-LABlab(12.45, 5.24, -1.07)
CIE-LCHlch(12.45, 5.34, 348.43°)
OKLaboklab(24.73% 0.0154 -0.0028)
OKLCHoklch(24.73% 0.016 349.8)
XYZxyz(1.5897, 1.4754, 1.7141)
Luminance0.0147 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#271E22 #1E2723
analogous
#271E26 #271E22 #271E1E
triadic
#271E22 #22271E #1E2227
tetradic
#271E22 #26271E #1E2723 #1E1E27
square
#271E22 #26271E #1E2723 #1E1E27
split-complementary
#271E22 #1E271E #1E2627
monochromatic
#110D0F #110D0F #271E22 #4A3940 #6C535E

Accessibility & contrast

On white

16.22
#271E22 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #271E22
16.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##271E22#FFFFFF#000000##FFFFFF
##271E221.0016.221.3016.22
#FFFFFF16.221.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F2022
Deuteranopia (green-blind)
#212122
Tritanopia (blue-blind)
#281E1F
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #271e22;
/* rgb */ color: rgb(39, 30, 34);
/* oklch */ color: oklch(24.7% 0.016 349.8);
Tailwind
colors: {
  custom: {
    50: '#61595c',
    500: '#271e22',
    950: '#000000',
  },
}
SCSS
$custom: #271e22;
$custom-light: #61595c;
$custom-dark: #000000;
JSON
{
  "hex": "#271e22",
  "rgb": {
    "r": 39,
    "g": 30,
    "b": 34
  },
  "hsl": {
    "h": 333.333,
    "s": 13.043,
    "l": 13.529
  },
  "oklch": {
    "l": 0.24727,
    "c": 0.01563,
    "h": 349.8
  },
  "luminance": 0.01475
}

Semantic roles & 50–950 ramp

primary
#271E22
secondary
#495851
accent
#B69872
background
#F5F5F5
surface
#E9E9E9
border
#C5C5C5
text
#050304
muted
#797879

Preview Lab

Preview with #271E22

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

Preview Lab → · Contrast checker → · Palette generator →

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