#271F23#271F23

#271F23 is a dark, near-neutral pink. Relative luminance 0.015; OKLCH L 25.0% C 0.014 H 346.6°. Best body text is #FFFFFF at 16.07:1 contrast (WCAG AA passes).

Color values

HEX#271F23
RGBrgb(39, 31, 35)
HSLhsl(330, 11%, 14%)
HSVhsv(330, 21%, 15%)
CMYKcmyk(0%, 20.5%, 10.3%, 84.7%)
CIE-LABlab(12.81, 4.74, -1.27)
CIE-LCHlch(12.81, 4.91, 345.04°)
OKLaboklab(25.02% 0.0138 -0.0033)
OKLCHoklch(25.02% 0.014 346.6)
XYZxyz(1.6300, 1.5327, 1.7998)
Luminance0.0153 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#271F23 #1F2723
analogous
#271F27 #271F23 #271F1F
triadic
#271F23 #23271F #1F2327
tetradic
#271F23 #27271F #1F2723 #1F1F27
square
#271F23 #27271F #1F2723 #1F1F27
split-complementary
#271F23 #1F271F #1F2727
monochromatic
#110E0F #110E0F #271F23 #493A42 #6B5560

Accessibility & contrast

On white

16.07
#271F23 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #271F23
16.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##271F23#FFFFFF#000000##FFFFFF
##271F231.0016.071.3116.07
#FFFFFF16.071.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F2023
Deuteranopia (green-blind)
#212223
Tritanopia (blue-blind)
#281F20
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #271f23;
/* rgb */ color: rgb(39, 31, 35);
/* oklch */ color: oklch(25.0% 0.014 346.6);
Tailwind
colors: {
  custom: {
    50: '#615a5d',
    500: '#271f23',
    950: '#000000',
  },
}
SCSS
$custom: #271f23;
$custom-light: #615a5d;
$custom-dark: #000000;
JSON
{
  "hex": "#271f23",
  "rgb": {
    "r": 39,
    "g": 31,
    "b": 35
  },
  "hsl": {
    "h": 330,
    "s": 11.429,
    "l": 13.725
  },
  "oklch": {
    "l": 0.25021,
    "c": 0.01421,
    "h": 346.6
  },
  "luminance": 0.01533
}

Semantic roles & 50–950 ramp

primary
#271F23
secondary
#4A5751
accent
#B49473
background
#F5F5F5
surface
#E9E9E9
border
#C5C5C5
text
#050304
muted
#797879

Preview Lab

Preview with #271F23

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

Preview Lab → · Contrast checker → · Palette generator →

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