#2A1826#2A1826

#2A1826 is a very dark, muted pink. Relative luminance 0.013; OKLCH L 23.9% C 0.037 H 335.1°. Best body text is #FFFFFF at 16.71:1 contrast (WCAG AA passes).

Color values

HEX#2A1826
RGBrgb(42, 24, 38)
HSLhsl(313, 27%, 13%)
HSVhsv(313, 43%, 16%)
CMYKcmyk(0%, 42.9%, 9.5%, 83.5%)
CIE-LABlab(11.17, 11.85, -5.88)
CIE-LCHlch(11.17, 13.22, 333.60°)
OKLaboklab(23.9% 0.034 -0.0158)
OKLCHoklch(23.9% 0.037 335.1)
XYZxyz(1.6313, 1.2855, 1.9955)
Luminance0.0129 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A1826 #182A1C
analogous
#25182A #2A1826 #2A181D
triadic
#2A1826 #262A18 #18262A
tetradic
#2A1826 #2A2518 #182A1C #181D2A
square
#2A1826 #2A2518 #182A1C #181D2A
split-complementary
#2A1826 #1D2A18 #182A25
monochromatic
#130B12 #130B12 #2A1826 #512E49 #78456C

Accessibility & contrast

On white

16.71
#2A1826 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#2A1826 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A1826
16.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A1826#FFFFFF#000000##FFFFFF
##2A18261.0016.711.2616.71
#FFFFFF16.711.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#181C27
Deuteranopia (green-blind)
#1D1F25
Tritanopia (blue-blind)
#2C191D
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #2a1826;
/* rgb */ color: rgb(42, 24, 38);
/* oklch */ color: oklch(23.9% 0.037 335.1);
Tailwind
colors: {
  custom: {
    50: '#645560',
    500: '#2a1826',
    950: '#000000',
  },
}
SCSS
$custom: #2a1826;
$custom-light: #645560;
$custom-dark: #000000;
JSON
{
  "hex": "#2a1826",
  "rgb": {
    "r": 42,
    "g": 24,
    "b": 38
  },
  "hsl": {
    "h": 313.333,
    "s": 27.273,
    "l": 12.941
  },
  "oklch": {
    "l": 0.23895,
    "c": 0.03746,
    "h": 335.1
  },
  "luminance": 0.01285
}

Semantic roles & 50–950 ramp

primary
#2A1826
secondary
#405E47
accent
#C47964
background
#F5F4F5
surface
#EAE7E9
border
#C6C3C5
text
#050304
muted
#797879

Preview Lab

Preview with #2A1826

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

Preview Lab → · Contrast checker → · Palette generator →

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