#271F22#271F22

#271F22 is a very dark, near-neutral pink. Relative luminance 0.015; OKLCH L 25.0% C 0.013 H 353.6°. Best body text is #FFFFFF at 16.09:1 contrast (WCAG AA passes).

Color values

HEX#271F22
RGBrgb(39, 31, 34)
HSLhsl(338, 11%, 14%)
HSVhsv(338, 21%, 15%)
CMYKcmyk(0%, 20.5%, 12.8%, 84.7%)
CIE-LABlab(12.78, 4.51, -0.59)
CIE-LCHlch(12.78, 4.55, 352.52°)
OKLaboklab(24.98% 0.0133 -0.0015)
OKLCHoklch(24.98% 0.013 353.6)
XYZxyz(1.6154, 1.5268, 1.7227)
Luminance0.0153 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#271F22 #1F2724
analogous
#271F26 #271F22 #27201F
triadic
#271F22 #22271F #1F2227
tetradic
#271F22 #26271F #1F2724 #201F27
square
#271F22 #26271F #1F2724 #201F27
split-complementary
#271F22 #1F2720 #1F2627
monochromatic
#110E0F #110E0F #271F22 #493A40 #6B555D

Accessibility & contrast

On white

16.09
#271F22 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#271F22 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #271F22
16.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##271F22#FFFFFF#000000##FFFFFF
##271F221.0016.091.3116.09
#FFFFFF16.091.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#202022
Deuteranopia (green-blind)
#212222
Tritanopia (blue-blind)
#281F20
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #271f22;
/* rgb */ color: rgb(39, 31, 34);
/* oklch */ color: oklch(25.0% 0.013 353.6);
Tailwind
colors: {
  custom: {
    50: '#615a5c',
    500: '#271f22',
    950: '#000000',
  },
}
SCSS
$custom: #271f22;
$custom-light: #615a5c;
$custom-dark: #000000;
JSON
{
  "hex": "#271f22",
  "rgb": {
    "r": 39,
    "g": 31,
    "b": 34
  },
  "hsl": {
    "h": 337.5,
    "s": 11.429,
    "l": 13.725
  },
  "oklch": {
    "l": 0.2498,
    "c": 0.01341,
    "h": 353.6
  },
  "luminance": 0.01527
}

Semantic roles & 50–950 ramp

primary
#271F22
secondary
#4A5753
accent
#B49C73
background
#F5F5F5
surface
#E9E9E9
border
#C5C5C5
text
#050304
muted
#797879

Preview Lab

Preview with #271F22

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

Preview Lab → · Contrast checker → · Palette generator →

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