#2E051F#2E051F

#2E051F is a very dark, moderate pink. Relative luminance 0.008; OKLCH L 20.9% C 0.075 H 346.1°. Best body text is #FFFFFF at 18.14:1 contrast (WCAG AA passes).

Color values

HEX#2E051F
RGBrgb(46, 5, 31)
HSLhsl(322, 80%, 10%)
HSVhsv(322, 89%, 18%)
CMYKcmyk(0%, 89.1%, 32.6%, 82%)
CIE-LABlab(7.12, 23.72, -6.69)
CIE-LCHlch(7.12, 24.65, 344.26°)
OKLaboklab(20.89% 0.0725 -0.0179)
OKLCHoklch(20.89% 0.075 346.1)
XYZxyz(1.4284, 0.7885, 1.3730)
Luminance0.0079 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E051F #052E14
analogous
#28052E #2E051F #2E050B
triadic
#2E051F #1F2E05 #051F2E
tetradic
#2E051F #2E2805 #052E14 #050B2E
square
#2E051F #2E2805 #052E14 #050B2E
split-complementary
#2E051F #0B2E05 #052E28
monochromatic
#1C0313 #1C0313 #2E051F #650B44 #9C1169

Accessibility & contrast

On white

18.14
#2E051F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#2E051F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E051F
18.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E051F#FFFFFF#000000##FFFFFF
##2E051F1.0018.141.1618.14
#FFFFFF18.141.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A1120
Deuteranopia (green-blind)
#16181E
Tritanopia (blue-blind)
#320410
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #2e051f;
/* rgb */ color: rgb(46, 5, 31);
/* oklch */ color: oklch(20.9% 0.075 346.1);
Tailwind
colors: {
  custom: {
    50: '#69495a',
    500: '#2e051f',
    950: '#000000',
  },
}
SCSS
$custom: #2e051f;
$custom-light: #69495a;
$custom-dark: #000000;
JSON
{
  "hex": "#2e051f",
  "rgb": {
    "r": 46,
    "g": 5,
    "b": 31
  },
  "hsl": {
    "h": 321.951,
    "s": 80.392,
    "l": 10
  },
  "oklch": {
    "l": 0.20893,
    "c": 0.07467,
    "h": 346.1
  },
  "luminance": 0.00788
}

Semantic roles & 50–950 ramp

primary
#2E051F
secondary
#1F703D
accent
#F77931
background
#F6F4F5
surface
#EBE7E9
border
#C6C3C5
text
#060103
muted
#7A7778

Preview Lab

Preview with #2E051F

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

Preview Lab → · Contrast checker → · Palette generator →

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