#2E011F#2E011F

#2E011F is a very dark, moderate pink. Relative luminance 0.007; OKLCH L 20.3% C 0.083 H 345.0°. Best body text is #FFFFFF at 18.42:1 contrast (WCAG AA passes).

Color values

HEX#2E011F
RGBrgb(46, 1, 31)
HSLhsl(320, 96%, 9%)
HSVhsv(320, 98%, 18%)
CMYKcmyk(0%, 97.8%, 32.6%, 82%)
CIE-LABlab(6.34, 25.84, -7.88)
CIE-LCHlch(6.34, 27.02, 343.05°)
OKLaboklab(20.26% 0.0804 -0.0216)
OKLCHoklch(20.26% 0.083 345)
XYZxyz(1.3850, 0.7016, 1.3586)
Luminance0.0070 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E011F #012E10
analogous
#27012E #2E011F #2E0109
triadic
#2E011F #1F2E01 #011F2E
tetradic
#2E011F #2E2701 #012E10 #01092E
square
#2E011F #2E2701 #012E10 #01092E
split-complementary
#2E011F #092E01 #012E27
monochromatic
#1E0114 #1E0114 #2E011F #6A0247 #A60470

Accessibility & contrast

On white

18.42
#2E011F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.14
#2E011F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E011F
18.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E011F#FFFFFF#000000##FFFFFF
##2E011F1.0018.421.1418.42
#FFFFFF18.421.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#060F20
Deuteranopia (green-blind)
#14171E
Tritanopia (blue-blind)
#32010E
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #2e011f;
/* rgb */ color: rgb(46, 1, 31);
/* oklch */ color: oklch(20.3% 0.083 345.0);
Tailwind
colors: {
  custom: {
    50: '#69475a',
    500: '#2e011f',
    950: '#000000',
  },
}
SCSS
$custom: #2e011f;
$custom-light: #69475a;
$custom-dark: #000000;
JSON
{
  "hex": "#2e011f",
  "rgb": {
    "r": 46,
    "g": 1,
    "b": 31
  },
  "hsl": {
    "h": 320,
    "s": 95.745,
    "l": 9.216
  },
  "oklch": {
    "l": 0.20257,
    "c": 0.08324,
    "h": 345
  },
  "luminance": 0.00701
}

Semantic roles & 50–950 ramp

primary
#2E011F
secondary
#177436
accent
#FF7029
background
#F6F4F5
surface
#EBE6E9
border
#C6C2C5
text
#070003
muted
#7A7778

Preview Lab

Preview with #2E011F

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

Preview Lab → · Contrast checker → · Palette generator →

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