#271D22#271D22

#271D22 is a very dark, near-neutral pink. Relative luminance 0.014; OKLCH L 24.5% C 0.018 H 347.0°. Best body text is #FFFFFF at 16.34:1 contrast (WCAG AA passes).

Color values

HEX#271D22
RGBrgb(39, 29, 34)
HSLhsl(330, 15%, 13%)
HSVhsv(330, 26%, 15%)
CMYKcmyk(0%, 25.6%, 12.8%, 84.7%)
CIE-LABlab(12.13, 5.96, -1.55)
CIE-LCHlch(12.13, 6.16, 345.43°)
OKLaboklab(24.48% 0.0174 -0.004)
OKLCHoklch(24.48% 0.018 347)
XYZxyz(1.5648, 1.4256, 1.7058)
Luminance0.0143 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#271D22 #1D2722
analogous
#271D27 #271D22 #271D1D
triadic
#271D22 #22271D #1D2227
tetradic
#271D22 #27271D #1D2722 #1D1D27
square
#271D22 #27271D #1D2722 #1D1D27
split-complementary
#271D22 #1D271D #1D2727
monochromatic
#120D0F #120D0F #271D22 #4A3741 #6D515F

Accessibility & contrast

On white

16.34
#271D22 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #271D22
16.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##271D22#FFFFFF#000000##FFFFFF
##271D221.0016.341.2916.34
#FFFFFF16.341.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E1F22
Deuteranopia (green-blind)
#202022
Tritanopia (blue-blind)
#281D1F
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #271d22;
/* rgb */ color: rgb(39, 29, 34);
/* oklch */ color: oklch(24.5% 0.018 347.0);
Tailwind
colors: {
  custom: {
    50: '#61585c',
    500: '#271d22',
    950: '#000000',
  },
}
SCSS
$custom: #271d22;
$custom-light: #61585c;
$custom-dark: #000000;
JSON
{
  "hex": "#271d22",
  "rgb": {
    "r": 39,
    "g": 29,
    "b": 34
  },
  "hsl": {
    "h": 330,
    "s": 14.706,
    "l": 13.333
  },
  "oklch": {
    "l": 0.24476,
    "c": 0.0179,
    "h": 347
  },
  "luminance": 0.01426
}

Semantic roles & 50–950 ramp

primary
#271D22
secondary
#485850
accent
#B79470
background
#F5F5F5
surface
#E9E9E9
border
#C5C5C5
text
#050304
muted
#797879

Preview Lab

Preview with #271D22

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

Preview Lab → · Contrast checker → · Palette generator →

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