#2E021D#2E021D

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

Color values

HEX#2E021D
RGBrgb(46, 2, 29)
HSLhsl(323, 92%, 9%)
HSVhsv(323, 96%, 18%)
CMYKcmyk(0%, 95.7%, 37%, 82%)
CIE-LABlab(6.44, 24.96, -6.15)
CIE-LCHlch(6.44, 25.71, 346.15°)
OKLaboklab(20.31% 0.0779 -0.0167)
OKLCHoklch(20.31% 0.08 347.9)
XYZxyz(1.3703, 0.7131, 1.2276)
Luminance0.0071 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E021D #022E13
analogous
#29022E #2E021D #2E0207
triadic
#2E021D #1D2E02 #021D2E
tetradic
#2E021D #2E2902 #022E13 #02072E
square
#2E021D #2E2902 #022E13 #02072E
split-complementary
#2E021D #072E02 #022E29
monochromatic
#1D0112 #1D0112 #2E021D #690542 #A30767

Accessibility & contrast

On white

18.38
#2E021D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E021D
18.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E021D#FFFFFF#000000##FFFFFF
##2E021D1.0018.381.1418.38
#FFFFFF18.381.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#080F1E
Deuteranopia (green-blind)
#15171C
Tritanopia (blue-blind)
#32010E
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #2e021d;
/* rgb */ color: rgb(46, 2, 29);
/* oklch */ color: oklch(20.3% 0.080 347.9);
Tailwind
colors: {
  custom: {
    50: '#694758',
    500: '#2e021d',
    950: '#000000',
  },
}
SCSS
$custom: #2e021d;
$custom-light: #694758;
$custom-dark: #000000;
JSON
{
  "hex": "#2e021d",
  "rgb": {
    "r": 46,
    "g": 2,
    "b": 29
  },
  "hsl": {
    "h": 323.182,
    "s": 91.667,
    "l": 9.412
  },
  "oklch": {
    "l": 0.20309,
    "c": 0.07964,
    "h": 347.9
  },
  "luminance": 0.00713
}

Semantic roles & 50–950 ramp

primary
#2E021D
secondary
#19733C
accent
#FF7C29
background
#F6F4F5
surface
#EBE6E9
border
#C6C2C5
text
#070003
muted
#7A7778

Preview Lab

Preview with #2E021D

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

Preview Lab → · Contrast checker → · Palette generator →

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