#271A22#271A22

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

Color values

HEX#271A22
RGBrgb(39, 26, 34)
HSLhsl(323, 20%, 13%)
HSVhsv(323, 33%, 15%)
CMYKcmyk(0%, 33.3%, 12.8%, 84.7%)
CIE-LABlab(11.18, 8.14, -2.96)
CIE-LCHlch(11.18, 8.66, 340.00°)
OKLaboklab(23.74% 0.0237 -0.0078)
OKLCHoklch(23.74% 0.025 341.7)
XYZxyz(1.4948, 1.2857, 1.6825)
Luminance0.0129 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#271A22 #1A271F
analogous
#251A27 #271A22 #271A1B
triadic
#271A22 #22271A #1A2227
tetradic
#271A22 #27251A #1A271F #1A1B27
square
#271A22 #27251A #1A271F #1A1B27
split-complementary
#271A22 #1B271A #1A2725
monochromatic
#120C10 #120C10 #271A22 #4C3242 #704B62

Accessibility & contrast

On white

16.70
#271A22 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#271A22 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #271A22
16.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##271A22#FFFFFF#000000##FFFFFF
##271A221.0016.701.2616.70
#FFFFFF16.701.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B1D22
Deuteranopia (green-blind)
#1E1F22
Tritanopia (blue-blind)
#291A1D
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #271a22;
/* rgb */ color: rgb(39, 26, 34);
/* oklch */ color: oklch(23.7% 0.025 341.7);
Tailwind
colors: {
  custom: {
    50: '#61565c',
    500: '#271a22',
    950: '#000000',
  },
}
SCSS
$custom: #271a22;
$custom-light: #61565c;
$custom-dark: #000000;
JSON
{
  "hex": "#271a22",
  "rgb": {
    "r": 39,
    "g": 26,
    "b": 34
  },
  "hsl": {
    "h": 323.077,
    "s": 20,
    "l": 12.745
  },
  "oklch": {
    "l": 0.23742,
    "c": 0.02492,
    "h": 341.7
  },
  "luminance": 0.01286
}

Semantic roles & 50–950 ramp

primary
#271A22
secondary
#43594C
accent
#BD8B6B
background
#F5F5F5
surface
#E9E9E9
border
#C5C5C5
text
#050304
muted
#797879

Preview Lab

Preview with #271A22

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

Preview Lab → · Contrast checker → · Palette generator →

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