#2E0122#2E0122

#2E0122 is a very dark, moderate pink. Relative luminance 0.007; OKLCH L 20.4% C 0.085 H 341.3°. Best body text is #FFFFFF at 18.36:1 contrast (WCAG AA passes).

Color values

HEX#2E0122
RGBrgb(46, 1, 34)
HSLhsl(316, 96%, 9%)
HSVhsv(316, 98%, 18%)
CMYKcmyk(0%, 97.8%, 26.1%, 82%)
CIE-LABlab(6.49, 26.40, -9.98)
CIE-LCHlch(6.49, 28.22, 339.30°)
OKLaboklab(20.44% 0.0809 -0.0274)
OKLCHoklch(20.44% 0.085 341.3)
XYZxyz(1.4264, 0.7182, 1.5766)
Luminance0.0072 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E0122 #012E0D
analogous
#24012E #2E0122 #2E010C
triadic
#2E0122 #222E01 #01222E
tetradic
#2E0122 #2E2401 #012E0D #010C2E
square
#2E0122 #2E2401 #012E0D #010C2E
split-complementary
#2E0122 #0C2E01 #012E24
monochromatic
#1E0116 #1E0116 #2E0122 #6A024E #A6047B

Accessibility & contrast

On white

18.36
#2E0122 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E0122
18.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E0122#FFFFFF#000000##FFFFFF
##2E01221.0018.361.1418.36
#FFFFFF18.361.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#040F23
Deuteranopia (green-blind)
#131721
Tritanopia (blue-blind)
#320210
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #2e0122;
/* rgb */ color: rgb(46, 1, 34);
/* oklch */ color: oklch(20.4% 0.085 341.3);
Tailwind
colors: {
  custom: {
    50: '#69475d',
    500: '#2e0122',
    950: '#000000',
  },
}
SCSS
$custom: #2e0122;
$custom-light: #69475d;
$custom-dark: #000000;
JSON
{
  "hex": "#2e0122",
  "rgb": {
    "r": 46,
    "g": 1,
    "b": 34
  },
  "hsl": {
    "h": 316,
    "s": 95.745,
    "l": 9.216
  },
  "oklch": {
    "l": 0.20437,
    "c": 0.08539,
    "h": 341.3
  },
  "luminance": 0.00718
}

Semantic roles & 50–950 ramp

primary
#2E0122
secondary
#177430
accent
#FF6229
background
#F6F4F5
surface
#EBE6E9
border
#C6C2C5
text
#060004
muted
#7A7779

Preview Lab

Preview with #2E0122

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

Preview Lab → · Contrast checker → · Palette generator →

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