#2E071C#2E071C

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

Color values

HEX#2E071C
RGBrgb(46, 7, 28)
HSLhsl(328, 74%, 10%)
HSVhsv(328, 85%, 18%)
CMYKcmyk(0%, 84.8%, 39.1%, 82%)
CIE-LABlab(7.38, 22.16, -3.97)
CIE-LCHlch(7.38, 22.51, 349.83°)
OKLaboklab(21.05% 0.0679 -0.0104)
OKLCHoklch(21.05% 0.069 351.3)
XYZxyz(1.4124, 0.8168, 1.1817)
Luminance0.0082 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E071C #072E19
analogous
#2C072E #2E071C #2E0709
triadic
#2E071C #1C2E07 #071C2E
tetradic
#2E071C #2E2C07 #072E19 #07092E
square
#2E071C #2E2C07 #072E19 #07092E
split-complementary
#2E071C #092E07 #072E2C
monochromatic
#1B0410 #1B0410 #2E071C #630F3C #98175D

Accessibility & contrast

On white

18.05
#2E071C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E071C
18.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E071C#FFFFFF#000000##FFFFFF
##2E071C1.0018.051.1618.05
#FFFFFF18.051.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D121D
Deuteranopia (green-blind)
#18191B
Tritanopia (blue-blind)
#320510
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #2e071c;
/* rgb */ color: rgb(46, 7, 28);
/* oklch */ color: oklch(21.0% 0.069 351.3);
Tailwind
colors: {
  custom: {
    50: '#694a58',
    500: '#2e071c',
    950: '#000000',
  },
}
SCSS
$custom: #2e071c;
$custom-light: #694a58;
$custom-dark: #000000;
JSON
{
  "hex": "#2e071c",
  "rgb": {
    "r": 46,
    "g": 7,
    "b": 28
  },
  "hsl": {
    "h": 327.692,
    "s": 73.585,
    "l": 10.392
  },
  "oklch": {
    "l": 0.21045,
    "c": 0.0687,
    "h": 351.3
  },
  "luminance": 0.00817
}

Semantic roles & 50–950 ramp

primary
#2E071C
secondary
#236E46
accent
#F08D38
background
#F6F4F5
surface
#EBE7E9
border
#C6C3C5
text
#060103
muted
#7A7778

Preview Lab

Preview with #2E071C

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

Preview Lab → · Contrast checker → · Palette generator →

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