#2E0827#2E0827

#2E0827 is a very dark, moderate pink. Relative luminance 0.009; OKLCH L 21.8% C 0.075 H 336.1°. Best body text is #FFFFFF at 17.79:1 contrast (WCAG AA passes).

Color values

HEX#2E0827
RGBrgb(46, 8, 39)
HSLhsl(311, 70%, 11%)
HSVhsv(311, 83%, 18%)
CMYKcmyk(0%, 82.6%, 15.2%, 82%)
CIE-LABlab(8.14, 23.56, -11.24)
CIE-LCHlch(8.14, 26.10, 334.50°)
OKLaboklab(21.8% 0.069 -0.0306)
OKLCHoklch(21.8% 0.075 336.1)
XYZxyz(1.5798, 0.9011, 2.0098)
Luminance0.0090 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E0827 #082E0F
analogous
#22082E #2E0827 #2E0814
triadic
#2E0827 #272E08 #08272E
tetradic
#2E0827 #2E2208 #082E0F #08142E
square
#2E0827 #2E2208 #082E0F #08142E
split-complementary
#2E0827 #142E08 #082E22
monochromatic
#1A0516 #1A0516 #2E0827 #621153 #961A7F

Accessibility & contrast

On white

17.79
#2E0827 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#2E0827 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E0827
17.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E0827#FFFFFF#000000##FFFFFF
##2E08271.0017.791.1817.79
#FFFFFF17.791.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#081428
Deuteranopia (green-blind)
#151A26
Tritanopia (blue-blind)
#310A16
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #2e0827;
/* rgb */ color: rgb(46, 8, 39);
/* oklch */ color: oklch(21.8% 0.075 336.1);
Tailwind
colors: {
  custom: {
    50: '#684b61',
    500: '#2e0827',
    950: '#000000',
  },
}
SCSS
$custom: #2e0827;
$custom-light: #684b61;
$custom-dark: #000000;
JSON
{
  "hex": "#2e0827",
  "rgb": {
    "r": 46,
    "g": 8,
    "b": 39
  },
  "hsl": {
    "h": 311.053,
    "s": 70.37,
    "l": 10.588
  },
  "oklch": {
    "l": 0.21801,
    "c": 0.07544,
    "h": 336.1
  },
  "luminance": 0.00901
}

Semantic roles & 50–950 ramp

primary
#2E0827
secondary
#256D32
accent
#ED5C3B
background
#F6F4F5
surface
#EBE7E9
border
#C6C3C5
text
#060105
muted
#7A7779

Preview Lab

Preview with #2E0827

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

Preview Lab → · Contrast checker → · Palette generator →

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