#271E23#271E23

#271E23 is a very dark, near-neutral pink. Relative luminance 0.015; OKLCH L 24.8% C 0.017 H 343.9°. Best body text is #FFFFFF at 16.20:1 contrast (WCAG AA passes).

Color values

HEX#271E23
RGBrgb(39, 30, 35)
HSLhsl(327, 13%, 14%)
HSVhsv(327, 23%, 15%)
CMYKcmyk(0%, 23.1%, 10.3%, 84.7%)
CIE-LABlab(12.49, 5.46, -1.75)
CIE-LCHlch(12.49, 5.73, 342.26°)
OKLaboklab(24.77% 0.0159 -0.0046)
OKLCHoklch(24.77% 0.017 343.9)
XYZxyz(1.6043, 1.4813, 1.7912)
Luminance0.0148 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#271E23 #1E2722
analogous
#261E27 #271E23 #271E1E
triadic
#271E23 #23271E #1E2327
tetradic
#271E23 #27261E #1E2722 #1E1E27
square
#271E23 #27261E #1E2722 #1E1E27
split-complementary
#271E23 #1E271E #1E2726
monochromatic
#110D10 #110D10 #271E23 #4A3942 #6C5361

Accessibility & contrast

On white

16.20
#271E23 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#271E23 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #271E23
16.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##271E23#FFFFFF#000000##FFFFFF
##271E231.0016.201.3016.20
#FFFFFF16.201.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E2023
Deuteranopia (green-blind)
#202123
Tritanopia (blue-blind)
#281E20
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #271e23;
/* rgb */ color: rgb(39, 30, 35);
/* oklch */ color: oklch(24.8% 0.017 343.9);
Tailwind
colors: {
  custom: {
    50: '#61595d',
    500: '#271e23',
    950: '#000000',
  },
}
SCSS
$custom: #271e23;
$custom-light: #61595d;
$custom-dark: #000000;
JSON
{
  "hex": "#271e23",
  "rgb": {
    "r": 39,
    "g": 30,
    "b": 35
  },
  "hsl": {
    "h": 326.667,
    "s": 13.043,
    "l": 13.529
  },
  "oklch": {
    "l": 0.24768,
    "c": 0.01652,
    "h": 343.9
  },
  "luminance": 0.01481
}

Semantic roles & 50–950 ramp

primary
#271E23
secondary
#495850
accent
#B69072
background
#F5F5F5
surface
#E9E9E9
border
#C5C5C5
text
#050304
muted
#797879

Preview Lab

Preview with #271E23

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

Preview Lab → · Contrast checker → · Palette generator →

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