#2E051A#2E051A

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

Color values

HEX#2E051A
RGBrgb(46, 5, 26)
HSLhsl(329, 80%, 10%)
HSVhsv(329, 89%, 18%)
CMYKcmyk(0%, 89.1%, 43.5%, 82%)
CIE-LABlab(6.90, 22.89, -3.12)
CIE-LCHlch(6.90, 23.10, 352.24°)
OKLaboklab(20.64% 0.071 -0.0082)
OKLCHoklch(20.64% 0.071 353.4)
XYZxyz(1.3675, 0.7641, 1.0526)
Luminance0.0076 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E051A #052E19
analogous
#2D052E #2E051A #2E0506
triadic
#2E051A #1A2E05 #051A2E
tetradic
#2E051A #2E2D05 #052E19 #05062E
square
#2E051A #2E2D05 #052E19 #05062E
split-complementary
#2E051A #062E05 #052E2D
monochromatic
#1C0310 #1C0310 #2E051A #650B39 #9C1158

Accessibility & contrast

On white

18.22
#2E051A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.15
#2E051A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E051A
18.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E051A#FFFFFF#000000##FFFFFF
##2E051A1.0018.221.1518.22
#FFFFFF18.221.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C101B
Deuteranopia (green-blind)
#181819
Tritanopia (blue-blind)
#32030E
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #2e051a;
/* rgb */ color: rgb(46, 5, 26);
/* oklch */ color: oklch(20.6% 0.071 353.4);
Tailwind
colors: {
  custom: {
    50: '#694956',
    500: '#2e051a',
    950: '#000000',
  },
}
SCSS
$custom: #2e051a;
$custom-light: #694956;
$custom-dark: #000000;
JSON
{
  "hex": "#2e051a",
  "rgb": {
    "r": 46,
    "g": 5,
    "b": 26
  },
  "hsl": {
    "h": 329.268,
    "s": 80.392,
    "l": 10
  },
  "oklch": {
    "l": 0.2064,
    "c": 0.07142,
    "h": 353.4
  },
  "luminance": 0.00764
}

Semantic roles & 50–950 ramp

primary
#2E051A
secondary
#1F7046
accent
#F79131
background
#F6F4F5
surface
#EBE7E9
border
#C6C3C5
text
#070103
muted
#7A7778

Preview Lab

Preview with #2E051A

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

Preview Lab → · Contrast checker → · Palette generator →

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