#2A181E#2A181E

#2A181E is a very dark, muted pink. Relative luminance 0.012; OKLCH L 23.5% C 0.031 H 358.1°. Best body text is #FFFFFF at 16.83:1 contrast (WCAG AA passes).

Color values

HEX#2A181E
RGBrgb(42, 24, 30)
HSLhsl(340, 27%, 13%)
HSVhsv(340, 43%, 16%)
CMYKcmyk(0%, 42.9%, 28.6%, 83.5%)
CIE-LABlab(10.84, 10.15, -0.43)
CIE-LCHlch(10.84, 10.16, 357.57°)
OKLaboklab(23.54% 0.0305 -0.001)
OKLCHoklch(23.54% 0.031 358.1)
XYZxyz(1.5159, 1.2393, 1.3874)
Luminance0.0124 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A181E #182A24
analogous
#2A1827 #2A181E #2A1B18
triadic
#2A181E #1E2A18 #181E2A
tetradic
#2A181E #272A18 #182A24 #1B182A
square
#2A181E #272A18 #182A24 #1B182A
split-complementary
#2A181E #182A1B #18272A
monochromatic
#130B0E #130B0E #2A181E #512E3A #784556

Accessibility & contrast

On white

16.83
#2A181E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.25
#2A181E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A181E
16.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A181E#FFFFFF#000000##FFFFFF
##2A181E1.0016.831.2516.83
#FFFFFF16.831.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A1B1E
Deuteranopia (green-blind)
#1F1E1E
Tritanopia (blue-blind)
#2D171A
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #2a181e;
/* rgb */ color: rgb(42, 24, 30);
/* oklch */ color: oklch(23.5% 0.031 358.1);
Tailwind
colors: {
  custom: {
    50: '#645559',
    500: '#2a181e',
    950: '#000000',
  },
}
SCSS
$custom: #2a181e;
$custom-light: #645559;
$custom-dark: #000000;
JSON
{
  "hex": "#2a181e",
  "rgb": {
    "r": 42,
    "g": 24,
    "b": 30
  },
  "hsl": {
    "h": 340,
    "s": 27.273,
    "l": 12.941
  },
  "oklch": {
    "l": 0.23535,
    "c": 0.03053,
    "h": 358.1
  },
  "luminance": 0.01239
}

Semantic roles & 50–950 ramp

primary
#2A181E
secondary
#405E54
accent
#C4A464
background
#F6F4F5
surface
#EBE7E9
border
#C6C3C5
text
#050303
muted
#7A7878

Preview Lab

Preview with #2A181E

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

Preview Lab → · Contrast checker → · Palette generator →

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