#271A23#271A23

#271A23 is a very dark, muted pink. Relative luminance 0.013; OKLCH L 23.8% C 0.026 H 338.2°. Best body text is #FFFFFF at 16.69:1 contrast (WCAG AA passes).

Color values

HEX#271A23
RGBrgb(39, 26, 35)
HSLhsl(318, 20%, 13%)
HSVhsv(318, 33%, 15%)
CMYKcmyk(0%, 33.3%, 10.3%, 84.7%)
CIE-LABlab(11.22, 8.37, -3.64)
CIE-LCHlch(11.22, 9.13, 336.49°)
OKLaboklab(23.79% 0.0241 -0.0097)
OKLCHoklch(23.79% 0.026 338.2)
XYZxyz(1.5095, 1.2915, 1.7596)
Luminance0.0129 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#271A23 #1A271E
analogous
#241A27 #271A23 #271A1C
triadic
#271A23 #23271A #1A2327
tetradic
#271A23 #27241A #1A271E #1A1C27
square
#271A23 #27241A #1A271E #1A1C27
split-complementary
#271A23 #1C271A #1A2724
monochromatic
#120C10 #120C10 #271A23 #4C3244 #704B65

Accessibility & contrast

On white

16.69
#271A23 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #271A23
16.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##271A23#FFFFFF#000000##FFFFFF
##271A231.0016.691.2616.69
#FFFFFF16.691.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A1D23
Deuteranopia (green-blind)
#1D1F23
Tritanopia (blue-blind)
#281A1D
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #271a23;
/* rgb */ color: rgb(39, 26, 35);
/* oklch */ color: oklch(23.8% 0.026 338.2);
Tailwind
colors: {
  custom: {
    50: '#61565d',
    500: '#271a23',
    950: '#000000',
  },
}
SCSS
$custom: #271a23;
$custom-light: #61565d;
$custom-dark: #000000;
JSON
{
  "hex": "#271a23",
  "rgb": {
    "r": 39,
    "g": 26,
    "b": 35
  },
  "hsl": {
    "h": 318.462,
    "s": 20,
    "l": 12.745
  },
  "oklch": {
    "l": 0.23788,
    "c": 0.02596,
    "h": 338.2
  },
  "luminance": 0.01291
}

Semantic roles & 50–950 ramp

primary
#271A23
secondary
#43594A
accent
#BD846B
background
#F5F5F5
surface
#E9E9E9
border
#C5C5C5
text
#050304
muted
#797879

Preview Lab

Preview with #271A23

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

Preview Lab → · Contrast checker → · Palette generator →

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