#2E051B#2E051B

#2E051B is a very dark, moderate pink. Relative luminance 0.008; OKLCH L 20.7% C 0.072 H 351.9°. Best body text is #FFFFFF at 18.20:1 contrast (WCAG AA passes).

Color values

HEX#2E051B
RGBrgb(46, 5, 27)
HSLhsl(328, 80%, 10%)
HSVhsv(328, 89%, 18%)
CMYKcmyk(0%, 89.1%, 41.3%, 82%)
CIE-LABlab(6.94, 23.05, -3.84)
CIE-LCHlch(6.94, 23.37, 350.54°)
OKLaboklab(20.69% 0.0713 -0.0101)
OKLCHoklch(20.69% 0.072 351.9)
XYZxyz(1.3789, 0.7687, 1.1125)
Luminance0.0077 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E051B #052E18
analogous
#2D052E #2E051B #2E0506
triadic
#2E051B #1B2E05 #051B2E
tetradic
#2E051B #2E2D05 #052E18 #05062E
square
#2E051B #2E2D05 #052E18 #05062E
split-complementary
#2E051B #062E05 #052E2D
monochromatic
#1C0310 #1C0310 #2E051B #650B3B #9C115C

Accessibility & contrast

On white

18.20
#2E051B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E051B
18.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E051B#FFFFFF#000000##FFFFFF
##2E051B1.0018.201.1518.20
#FFFFFF18.201.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C111C
Deuteranopia (green-blind)
#17181A
Tritanopia (blue-blind)
#32030E
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #2e051b;
/* rgb */ color: rgb(46, 5, 27);
/* oklch */ color: oklch(20.7% 0.072 351.9);
Tailwind
colors: {
  custom: {
    50: '#694957',
    500: '#2e051b',
    950: '#000000',
  },
}
SCSS
$custom: #2e051b;
$custom-light: #694957;
$custom-dark: #000000;
JSON
{
  "hex": "#2e051b",
  "rgb": {
    "r": 46,
    "g": 5,
    "b": 27
  },
  "hsl": {
    "h": 327.805,
    "s": 80.392,
    "l": 10
  },
  "oklch": {
    "l": 0.20687,
    "c": 0.07202,
    "h": 351.9
  },
  "luminance": 0.00769
}

Semantic roles & 50–950 ramp

primary
#2E051B
secondary
#1F7044
accent
#F78D31
background
#F6F4F5
surface
#EBE7E9
border
#C6C3C5
text
#060103
muted
#7A7778

Preview Lab

Preview with #2E051B

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

Preview Lab → · Contrast checker → · Palette generator →

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