#271D24#271D24

#271D24 is a very dark, near-neutral pink. Relative luminance 0.014; OKLCH L 24.6% C 0.020 H 337.3°. Best body text is #FFFFFF at 16.31:1 contrast (WCAG AA passes).

Color values

HEX#271D24
RGBrgb(39, 29, 36)
HSLhsl(318, 15%, 13%)
HSVhsv(318, 26%, 15%)
CMYKcmyk(0%, 25.6%, 7.7%, 84.7%)
CIE-LABlab(12.21, 6.42, -2.90)
CIE-LCHlch(12.21, 7.05, 335.70°)
OKLaboklab(24.56% 0.0184 -0.0077)
OKLCHoklch(24.56% 0.02 337.3)
XYZxyz(1.5945, 1.4375, 1.8622)
Luminance0.0144 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#271D24 #1D2720
analogous
#251D27 #271D24 #271D1F
triadic
#271D24 #24271D #1D2427
tetradic
#271D24 #27251D #1D2720 #1D1F27
square
#271D24 #27251D #1D2720 #1D1F27
split-complementary
#271D24 #1F271D #1D2725
monochromatic
#120D10 #120D10 #271D24 #4A3744 #6D5165

Accessibility & contrast

On white

16.31
#271D24 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #271D24
16.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##271D24#FFFFFF#000000##FFFFFF
##271D241.0016.311.2916.31
#FFFFFF16.311.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.311.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #271d24;
/* rgb */ color: rgb(39, 29, 36);
/* oklch */ color: oklch(24.6% 0.020 337.3);
Tailwind
colors: {
  custom: {
    50: '#61585e',
    500: '#271d24',
    950: '#000000',
  },
}
SCSS
$custom: #271d24;
$custom-light: #61585e;
$custom-dark: #000000;
JSON
{
  "hex": "#271d24",
  "rgb": {
    "r": 39,
    "g": 29,
    "b": 36
  },
  "hsl": {
    "h": 318,
    "s": 14.706,
    "l": 13.333
  },
  "oklch": {
    "l": 0.24562,
    "c": 0.01993,
    "h": 337.3
  },
  "luminance": 0.01437
}

Semantic roles & 50–950 ramp

primary
#271D24
secondary
#48584D
accent
#B78670
background
#F5F5F5
surface
#E9E9E9
border
#C5C5C5
text
#050304
muted
#797879

Preview Lab

Preview with #271D24

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

Preview Lab → · Contrast checker → · Palette generator →

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