#2E0717#2E0717

#2E0717 is a very dark, moderate pink. Relative luminance 0.008; OKLCH L 20.8% C 0.066 H 359.3°. Best body text is #FFFFFF at 18.12:1 contrast (WCAG AA passes).

Color values

HEX#2E0717
RGBrgb(46, 7, 23)
HSLhsl(335, 74%, 10%)
HSVhsv(335, 85%, 18%)
CMYKcmyk(0%, 84.8%, 50%, 82%)
CIE-LABlab(7.18, 21.40, -0.39)
CIE-LCHlch(7.18, 21.40, 358.97°)
OKLaboklab(20.82% 0.066 -0.0008)
OKLCHoklch(20.82% 0.066 359.3)
XYZxyz(1.3574, 0.7948, 0.8924)
Luminance0.0080 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E0717 #072E1E
analogous
#2E072A #2E0717 #2E0B07
triadic
#2E0717 #172E07 #07172E
tetradic
#2E0717 #2A2E07 #072E1E #0B072E
square
#2E0717 #2A2E07 #072E1E #0B072E
split-complementary
#2E0717 #072E0B #072A2E
monochromatic
#1B040D #1B040D #2E0717 #630F32 #98174C

Accessibility & contrast

On white

18.12
#2E0717 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#2E0717 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E0717
18.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E0717#FFFFFF#000000##FFFFFF
##2E07171.0018.121.1618.12
#FFFFFF18.121.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F1117
Deuteranopia (green-blind)
#191916
Tritanopia (blue-blind)
#33040D
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #2e0717;
/* rgb */ color: rgb(46, 7, 23);
/* oklch */ color: oklch(20.8% 0.066 359.3);
Tailwind
colors: {
  custom: {
    50: '#694a53',
    500: '#2e0717',
    950: '#000000',
  },
}
SCSS
$custom: #2e0717;
$custom-light: #694a53;
$custom-dark: #000000;
JSON
{
  "hex": "#2e0717",
  "rgb": {
    "r": 46,
    "g": 7,
    "b": 23
  },
  "hsl": {
    "h": 335.385,
    "s": 73.585,
    "l": 10.392
  },
  "oklch": {
    "l": 0.2082,
    "c": 0.06598,
    "h": 359.3
  },
  "luminance": 0.00795
}

Semantic roles & 50–950 ramp

primary
#2E0717
secondary
#236E4F
accent
#F0A438
background
#F6F4F4
surface
#EBE7E7
border
#C6C3C3
text
#070102
muted
#7A7778

Preview Lab

Preview with #2E0717

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

Preview Lab → · Contrast checker → · Palette generator →

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