#2E041B#2E041B

#2E041B is a very dark, moderate pink. Relative luminance 0.007; OKLCH L 20.5% C 0.074 H 351.4°. Best body text is #FFFFFF at 18.27:1 contrast (WCAG AA passes).

Color values

HEX#2E041B
RGBrgb(46, 4, 27)
HSLhsl(327, 84%, 10%)
HSVhsv(327, 91%, 18%)
CMYKcmyk(0%, 91.3%, 41.3%, 82%)
CIE-LABlab(6.75, 23.57, -4.13)
CIE-LCHlch(6.75, 23.93, 350.06°)
OKLaboklab(20.53% 0.0733 -0.011)
OKLCHoklch(20.53% 0.074 351.4)
XYZxyz(1.3680, 0.7470, 1.1088)
Luminance0.0075 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E041B #042E17
analogous
#2C042E #2E041B #2E0406
triadic
#2E041B #1B2E04 #041B2E
tetradic
#2E041B #2E2C04 #042E17 #04062E
square
#2E041B #2E2C04 #042E17 #04062E
split-complementary
#2E041B #062E04 #042E2C
monochromatic
#1C0211 #1C0211 #2E041B #66093C #9F0E5D

Accessibility & contrast

On white

18.27
#2E041B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.15
#2E041B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E041B
18.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E041B#FFFFFF#000000##FFFFFF
##2E041B1.0018.271.1518.27
#FFFFFF18.271.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B101C
Deuteranopia (green-blind)
#17181A
Tritanopia (blue-blind)
#32020E
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #2e041b;
/* rgb */ color: rgb(46, 4, 27);
/* oklch */ color: oklch(20.5% 0.074 351.4);
Tailwind
colors: {
  custom: {
    50: '#694857',
    500: '#2e041b',
    950: '#000000',
  },
}
SCSS
$custom: #2e041b;
$custom-light: #694857;
$custom-dark: #000000;
JSON
{
  "hex": "#2e041b",
  "rgb": {
    "r": 46,
    "g": 4,
    "b": 27
  },
  "hsl": {
    "h": 327.143,
    "s": 84,
    "l": 9.804
  },
  "oklch": {
    "l": 0.20529,
    "c": 0.07407,
    "h": 351.4
  },
  "luminance": 0.00747
}

Semantic roles & 50–950 ramp

primary
#2E041B
secondary
#1D7143
accent
#FA8A2E
background
#F6F4F5
surface
#EBE6E9
border
#C6C2C5
text
#060103
muted
#7A7778

Preview Lab

Preview with #2E041B

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

Preview Lab → · Contrast checker → · Palette generator →

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