#2E071A#2E071A

#2E071A is a very dark, moderate pink. Relative luminance 0.008; OKLCH L 21.0% C 0.068 H 354.4°. Best body text is #FFFFFF at 18.08:1 contrast (WCAG AA passes).

Color values

HEX#2E071A
RGBrgb(46, 7, 26)
HSLhsl(331, 74%, 10%)
HSVhsv(331, 85%, 18%)
CMYKcmyk(0%, 84.8%, 43.5%, 82%)
CIE-LABlab(7.29, 21.84, -2.54)
CIE-LCHlch(7.29, 21.99, 353.37°)
OKLaboklab(20.95% 0.0672 -0.0065)
OKLCHoklch(20.95% 0.068 354.4)
XYZxyz(1.3892, 0.8075, 1.0598)
Luminance0.0081 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E071A #072E1B
analogous
#2E072D #2E071A #2E0707
triadic
#2E071A #1A2E07 #071A2E
tetradic
#2E071A #2D2E07 #072E1B #07072E
square
#2E071A #2D2E07 #072E1B #07072E
split-complementary
#2E071A #072E07 #072D2E
monochromatic
#1B040F #1B040F #2E071A #630F38 #981756

Accessibility & contrast

On white

18.08
#2E071A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#2E071A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E071A
18.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E071A#FFFFFF#000000##FFFFFF
##2E071A1.0018.081.1618.08
#FFFFFF18.081.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E111B
Deuteranopia (green-blind)
#191919
Tritanopia (blue-blind)
#32040F
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #2e071a;
/* rgb */ color: rgb(46, 7, 26);
/* oklch */ color: oklch(21.0% 0.068 354.4);
Tailwind
colors: {
  custom: {
    50: '#694a56',
    500: '#2e071a',
    950: '#000000',
  },
}
SCSS
$custom: #2e071a;
$custom-light: #694a56;
$custom-dark: #000000;
JSON
{
  "hex": "#2e071a",
  "rgb": {
    "r": 46,
    "g": 7,
    "b": 26
  },
  "hsl": {
    "h": 330.769,
    "s": 73.585,
    "l": 10.392
  },
  "oklch": {
    "l": 0.20951,
    "c": 0.06751,
    "h": 354.4
  },
  "luminance": 0.00807
}

Semantic roles & 50–950 ramp

primary
#2E071A
secondary
#236E49
accent
#F09638
background
#F6F4F5
surface
#EBE7E9
border
#C6C3C5
text
#060103
muted
#7A7778

Preview Lab

Preview with #2E071A

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

Preview Lab → · Contrast checker → · Palette generator →

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