#2E011E#2E011E

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

Color values

HEX#2E011E
RGBrgb(46, 1, 30)
HSLhsl(321, 96%, 9%)
HSVhsv(321, 98%, 18%)
CMYKcmyk(0%, 97.8%, 34.8%, 82%)
CIE-LABlab(6.29, 25.66, -7.16)
CIE-LCHlch(6.29, 26.64, 344.40°)
OKLaboklab(20.2% 0.0802 -0.0196)
OKLCHoklch(20.2% 0.083 346.2)
XYZxyz(1.3720, 0.6965, 1.2902)
Luminance0.0070 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E011E #012E11
analogous
#28012E #2E011E #2E0108
triadic
#2E011E #1E2E01 #011E2E
tetradic
#2E011E #2E2801 #012E11 #01082E
square
#2E011E #2E2801 #012E11 #01082E
split-complementary
#2E011E #082E01 #012E28
monochromatic
#1E0114 #1E0114 #2E011E #6A0245 #A6046C

Accessibility & contrast

On white

18.43
#2E011E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E011E
18.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E011E#FFFFFF#000000##FFFFFF
##2E011E1.0018.431.1418.43
#FFFFFF18.431.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#060F1F
Deuteranopia (green-blind)
#15171D
Tritanopia (blue-blind)
#32000E
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #2e011e;
/* rgb */ color: rgb(46, 1, 30);
/* oklch */ color: oklch(20.2% 0.083 346.2);
Tailwind
colors: {
  custom: {
    50: '#694759',
    500: '#2e011e',
    950: '#000000',
  },
}
SCSS
$custom: #2e011e;
$custom-light: #694759;
$custom-dark: #000000;
JSON
{
  "hex": "#2e011e",
  "rgb": {
    "r": 46,
    "g": 1,
    "b": 30
  },
  "hsl": {
    "h": 321.333,
    "s": 95.745,
    "l": 9.216
  },
  "oklch": {
    "l": 0.20199,
    "c": 0.08255,
    "h": 346.2
  },
  "luminance": 0.00696
}

Semantic roles & 50–950 ramp

primary
#2E011E
secondary
#177438
accent
#FF7529
background
#F6F4F5
surface
#EBE6E9
border
#C6C2C5
text
#070003
muted
#7A7778

Preview Lab

Preview with #2E011E

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

Preview Lab → · Contrast checker → · Palette generator →

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