#271A20#271A20

#271A20 is a very dark, muted pink. Relative luminance 0.013; OKLCH L 23.7% C 0.023 H 349.7°. Best body text is #FFFFFF at 16.74:1 contrast (WCAG AA passes).

Color values

HEX#271A20
RGBrgb(39, 26, 32)
HSLhsl(332, 20%, 13%)
HSVhsv(332, 33%, 15%)
CMYKcmyk(0%, 33.3%, 17.9%, 84.7%)
CIE-LABlab(11.10, 7.69, -1.60)
CIE-LCHlch(11.10, 7.86, 348.27°)
OKLaboklab(23.66% 0.0227 -0.0041)
OKLCHoklch(23.66% 0.023 349.7)
XYZxyz(1.4668, 1.2745, 1.5350)
Luminance0.0127 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#271A20 #1A2721
analogous
#271A26 #271A20 #271A1A
triadic
#271A20 #20271A #1A2027
tetradic
#271A20 #26271A #1A2721 #1A1A27
square
#271A20 #26271A #1A2721 #1A1A27
split-complementary
#271A20 #1A271A #1A2627
monochromatic
#120C0F #120C0F #271A20 #4C323E #704B5C

Accessibility & contrast

On white

16.74
#271A20 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.25
#271A20 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #271A20
16.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##271A20#FFFFFF#000000##FFFFFF
##271A201.0016.741.2516.74
#FFFFFF16.741.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B1C20
Deuteranopia (green-blind)
#1E1E20
Tritanopia (blue-blind)
#291A1C
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #271a20;
/* rgb */ color: rgb(39, 26, 32);
/* oklch */ color: oklch(23.7% 0.023 349.7);
Tailwind
colors: {
  custom: {
    50: '#61565b',
    500: '#271a20',
    950: '#000000',
  },
}
SCSS
$custom: #271a20;
$custom-light: #61565b;
$custom-dark: #000000;
JSON
{
  "hex": "#271a20",
  "rgb": {
    "r": 39,
    "g": 26,
    "b": 32
  },
  "hsl": {
    "h": 332.308,
    "s": 20,
    "l": 12.745
  },
  "oklch": {
    "l": 0.23655,
    "c": 0.0231,
    "h": 349.7
  },
  "luminance": 0.01274
}

Semantic roles & 50–950 ramp

primary
#271A20
secondary
#43594F
accent
#BD976B
background
#F5F5F5
surface
#E9E9E9
border
#C5C5C5
text
#050304
muted
#797879

Preview Lab

Preview with #271A20

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

Preview Lab → · Contrast checker → · Palette generator →

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