#2E071F#2E071F

#2E071F is a very dark, moderate pink. Relative luminance 0.008; OKLCH L 21.2% C 0.071 H 346.8°. Best body text is #FFFFFF at 18.00:1 contrast (WCAG AA passes).

Color values

HEX#2E071F
RGBrgb(46, 7, 31)
HSLhsl(323, 74%, 10%)
HSVhsv(323, 85%, 18%)
CMYKcmyk(0%, 84.8%, 32.6%, 82%)
CIE-LABlab(7.51, 22.65, -6.09)
CIE-LCHlch(7.51, 23.46, 344.95°)
OKLaboklab(21.2% 0.0689 -0.0161)
OKLCHoklch(21.2% 0.071 346.8)
XYZxyz(1.4501, 0.8319, 1.3803)
Luminance0.0083 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E071F #072E16
analogous
#29072E #2E071F #2E070B
triadic
#2E071F #1F2E07 #071F2E
tetradic
#2E071F #2E2907 #072E16 #070B2E
square
#2E071F #2E2907 #072E16 #070B2E
split-complementary
#2E071F #0B2E07 #072E29
monochromatic
#1B0412 #1B0412 #2E071F #630F43 #981767

Accessibility & contrast

On white

18.00
#2E071F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#2E071F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E071F
18.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E071F#FFFFFF#000000##FFFFFF
##2E071F1.0018.001.1718.00
#FFFFFF18.001.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF18.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C1220
Deuteranopia (green-blind)
#17191E
Tritanopia (blue-blind)
#320611
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #2e071f;
/* rgb */ color: rgb(46, 7, 31);
/* oklch */ color: oklch(21.2% 0.071 346.8);
Tailwind
colors: {
  custom: {
    50: '#694a5a',
    500: '#2e071f',
    950: '#000000',
  },
}
SCSS
$custom: #2e071f;
$custom-light: #694a5a;
$custom-dark: #000000;
JSON
{
  "hex": "#2e071f",
  "rgb": {
    "r": 46,
    "g": 7,
    "b": 31
  },
  "hsl": {
    "h": 323.077,
    "s": 73.585,
    "l": 10.392
  },
  "oklch": {
    "l": 0.21197,
    "c": 0.07073,
    "h": 346.8
  },
  "luminance": 0.00832
}

Semantic roles & 50–950 ramp

primary
#2E071F
secondary
#236E40
accent
#F07F38
background
#F6F4F5
surface
#EBE7E9
border
#C6C3C5
text
#060103
muted
#7A7778

Preview Lab

Preview with #2E071F

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

Preview Lab → · Contrast checker → · Palette generator →

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