#2E040F#2E040F

#2E040F is a very dark, moderate pink. Relative luminance 0.007; OKLCH L 20.0% C 0.069 H 9.7°. Best body text is #FFFFFF at 18.41:1 contrast (WCAG AA passes).

Color values

HEX#2E040F
RGBrgb(46, 4, 15)
HSLhsl(344, 84%, 10%)
HSVhsv(344, 91%, 18%)
CMYKcmyk(0%, 91.3%, 67.4%, 82%)
CIE-LABlab(6.34, 21.92, 3.48)
CIE-LCHlch(6.34, 22.19, 9.03°)
OKLaboklab(20.04% 0.0682 0.0116)
OKLCHoklch(20.04% 0.069 9.7)
XYZxyz(1.2565, 0.7023, 0.5212)
Luminance0.0070 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E040F #042E23
analogous
#2E0424 #2E040F #2E0E04
triadic
#2E040F #0F2E04 #040F2E
tetradic
#2E040F #242E04 #042E23 #0E042E
square
#2E040F #242E04 #042E23 #0E042E
split-complementary
#2E040F #042E0E #04242E
monochromatic
#1C0209 #1C0209 #2E040F #660921 #9F0E34

Accessibility & contrast

On white

18.41
#2E040F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.14
#2E040F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E040F
18.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E040F#FFFFFF#000000##FFFFFF
##2E040F1.0018.411.1418.41
#FFFFFF18.411.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E0E0F
Deuteranopia (green-blind)
#19170E
Tritanopia (blue-blind)
#330008
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #2e040f;
/* rgb */ color: rgb(46, 4, 15);
/* oklch */ color: oklch(20.0% 0.069 9.7);
Tailwind
colors: {
  custom: {
    50: '#6a484e',
    500: '#2e040f',
    950: '#000000',
  },
}
SCSS
$custom: #2e040f;
$custom-light: #6a484e;
$custom-dark: #000000;
JSON
{
  "hex": "#2e040f",
  "rgb": {
    "r": 46,
    "g": 4,
    "b": 15
  },
  "hsl": {
    "h": 344.286,
    "s": 84,
    "l": 9.804
  },
  "oklch": {
    "l": 0.2004,
    "c": 0.06921,
    "h": 9.7
  },
  "luminance": 0.00702
}

Semantic roles & 50–950 ramp

primary
#2E040F
secondary
#1D715B
accent
#FAC52E
background
#F6F4F4
surface
#EBE6E7
border
#C6C2C3
text
#070001
muted
#7A7777

Preview Lab

Preview with #2E040F

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

Preview Lab → · Contrast checker → · Palette generator →

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