#2A1222#2A1222

#2A1222 is a very dark, muted pink. Relative luminance 0.010; OKLCH L 22.4% C 0.047 H 341.2°. Best body text is #FFFFFF at 17.38:1 contrast (WCAG AA passes).

Color values

HEX#2A1222
RGBrgb(42, 18, 34)
HSLhsl(320, 40%, 12%)
HSVhsv(320, 57%, 16%)
CMYKcmyk(0%, 57.1%, 19%, 83.5%)
CIE-LABlab(9.32, 15.14, -5.70)
CIE-LCHlch(9.32, 16.17, 339.36°)
OKLaboklab(22.44% 0.0446 -0.0152)
OKLCHoklch(22.44% 0.047 341.2)
XYZxyz(1.4599, 1.0404, 1.6370)
Luminance0.0104 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A1222 #122A1A
analogous
#26122A #2A1222 #2A1216
triadic
#2A1222 #222A12 #12222A
tetradic
#2A1222 #2A2612 #122A1A #12162A
square
#2A1222 #2A2612 #122A1A #12162A
split-complementary
#2A1222 #162A12 #122A26
monochromatic
#150911 #150911 #2A1222 #552445 #803767

Accessibility & contrast

On white

17.38
#2A1222 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#2A1222 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A1222
17.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A1222#FFFFFF#000000##FFFFFF
##2A12221.0017.381.2117.38
#FFFFFF17.381.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#131823
Deuteranopia (green-blind)
#1A1C21
Tritanopia (blue-blind)
#2D1218
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #2a1222;
/* rgb */ color: rgb(42, 18, 34);
/* oklch */ color: oklch(22.4% 0.047 341.2);
Tailwind
colors: {
  custom: {
    50: '#64505d',
    500: '#2a1222',
    950: '#000000',
  },
}
SCSS
$custom: #2a1222;
$custom-light: #64505d;
$custom-dark: #000000;
JSON
{
  "hex": "#2a1222",
  "rgb": {
    "r": 42,
    "g": 18,
    "b": 34
  },
  "hsl": {
    "h": 320,
    "s": 40,
    "l": 11.765
  },
  "oklch": {
    "l": 0.22438,
    "c": 0.04709,
    "h": 341.2
  },
  "luminance": 0.0104
}

Semantic roles & 50–950 ramp

primary
#2A1222
secondary
#376145
accent
#D08058
background
#F6F4F5
surface
#EBE7E9
border
#C6C3C5
text
#050204
muted
#7A7879

Preview Lab

Preview with #2A1222

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

Preview Lab → · Contrast checker → · Palette generator →

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