#2E0112#2E0112

#2E0112 is a very dark, moderate pink. Relative luminance 0.006; OKLCH L 19.6% C 0.076 H 2.7°. Best body text is #FFFFFF at 18.60:1 contrast (WCAG AA passes).

Color values

HEX#2E0112
RGBrgb(46, 1, 18)
HSLhsl(337, 96%, 9%)
HSVhsv(337, 98%, 18%)
CMYKcmyk(0%, 97.8%, 60.9%, 82%)
CIE-LABlab(5.84, 23.79, 1.04)
CIE-LCHlch(5.84, 23.81, 2.50°)
OKLaboklab(19.63% 0.0762 0.0036)
OKLCHoklch(19.63% 0.076 2.7)
XYZxyz(1.2469, 0.6464, 0.6313)
Luminance0.0065 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E0112 #012E1D
analogous
#2E0129 #2E0112 #2E0601
triadic
#2E0112 #122E01 #01122E
tetradic
#2E0112 #292E01 #012E1D #06012E
square
#2E0112 #292E01 #012E1D #06012E
split-complementary
#2E0112 #012E06 #01292E
monochromatic
#1E010C #1E010C #2E0112 #6A0229 #A60441

Accessibility & contrast

On white

18.60
#2E0112 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.13
#2E0112 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E0112
18.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E0112#FFFFFF#000000##FFFFFF
##2E01121.0018.601.1318.60
#FFFFFF18.601.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B0D12
Deuteranopia (green-blind)
#181611
Tritanopia (blue-blind)
#330007
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #2e0112;
/* rgb */ color: rgb(46, 1, 18);
/* oklch */ color: oklch(19.6% 0.076 2.7);
Tailwind
colors: {
  custom: {
    50: '#6a4650',
    500: '#2e0112',
    950: '#000000',
  },
}
SCSS
$custom: #2e0112;
$custom-light: #6a4650;
$custom-dark: #000000;
JSON
{
  "hex": "#2e0112",
  "rgb": {
    "r": 46,
    "g": 1,
    "b": 18
  },
  "hsl": {
    "h": 337.333,
    "s": 95.745,
    "l": 9.216
  },
  "oklch": {
    "l": 0.19628,
    "c": 0.07626,
    "h": 2.7
  },
  "luminance": 0.00646
}

Semantic roles & 50–950 ramp

primary
#2E0112
secondary
#177451
accent
#FFAE29
background
#F6F4F4
surface
#EBE6E7
border
#C6C2C3
text
#070002
muted
#7A7778

Preview Lab

Preview with #2E0112

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

Preview Lab → · Contrast checker → · Palette generator →

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