#2E1A28#2E1A28

#2E1A28 is a dark, muted pink. Relative luminance 0.015; OKLCH L 25.0% C 0.039 H 338.6°. Best body text is #FFFFFF at 16.22:1 contrast (WCAG AA passes).

Color values

HEX#2E1A28
RGBrgb(46, 26, 40)
HSLhsl(318, 28%, 14%)
HSVhsv(318, 43%, 18%)
CMYKcmyk(0%, 43.5%, 13%, 82%)
CIE-LABlab(12.43, 12.64, -5.39)
CIE-LCHlch(12.43, 13.74, 336.92°)
OKLaboklab(25.01% 0.0367 -0.0144)
OKLCHoklch(25.01% 0.039 338.6)
XYZxyz(1.8791, 1.4729, 2.1924)
Luminance0.0147 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E1A28 #1A2E20
analogous
#2A1A2E #2E1A28 #2E1A1E
triadic
#2E1A28 #282E1A #1A282E
tetradic
#2E1A28 #2E2A1A #1A2E20 #1A1E2E
square
#2E1A28 #2E2A1A #1A2E20 #1A1E2E
split-complementary
#2E1A28 #1E2E1A #1A2E2A
monochromatic
#140B11 #140B11 #2E1A28 #55304A #7C466C

Accessibility & contrast

On white

16.22
#2E1A28 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#2E1A28 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E1A28
16.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E1A28#FFFFFF#000000##FFFFFF
##2E1A281.0016.221.2916.22
#FFFFFF16.221.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B1F29
Deuteranopia (green-blind)
#202227
Tritanopia (blue-blind)
#301A1F
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #2e1a28;
/* rgb */ color: rgb(46, 26, 40);
/* oklch */ color: oklch(25.0% 0.039 338.6);
Tailwind
colors: {
  custom: {
    50: '#675761',
    500: '#2e1a28',
    950: '#000000',
  },
}
SCSS
$custom: #2e1a28;
$custom-light: #675761;
$custom-dark: #000000;
JSON
{
  "hex": "#2e1a28",
  "rgb": {
    "r": 46,
    "g": 26,
    "b": 40
  },
  "hsl": {
    "h": 318,
    "s": 27.778,
    "l": 14.118
  },
  "oklch": {
    "l": 0.25012,
    "c": 0.03939,
    "h": 338.6
  },
  "luminance": 0.01473
}

Semantic roles & 50–950 ramp

primary
#2E1A28
secondary
#42624C
accent
#C48164
background
#F6F5F5
surface
#EBE9E9
border
#C6C5C5
text
#060305
muted
#7A7879

Preview Lab

Preview with #2E1A28

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

Preview Lab → · Contrast checker → · Palette generator →

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