#2E171E#2E171E

#2E171E is a very dark, muted pink. Relative luminance 0.013; OKLCH L 23.9% C 0.039 H 0.8°. Best body text is #FFFFFF at 16.70:1 contrast (WCAG AA passes).

Color values

HEX#2E171E
RGBrgb(46, 23, 30)
HSLhsl(342, 33%, 14%)
HSVhsv(342, 50%, 18%)
CMYKcmyk(0%, 50%, 34.8%, 82%)
CIE-LABlab(11.19, 12.73, 0.15)
CIE-LCHlch(11.19, 12.73, 0.66°)
OKLaboklab(23.93% 0.0385 0.0006)
OKLCHoklch(23.93% 0.039 0.8)
XYZxyz(1.6675, 1.2875, 1.3887)
Luminance0.0129 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E171E #172E27
analogous
#2E1729 #2E171E #2E1B17
triadic
#2E171E #1E2E17 #171E2E
tetradic
#2E171E #292E17 #172E27 #1B172E
square
#2E171E #292E17 #172E27 #1B172E
split-complementary
#2E171E #172E1B #17292E
monochromatic
#140A0D #140A0D #2E171E #572B39 #804053

Accessibility & contrast

On white

16.70
#2E171E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#2E171E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E171E
16.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E171E#FFFFFF#000000##FFFFFF
##2E171E1.0016.701.2616.70
#FFFFFF16.701.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A1B1E
Deuteranopia (green-blind)
#201F1D
Tritanopia (blue-blind)
#321519
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #2e171e;
/* rgb */ color: rgb(46, 23, 30);
/* oklch */ color: oklch(23.9% 0.039 0.8);
Tailwind
colors: {
  custom: {
    50: '#675459',
    500: '#2e171e',
    950: '#000000',
  },
}
SCSS
$custom: #2e171e;
$custom-light: #675459;
$custom-dark: #000000;
JSON
{
  "hex": "#2e171e",
  "rgb": {
    "r": 46,
    "g": 23,
    "b": 30
  },
  "hsl": {
    "h": 341.739,
    "s": 33.333,
    "l": 13.529
  },
  "oklch": {
    "l": 0.23933,
    "c": 0.03851,
    "h": 0.8
  },
  "luminance": 0.01287
}

Semantic roles & 50–950 ramp

primary
#2E171E
secondary
#3E6358
accent
#C9A95E
background
#F6F4F5
surface
#EBE7E9
border
#C6C3C5
text
#060203
muted
#7A7878

Preview Lab

Preview with #2E171E

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

Preview Lab → · Contrast checker → · Palette generator →

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