#271E24#271E24

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

Color values

HEX#271E24
RGBrgb(39, 30, 36)
HSLhsl(320, 13%, 14%)
HSVhsv(320, 23%, 15%)
CMYKcmyk(0%, 23.1%, 7.7%, 84.7%)
CIE-LABlab(12.53, 5.70, -2.42)
CIE-LCHlch(12.53, 6.19, 336.98°)
OKLaboklab(24.81% 0.0163 -0.0064)
OKLCHoklch(24.81% 0.018 338.6)
XYZxyz(1.6194, 1.4873, 1.8705)
Luminance0.0149 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#271E24 #1E2721
analogous
#251E27 #271E24 #271E1F
triadic
#271E24 #24271E #1E2427
tetradic
#271E24 #27251E #1E2721 #1E1F27
square
#271E24 #27251E #1E2721 #1E1F27
split-complementary
#271E24 #1F271E #1E2725
monochromatic
#110D10 #110D10 #271E24 #4A3944 #6C5364

Accessibility & contrast

On white

16.19
#271E24 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #271E24
16.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##271E24#FFFFFF#000000##FFFFFF
##271E241.0016.191.3016.19
#FFFFFF16.191.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E2024
Deuteranopia (green-blind)
#202124
Tritanopia (blue-blind)
#281E20
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #271e24;
/* rgb */ color: rgb(39, 30, 36);
/* oklch */ color: oklch(24.8% 0.018 338.6);
Tailwind
colors: {
  custom: {
    50: '#61595e',
    500: '#271e24',
    950: '#000000',
  },
}
SCSS
$custom: #271e24;
$custom-light: #61595e;
$custom-dark: #000000;
JSON
{
  "hex": "#271e24",
  "rgb": {
    "r": 39,
    "g": 30,
    "b": 36
  },
  "hsl": {
    "h": 320,
    "s": 13.043,
    "l": 13.529
  },
  "oklch": {
    "l": 0.24811,
    "c": 0.01755,
    "h": 338.6
  },
  "luminance": 0.01487
}

Semantic roles & 50–950 ramp

primary
#271E24
secondary
#49584E
accent
#B68972
background
#F5F5F5
surface
#E9E9E9
border
#C5C5C5
text
#050304
muted
#797879

Preview Lab

Preview with #271E24

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

Preview Lab → · Contrast checker → · Palette generator →

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