#2E0712#2E0712

#2E0712 is a very dark, moderate pink. Relative luminance 0.008; OKLCH L 20.6% C 0.064 H 7.6°. Best body text is #FFFFFF at 18.18:1 contrast (WCAG AA passes).

Color values

HEX#2E0712
RGBrgb(46, 7, 18)
HSLhsl(343, 74%, 10%)
HSVhsv(343, 85%, 18%)
CMYKcmyk(0%, 84.8%, 60.9%, 82%)
CIE-LABlab(7.01, 20.74, 2.75)
CIE-LCHlch(7.01, 20.92, 7.57°)
OKLaboklab(20.63% 0.0637 0.0085)
OKLCHoklch(20.63% 0.064 7.6)
XYZxyz(1.3120, 0.7766, 0.6530)
Luminance0.0078 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E0712 #072E23
analogous
#2E0725 #2E0712 #2E0F07
triadic
#2E0712 #122E07 #07122E
tetradic
#2E0712 #252E07 #072E23 #0F072E
square
#2E0712 #252E07 #072E23 #0F072E
split-complementary
#2E0712 #072E0F #07252E
monochromatic
#1B040A #1B040A #2E0712 #630F27 #98173C

Accessibility & contrast

On white

18.18
#2E0712 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E0712
18.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E0712#FFFFFF#000000##FFFFFF
##2E07121.0018.181.1618.18
#FFFFFF18.181.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#101112
Deuteranopia (green-blind)
#1A1811
Tritanopia (blue-blind)
#33020B
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #2e0712;
/* rgb */ color: rgb(46, 7, 18);
/* oklch */ color: oklch(20.6% 0.064 7.6);
Tailwind
colors: {
  custom: {
    50: '#694a50',
    500: '#2e0712',
    950: '#000000',
  },
}
SCSS
$custom: #2e0712;
$custom-light: #694a50;
$custom-dark: #000000;
JSON
{
  "hex": "#2e0712",
  "rgb": {
    "r": 46,
    "g": 7,
    "b": 18
  },
  "hsl": {
    "h": 343.077,
    "s": 73.585,
    "l": 10.392
  },
  "oklch": {
    "l": 0.20631,
    "c": 0.06428,
    "h": 7.6
  },
  "luminance": 0.00776
}

Semantic roles & 50–950 ramp

primary
#2E0712
secondary
#236E59
accent
#F0BC38
background
#F6F4F4
surface
#EBE7E7
border
#C6C3C3
text
#070102
muted
#7A7778

Preview Lab

Preview with #2E0712

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

Preview Lab → · Contrast checker → · Palette generator →

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