#2E0612#2E0612

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

Color values

HEX#2E0612
RGBrgb(46, 6, 18)
HSLhsl(342, 77%, 10%)
HSVhsv(342, 87%, 18%)
CMYKcmyk(0%, 87%, 60.9%, 82%)
CIE-LABlab(6.82, 21.25, 2.47)
CIE-LCHlch(6.82, 21.39, 6.63°)
OKLaboklab(20.47% 0.0656 0.0077)
OKLCHoklch(20.47% 0.066 6.7)
XYZxyz(1.3011, 0.7549, 0.6494)
Luminance0.0076 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E0612 #062E22
analogous
#2E0626 #2E0612 #2E0E06
triadic
#2E0612 #122E06 #06122E
tetradic
#2E0612 #262E06 #062E22 #0E062E
square
#2E0612 #262E06 #062E22 #0E062E
split-complementary
#2E0612 #062E0E #06262E
monochromatic
#1B040B #1B040B #2E0612 #640D27 #9A143C

Accessibility & contrast

On white

18.25
#2E0612 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.15
#2E0612 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E0612
18.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E0612#FFFFFF#000000##FFFFFF
##2E06121.0018.251.1518.25
#FFFFFF18.251.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F1012
Deuteranopia (green-blind)
#1A1811
Tritanopia (blue-blind)
#33010B
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #2e0612;
/* rgb */ color: rgb(46, 6, 18);
/* oklch */ color: oklch(20.5% 0.066 6.7);
Tailwind
colors: {
  custom: {
    50: '#6a4950',
    500: '#2e0612',
    950: '#000000',
  },
}
SCSS
$custom: #2e0612;
$custom-light: #6a4950;
$custom-dark: #000000;
JSON
{
  "hex": "#2e0612",
  "rgb": {
    "r": 46,
    "g": 6,
    "b": 18
  },
  "hsl": {
    "h": 342,
    "s": 76.923,
    "l": 10.196
  },
  "oklch": {
    "l": 0.20471,
    "c": 0.06609,
    "h": 6.7
  },
  "luminance": 0.00755
}

Semantic roles & 50–950 ramp

primary
#2E0612
secondary
#216F57
accent
#F3BA34
background
#F6F4F4
surface
#EBE7E7
border
#C6C3C3
text
#070102
muted
#7A7778

Preview Lab

Preview with #2E0612

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

Preview Lab → · Contrast checker → · Palette generator →

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