#2A1A22#2A1A22

#2A1A22 is a very dark, muted pink. Relative luminance 0.013; OKLCH L 24.2% C 0.029 H 348.1°. Best body text is #FFFFFF at 16.54:1 contrast (WCAG AA passes).

Color values

HEX#2A1A22
RGBrgb(42, 26, 34)
HSLhsl(330, 24%, 13%)
HSVhsv(330, 38%, 16%)
CMYKcmyk(0%, 38.1%, 19%, 83.5%)
CIE-LABlab(11.60, 9.53, -2.29)
CIE-LCHlch(11.60, 9.81, 346.51°)
OKLaboklab(24.16% 0.0282 -0.006)
OKLCHoklch(24.16% 0.029 348.1)
XYZxyz(1.6130, 1.3466, 1.6880)
Luminance0.0135 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A1A22 #1A2A22
analogous
#2A1A2A #2A1A22 #2A1A1A
triadic
#2A1A22 #222A1A #1A222A
tetradic
#2A1A22 #2A2A1A #1A2A22 #1A1A2A
square
#2A1A22 #2A2A1A #1A2A22 #1A1A2A
split-complementary
#2A1A22 #1A2A1A #1A2A2A
monochromatic
#130C0F #130C0F #2A1A22 #503141 #76495F

Accessibility & contrast

On white

16.54
#2A1A22 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.27
#2A1A22 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A1A22
16.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A1A22#FFFFFF#000000##FFFFFF
##2A1A221.0016.541.2716.54
#FFFFFF16.541.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B1D22
Deuteranopia (green-blind)
#1F2022
Tritanopia (blue-blind)
#2C1A1D
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #2a1a22;
/* rgb */ color: rgb(42, 26, 34);
/* oklch */ color: oklch(24.2% 0.029 348.1);
Tailwind
colors: {
  custom: {
    50: '#64565c',
    500: '#2a1a22',
    950: '#000000',
  },
}
SCSS
$custom: #2a1a22;
$custom-light: #64565c;
$custom-dark: #000000;
JSON
{
  "hex": "#2a1a22",
  "rgb": {
    "r": 42,
    "g": 26,
    "b": 34
  },
  "hsl": {
    "h": 330,
    "s": 23.529,
    "l": 13.333
  },
  "oklch": {
    "l": 0.24162,
    "c": 0.0288,
    "h": 348.1
  },
  "luminance": 0.01347
}

Semantic roles & 50–950 ramp

primary
#2A1A22
secondary
#435D50
accent
#C09468
background
#F5F5F5
surface
#EAE9E9
border
#C6C5C5
text
#050304
muted
#797879

Preview Lab

Preview with #2A1A22

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

Preview Lab → · Contrast checker → · Palette generator →

#2A1A22 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva