#2E071E#2E071E

#2E071E is a very dark, moderate pink. Relative luminance 0.008; OKLCH L 21.1% C 0.070 H 348.3°. Best body text is #FFFFFF at 18.02:1 contrast (WCAG AA passes).

Color values

HEX#2E071E
RGBrgb(46, 7, 30)
HSLhsl(325, 74%, 10%)
HSVhsv(325, 85%, 18%)
CMYKcmyk(0%, 84.8%, 34.8%, 82%)
CIE-LABlab(7.47, 22.49, -5.39)
CIE-LCHlch(7.47, 23.12, 346.52°)
OKLaboklab(21.15% 0.0686 -0.0142)
OKLCHoklch(21.15% 0.07 348.3)
XYZxyz(1.4371, 0.8267, 1.3119)
Luminance0.0083 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E071E #072E17
analogous
#2A072E #2E071E #2E070B
triadic
#2E071E #1E2E07 #071E2E
tetradic
#2E071E #2E2A07 #072E17 #070B2E
square
#2E071E #2E2A07 #072E17 #070B2E
split-complementary
#2E071E #0B2E07 #072E2A
monochromatic
#1B0411 #1B0411 #2E071E #630F41 #981763

Accessibility & contrast

On white

18.02
#2E071E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E071E
18.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E071E#FFFFFF#000000##FFFFFF
##2E071E1.0018.021.1718.02
#FFFFFF18.021.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF18.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C121F
Deuteranopia (green-blind)
#18191D
Tritanopia (blue-blind)
#320611
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #2e071e;
/* rgb */ color: rgb(46, 7, 30);
/* oklch */ color: oklch(21.1% 0.070 348.3);
Tailwind
colors: {
  custom: {
    50: '#694a59',
    500: '#2e071e',
    950: '#000000',
  },
}
SCSS
$custom: #2e071e;
$custom-light: #694a59;
$custom-dark: #000000;
JSON
{
  "hex": "#2e071e",
  "rgb": {
    "r": 46,
    "g": 7,
    "b": 30
  },
  "hsl": {
    "h": 324.615,
    "s": 73.585,
    "l": 10.392
  },
  "oklch": {
    "l": 0.21145,
    "c": 0.07002,
    "h": 348.3
  },
  "luminance": 0.00827
}

Semantic roles & 50–950 ramp

primary
#2E071E
secondary
#236E42
accent
#F08338
background
#F6F4F5
surface
#EBE7E9
border
#C6C3C5
text
#060103
muted
#7A7778

Preview Lab

Preview with #2E071E

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

Preview Lab → · Contrast checker → · Palette generator →

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