#2A161E#2A161E

#2A161E is a very dark, muted pink. Relative luminance 0.012; OKLCH L 23.1% C 0.035 H 354.6°. Best body text is #FFFFFF at 17.05:1 contrast (WCAG AA passes).

Color values

HEX#2A161E
RGBrgb(42, 22, 30)
HSLhsl(336, 31%, 13%)
HSVhsv(336, 48%, 16%)
CMYKcmyk(0%, 47.6%, 28.6%, 83.5%)
CIE-LABlab(10.26, 11.56, -1.29)
CIE-LCHlch(10.26, 11.64, 353.62°)
OKLaboklab(23.09% 0.0347 -0.0033)
OKLCHoklch(23.09% 0.035 354.6)
XYZxyz(1.4761, 1.1599, 1.3742)
Luminance0.0116 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A161E #162A22
analogous
#2A1628 #2A161E #2A1816
triadic
#2A161E #1E2A16 #161E2A
tetradic
#2A161E #282A16 #162A22 #18162A
square
#2A161E #282A16 #162A22 #18162A
split-complementary
#2A161E #162A18 #16282A
monochromatic
#140B0E #140B0E #2A161E #522B3B #7A4057

Accessibility & contrast

On white

17.05
#2A161E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#2A161E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A161E
17.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A161E#FFFFFF#000000##FFFFFF
##2A161E1.0017.051.2317.05
#FFFFFF17.051.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#181A1E
Deuteranopia (green-blind)
#1D1D1E
Tritanopia (blue-blind)
#2D1519
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #2a161e;
/* rgb */ color: rgb(42, 22, 30);
/* oklch */ color: oklch(23.1% 0.035 354.6);
Tailwind
colors: {
  custom: {
    50: '#645359',
    500: '#2a161e',
    950: '#000000',
  },
}
SCSS
$custom: #2a161e;
$custom-light: #645359;
$custom-dark: #000000;
JSON
{
  "hex": "#2a161e",
  "rgb": {
    "r": 42,
    "g": 22,
    "b": 30
  },
  "hsl": {
    "h": 336,
    "s": 31.25,
    "l": 12.549
  },
  "oklch": {
    "l": 0.23088,
    "c": 0.03487,
    "h": 354.6
  },
  "luminance": 0.0116
}

Semantic roles & 50–950 ramp

primary
#2A161E
secondary
#3D5F51
accent
#C79E60
background
#F6F4F5
surface
#EBE7E9
border
#C6C3C5
text
#050203
muted
#7A7878

Preview Lab

Preview with #2A161E

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

Preview Lab → · Contrast checker → · Palette generator →

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