#2E0727#2E0727

#2E0727 is a very dark, moderate pink. Relative luminance 0.009; OKLCH L 21.7% C 0.077 H 336.0°. Best body text is #FFFFFF at 17.86:1 contrast (WCAG AA passes).

Color values

HEX#2E0727
RGBrgb(46, 7, 39)
HSLhsl(311, 74%, 10%)
HSVhsv(311, 85%, 18%)
CMYKcmyk(0%, 84.8%, 15.2%, 82%)
CIE-LABlab(7.94, 24.10, -11.54)
CIE-LCHlch(7.94, 26.72, 334.41°)
OKLaboklab(21.66% 0.0706 -0.0314)
OKLCHoklch(21.66% 0.077 336)
XYZxyz(1.5689, 0.8794, 2.0062)
Luminance0.0088 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E0727 #072E0E
analogous
#21072E #2E0727 #2E0713
triadic
#2E0727 #272E07 #07272E
tetradic
#2E0727 #2E2107 #072E0E #07132E
square
#2E0727 #2E2107 #072E0E #07132E
split-complementary
#2E0727 #132E07 #072E21
monochromatic
#1B0417 #1B0417 #2E0727 #630F54 #981781

Accessibility & contrast

On white

17.86
#2E0727 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E0727
17.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E0727#FFFFFF#000000##FFFFFF
##2E07271.0017.861.1817.86
#FFFFFF17.861.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#071428
Deuteranopia (green-blind)
#141A26
Tritanopia (blue-blind)
#310916
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #2e0727;
/* rgb */ color: rgb(46, 7, 39);
/* oklch */ color: oklch(21.7% 0.077 336.0);
Tailwind
colors: {
  custom: {
    50: '#694a61',
    500: '#2e0727',
    950: '#000000',
  },
}
SCSS
$custom: #2e0727;
$custom-light: #694a61;
$custom-dark: #000000;
JSON
{
  "hex": "#2e0727",
  "rgb": {
    "r": 46,
    "g": 7,
    "b": 39
  },
  "hsl": {
    "h": 310.769,
    "s": 73.585,
    "l": 10.392
  },
  "oklch": {
    "l": 0.2166,
    "c": 0.07727,
    "h": 336
  },
  "luminance": 0.00879
}

Semantic roles & 50–950 ramp

primary
#2E0727
secondary
#236E30
accent
#F05938
background
#F6F4F5
surface
#EBE7E9
border
#C6C3C5
text
#060105
muted
#7A7779

Preview Lab

Preview with #2E0727

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

Preview Lab → · Contrast checker → · Palette generator →

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