#2E1428#2E1428

#2E1428 is a very dark, muted pink. Relative luminance 0.012; OKLCH L 23.8% C 0.053 H 336.4°. Best body text is #FFFFFF at 16.84:1 contrast (WCAG AA passes).

Color values

HEX#2E1428
RGBrgb(46, 20, 40)
HSLhsl(314, 39%, 13%)
HSVhsv(314, 57%, 18%)
CMYKcmyk(0%, 56.5%, 13%, 82%)
CIE-LABlab(10.81, 16.72, -7.86)
CIE-LCHlch(10.81, 18.47, 334.83°)
OKLaboklab(23.79% 0.0485 -0.0212)
OKLCHoklch(23.79% 0.053 336.4)
XYZxyz(1.7599, 1.2345, 2.1527)
Luminance0.0123 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E1428 #142E1A
analogous
#27142E #2E1428 #2E141B
triadic
#2E1428 #282E14 #14282E
tetradic
#2E1428 #2E2714 #142E1A #141B2E
square
#2E1428 #2E2714 #142E1A #141B2E
split-complementary
#2E1428 #1B2E14 #142E27
monochromatic
#150913 #150913 #2E1428 #59274D #833972

Accessibility & contrast

On white

16.84
#2E1428 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E1428
16.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E1428#FFFFFF#000000##FFFFFF
##2E14281.0016.841.2516.84
#FFFFFF16.841.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#141B29
Deuteranopia (green-blind)
#1B1F27
Tritanopia (blue-blind)
#30151C
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #2e1428;
/* rgb */ color: rgb(46, 20, 40);
/* oklch */ color: oklch(23.8% 0.053 336.4);
Tailwind
colors: {
  custom: {
    50: '#675261',
    500: '#2e1428',
    950: '#000000',
  },
}
SCSS
$custom: #2e1428;
$custom-light: #675261;
$custom-dark: #000000;
JSON
{
  "hex": "#2e1428",
  "rgb": {
    "r": 46,
    "g": 20,
    "b": 40
  },
  "hsl": {
    "h": 313.846,
    "s": 39.394,
    "l": 12.941
  },
  "oklch": {
    "l": 0.23787,
    "c": 0.05293,
    "h": 336.4
  },
  "luminance": 0.01234
}

Semantic roles & 50–950 ramp

primary
#2E1428
secondary
#396543
accent
#CF7459
background
#F6F4F5
surface
#EBE7EA
border
#C6C3C6
text
#060205
muted
#7A7879

Preview Lab

Preview with #2E1428

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

Preview Lab → · Contrast checker → · Palette generator →

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