#2E1129#2E1129

#2E1129 is a very dark, moderate pink. Relative luminance 0.011; OKLCH L 23.3% C 0.060 H 334.3°. Best body text is #FFFFFF at 17.10:1 contrast (WCAG AA passes).

Color values

HEX#2E1129
RGBrgb(46, 17, 41)
HSLhsl(310, 46%, 12%)
HSVhsv(310, 63%, 18%)
CMYKcmyk(0%, 63%, 10.9%, 82%)
CIE-LABlab(10.12, 18.86, -9.65)
CIE-LCHlch(10.12, 21.19, 332.89°)
OKLaboklab(23.29% 0.0544 -0.0262)
OKLCHoklch(23.29% 0.06 334.3)
XYZxyz(1.7274, 1.1420, 2.2268)
Luminance0.0114 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E1129 #112E16
analogous
#25112E #2E1129 #2E111B
triadic
#2E1129 #292E11 #11292E
tetradic
#2E1129 #2E2511 #112E16 #111B2E
square
#2E1129 #2E2511 #112E16 #111B2E
split-complementary
#2E1129 #1B2E11 #112E25
monochromatic
#160814 #160814 #2E1129 #5B2251 #873279

Accessibility & contrast

On white

17.10
#2E1129 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#2E1129 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E1129
17.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E1129#FFFFFF#000000##FFFFFF
##2E11291.0017.101.2317.10
#FFFFFF17.101.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#11192A
Deuteranopia (green-blind)
#191D28
Tritanopia (blue-blind)
#30131B
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #2e1129;
/* rgb */ color: rgb(46, 17, 41);
/* oklch */ color: oklch(23.3% 0.060 334.3);
Tailwind
colors: {
  custom: {
    50: '#685062',
    500: '#2e1129',
    950: '#000000',
  },
}
SCSS
$custom: #2e1129;
$custom-light: #685062;
$custom-dark: #000000;
JSON
{
  "hex": "#2e1129",
  "rgb": {
    "r": 46,
    "g": 17,
    "b": 41
  },
  "hsl": {
    "h": 310.345,
    "s": 46.032,
    "l": 12.353
  },
  "oklch": {
    "l": 0.23293,
    "c": 0.06039,
    "h": 334.3
  },
  "luminance": 0.01142
}

Semantic roles & 50–950 ramp

primary
#2E1129
secondary
#34663D
accent
#D66952
background
#F6F4F5
surface
#EBE7EA
border
#C6C3C6
text
#060205
muted
#7A7879

Preview Lab

Preview with #2E1129

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

Preview Lab → · Contrast checker → · Palette generator →

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