#2E071B#2E071B

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

Color values

HEX#2E071B
RGBrgb(46, 7, 27)
HSLhsl(329, 74%, 10%)
HSVhsv(329, 85%, 18%)
CMYKcmyk(0%, 84.8%, 41.3%, 82%)
CIE-LABlab(7.34, 22.00, -3.26)
CIE-LCHlch(7.34, 22.24, 351.57°)
OKLaboklab(21% 0.0676 -0.0084)
OKLCHoklch(21% 0.068 352.9)
XYZxyz(1.4006, 0.8121, 1.1197)
Luminance0.0081 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E071B #072E1A
analogous
#2D072E #2E071B #2E0707
triadic
#2E071B #1B2E07 #071B2E
tetradic
#2E071B #2E2D07 #072E1A #07072E
square
#2E071B #2E2D07 #072E1A #07072E
split-complementary
#2E071B #072E07 #072E2D
monochromatic
#1B0410 #1B0410 #2E071B #630F3A #981759

Accessibility & contrast

On white

18.07
#2E071B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E071B
18.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E071B#FFFFFF#000000##FFFFFF
##2E071B1.0018.071.1618.07
#FFFFFF18.071.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D121C
Deuteranopia (green-blind)
#18191A
Tritanopia (blue-blind)
#32050F
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #2e071b;
/* rgb */ color: rgb(46, 7, 27);
/* oklch */ color: oklch(21.0% 0.068 352.9);
Tailwind
colors: {
  custom: {
    50: '#694a57',
    500: '#2e071b',
    950: '#000000',
  },
}
SCSS
$custom: #2e071b;
$custom-light: #694a57;
$custom-dark: #000000;
JSON
{
  "hex": "#2e071b",
  "rgb": {
    "r": 46,
    "g": 7,
    "b": 27
  },
  "hsl": {
    "h": 329.231,
    "s": 73.585,
    "l": 10.392
  },
  "oklch": {
    "l": 0.20997,
    "c": 0.06809,
    "h": 352.9
  },
  "luminance": 0.00812
}

Semantic roles & 50–950 ramp

primary
#2E071B
secondary
#236E47
accent
#F09238
background
#F6F4F5
surface
#EBE7E9
border
#C6C3C5
text
#060103
muted
#7A7778

Preview Lab

Preview with #2E071B

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

Preview Lab → · Contrast checker → · Palette generator →

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