#2E0221#2E0221

#2E0221 is a very dark, moderate pink. Relative luminance 0.007; OKLCH L 20.5% C 0.082 H 342.7°. Best body text is #FFFFFF at 18.31:1 contrast (WCAG AA passes).

Color values

HEX#2E0221
RGBrgb(46, 2, 33)
HSLhsl(318, 92%, 9%)
HSVhsv(318, 96%, 18%)
CMYKcmyk(0%, 95.7%, 28.3%, 82%)
CIE-LABlab(6.63, 25.68, -8.98)
CIE-LCHlch(6.63, 27.21, 340.73°)
OKLaboklab(20.54% 0.0787 -0.0245)
OKLCHoklch(20.54% 0.082 342.7)
XYZxyz(1.4230, 0.7342, 1.5053)
Luminance0.0073 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E0221 #022E0F
analogous
#25022E #2E0221 #2E020B
triadic
#2E0221 #212E02 #02212E
tetradic
#2E0221 #2E2502 #022E0F #020B2E
square
#2E0221 #2E2502 #022E0F #020B2E
split-complementary
#2E0221 #0B2E02 #022E25
monochromatic
#1D0115 #1D0115 #2E0221 #69054B #A30775

Accessibility & contrast

On white

18.31
#2E0221 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E0221
18.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E0221#FFFFFF#000000##FFFFFF
##2E02211.0018.311.1518.31
#FFFFFF18.311.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#061022
Deuteranopia (green-blind)
#141720
Tritanopia (blue-blind)
#320210
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #2e0221;
/* rgb */ color: rgb(46, 2, 33);
/* oklch */ color: oklch(20.5% 0.082 342.7);
Tailwind
colors: {
  custom: {
    50: '#69475c',
    500: '#2e0221',
    950: '#000000',
  },
}
SCSS
$custom: #2e0221;
$custom-light: #69475c;
$custom-dark: #000000;
JSON
{
  "hex": "#2e0221",
  "rgb": {
    "r": 46,
    "g": 2,
    "b": 33
  },
  "hsl": {
    "h": 317.727,
    "s": 91.667,
    "l": 9.412
  },
  "oklch": {
    "l": 0.20537,
    "c": 0.08244,
    "h": 342.7
  },
  "luminance": 0.00734
}

Semantic roles & 50–950 ramp

primary
#2E0221
secondary
#197334
accent
#FF6829
background
#F6F4F5
surface
#EBE6E9
border
#C6C2C5
text
#060004
muted
#7A7779

Preview Lab

Preview with #2E0221

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

Preview Lab → · Contrast checker → · Palette generator →

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