#2E1A2A#2E1A2A

#2E1A2A is a dark, muted pink. Relative luminance 0.015; OKLCH L 25.1% C 0.042 H 334.3°. Best body text is #FFFFFF at 16.19:1 contrast (WCAG AA passes).

Color values

HEX#2E1A2A
RGBrgb(46, 26, 42)
HSLhsl(312, 28%, 14%)
HSVhsv(312, 43%, 18%)
CMYKcmyk(0%, 43.5%, 8.7%, 82%)
CIE-LABlab(12.52, 13.08, -6.71)
CIE-LCHlch(12.52, 14.70, 332.84°)
OKLaboklab(25.11% 0.0374 -0.018)
OKLCHoklch(25.11% 0.042 334.3)
XYZxyz(1.9140, 1.4869, 2.3762)
Luminance0.0149 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E1A2A #1A2E1E
analogous
#281A2E #2E1A2A #2E1A20
triadic
#2E1A2A #2A2E1A #1A2A2E
tetradic
#2E1A2A #2E281A #1A2E1E #1A202E
square
#2E1A2A #2E281A #1A2E1E #1A202E
split-complementary
#2E1A2A #202E1A #1A2E28
monochromatic
#140B12 #140B12 #2E1A2A #55304E #7C4671

Accessibility & contrast

On white

16.19
#2E1A2A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#2E1A2A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E1A2A
16.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E1A2A#FFFFFF#000000##FFFFFF
##2E1A2A1.0016.191.3016.19
#FFFFFF16.191.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A1F2B
Deuteranopia (green-blind)
#1F2229
Tritanopia (blue-blind)
#301B20
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #2e1a2a;
/* rgb */ color: rgb(46, 26, 42);
/* oklch */ color: oklch(25.1% 0.042 334.3);
Tailwind
colors: {
  custom: {
    50: '#675763',
    500: '#2e1a2a',
    950: '#000000',
  },
}
SCSS
$custom: #2e1a2a;
$custom-light: #675763;
$custom-dark: #000000;
JSON
{
  "hex": "#2e1a2a",
  "rgb": {
    "r": 46,
    "g": 26,
    "b": 42
  },
  "hsl": {
    "h": 312,
    "s": 27.778,
    "l": 14.118
  },
  "oklch": {
    "l": 0.2511,
    "c": 0.04156,
    "h": 334.3
  },
  "luminance": 0.01487
}

Semantic roles & 50–950 ramp

primary
#2E1A2A
secondary
#426248
accent
#C47764
background
#F6F5F5
surface
#EBE9EA
border
#C6C5C6
text
#060305
muted
#7A7879

Preview Lab

Preview with #2E1A2A

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

Preview Lab → · Contrast checker → · Palette generator →

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