#271D23#271D23

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

Color values

HEX#271D23
RGBrgb(39, 29, 35)
HSLhsl(324, 15%, 13%)
HSVhsv(324, 26%, 15%)
CMYKcmyk(0%, 25.6%, 10.3%, 84.7%)
CIE-LABlab(12.17, 6.19, -2.23)
CIE-LCHlch(12.17, 6.58, 340.22°)
OKLaboklab(24.52% 0.0179 -0.0059)
OKLCHoklch(24.52% 0.019 341.9)
XYZxyz(1.5794, 1.4315, 1.7829)
Luminance0.0143 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#271D23 #1D2721
analogous
#261D27 #271D23 #271D1E
triadic
#271D23 #23271D #1D2327
tetradic
#271D23 #27261D #1D2721 #1D1E27
square
#271D23 #27261D #1D2721 #1D1E27
split-complementary
#271D23 #1E271D #1D2726
monochromatic
#120D10 #120D10 #271D23 #4A3742 #6D5162

Accessibility & contrast

On white

16.33
#271D23 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #271D23
16.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##271D23#FFFFFF#000000##FFFFFF
##271D231.0016.331.2916.33
#FFFFFF16.331.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.331.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #271d23;
/* rgb */ color: rgb(39, 29, 35);
/* oklch */ color: oklch(24.5% 0.019 341.9);
Tailwind
colors: {
  custom: {
    50: '#61585d',
    500: '#271d23',
    950: '#000000',
  },
}
SCSS
$custom: #271d23;
$custom-light: #61585d;
$custom-dark: #000000;
JSON
{
  "hex": "#271d23",
  "rgb": {
    "r": 39,
    "g": 29,
    "b": 35
  },
  "hsl": {
    "h": 324,
    "s": 14.706,
    "l": 13.333
  },
  "oklch": {
    "l": 0.24519,
    "c": 0.01885,
    "h": 341.9
  },
  "luminance": 0.01431
}

Semantic roles & 50–950 ramp

primary
#271D23
secondary
#48584E
accent
#B78D70
background
#F5F5F5
surface
#E9E9E9
border
#C5C5C5
text
#050304
muted
#797879

Preview Lab

Preview with #271D23

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

Preview Lab → · Contrast checker → · Palette generator →

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