#2E0718#2E0718

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

Color values

HEX#2E0718
RGBrgb(46, 7, 24)
HSLhsl(334, 74%, 10%)
HSVhsv(334, 85%, 18%)
CMYKcmyk(0%, 84.8%, 47.8%, 82%)
CIE-LABlab(7.22, 21.54, -1.09)
CIE-LCHlch(7.22, 21.57, 357.10°)
OKLaboklab(20.86% 0.0664 -0.0027)
OKLCHoklch(20.86% 0.066 357.7)
XYZxyz(1.3677, 0.7989, 0.9462)
Luminance0.0080 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E0718 #072E1D
analogous
#2E072B #2E0718 #2E0907
triadic
#2E0718 #182E07 #07182E
tetradic
#2E0718 #2B2E07 #072E1D #09072E
square
#2E0718 #2B2E07 #072E1D #09072E
split-complementary
#2E0718 #072E09 #072B2E
monochromatic
#1B040E #1B040E #2E0718 #630F34 #98174F

Accessibility & contrast

On white

18.11
#2E0718 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E0718
18.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E0718#FFFFFF#000000##FFFFFF
##2E07181.0018.111.1618.11
#FFFFFF18.111.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E1118
Deuteranopia (green-blind)
#191917
Tritanopia (blue-blind)
#33040E
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #2e0718;
/* rgb */ color: rgb(46, 7, 24);
/* oklch */ color: oklch(20.9% 0.066 357.7);
Tailwind
colors: {
  custom: {
    50: '#694a54',
    500: '#2e0718',
    950: '#000000',
  },
}
SCSS
$custom: #2e0718;
$custom-light: #694a54;
$custom-dark: #000000;
JSON
{
  "hex": "#2e0718",
  "rgb": {
    "r": 46,
    "g": 7,
    "b": 24
  },
  "hsl": {
    "h": 333.846,
    "s": 73.585,
    "l": 10.392
  },
  "oklch": {
    "l": 0.20863,
    "c": 0.06646,
    "h": 357.7
  },
  "luminance": 0.00799
}

Semantic roles & 50–950 ramp

primary
#2E0718
secondary
#236E4D
accent
#F0A038
background
#F6F4F4
surface
#EBE7E7
border
#C6C3C3
text
#060102
muted
#7A7778

Preview Lab

Preview with #2E0718

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

Preview Lab → · Contrast checker → · Palette generator →

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