#2E021E#2E021E

#2E021E is a very dark, moderate pink. Relative luminance 0.007; OKLCH L 20.4% C 0.080 H 346.5°. Best body text is #FFFFFF at 18.36:1 contrast (WCAG AA passes).

Color values

HEX#2E021E
RGBrgb(46, 2, 30)
HSLhsl(322, 92%, 9%)
HSVhsv(322, 96%, 18%)
CMYKcmyk(0%, 95.7%, 34.8%, 82%)
CIE-LABlab(6.49, 25.13, -6.87)
CIE-LCHlch(6.49, 26.05, 344.72°)
OKLaboklab(20.36% 0.0781 -0.0187)
OKLCHoklch(20.36% 0.08 346.5)
XYZxyz(1.3828, 0.7182, 1.2938)
Luminance0.0072 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E021E #022E12
analogous
#28022E #2E021E #2E0208
triadic
#2E021E #1E2E02 #021E2E
tetradic
#2E021E #2E2802 #022E12 #02082E
square
#2E021E #2E2802 #022E12 #02082E
split-complementary
#2E021E #082E02 #022E28
monochromatic
#1D0113 #1D0113 #2E021E #690544 #A3076B

Accessibility & contrast

On white

18.36
#2E021E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E021E
18.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E021E#FFFFFF#000000##FFFFFF
##2E021E1.0018.361.1418.36
#FFFFFF18.361.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.361.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2e021e;
/* rgb */ color: rgb(46, 2, 30);
/* oklch */ color: oklch(20.4% 0.080 346.5);
Tailwind
colors: {
  custom: {
    50: '#694759',
    500: '#2e021e',
    950: '#000000',
  },
}
SCSS
$custom: #2e021e;
$custom-light: #694759;
$custom-dark: #000000;
JSON
{
  "hex": "#2e021e",
  "rgb": {
    "r": 46,
    "g": 2,
    "b": 30
  },
  "hsl": {
    "h": 321.818,
    "s": 91.667,
    "l": 9.412
  },
  "oklch": {
    "l": 0.20363,
    "c": 0.08031,
    "h": 346.5
  },
  "luminance": 0.00718
}

Semantic roles & 50–950 ramp

primary
#2E021E
secondary
#19733A
accent
#FF7729
background
#F6F4F5
surface
#EBE6E9
border
#C6C2C5
text
#070003
muted
#7A7778

Preview Lab

Preview with #2E021E

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

Preview Lab → · Contrast checker → · Palette generator →

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