#2E0417#2E0417

#2E0417 is a very dark, moderate pink. Relative luminance 0.007; OKLCH L 20.3% C 0.072 H 357.4°. Best body text is #FFFFFF at 18.32:1 contrast (WCAG AA passes).

Color values

HEX#2E0417
RGBrgb(46, 4, 23)
HSLhsl(333, 84%, 10%)
HSVhsv(333, 91%, 18%)
CMYKcmyk(0%, 91.3%, 50%, 82%)
CIE-LABlab(6.59, 22.96, -1.24)
CIE-LCHlch(6.59, 22.99, 356.90°)
OKLaboklab(20.34% 0.0718 -0.0033)
OKLCHoklch(20.34% 0.072 357.4)
XYZxyz(1.3249, 0.7297, 0.8815)
Luminance0.0073 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E0417 #042E1B
analogous
#2E042C #2E0417 #2E0604
triadic
#2E0417 #172E04 #04172E
tetradic
#2E0417 #2C2E04 #042E1B #06042E
square
#2E0417 #2C2E04 #042E1B #06042E
split-complementary
#2E0417 #042E06 #042C2E
monochromatic
#1C020E #1C020E #2E0417 #660933 #9F0E4F

Accessibility & contrast

On white

18.32
#2E0417 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E0417
18.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E0417#FFFFFF#000000##FFFFFF
##2E04171.0018.321.1518.32
#FFFFFF18.321.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C0F18
Deuteranopia (green-blind)
#181816
Tritanopia (blue-blind)
#33010C
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #2e0417;
/* rgb */ color: rgb(46, 4, 23);
/* oklch */ color: oklch(20.3% 0.072 357.4);
Tailwind
colors: {
  custom: {
    50: '#694853',
    500: '#2e0417',
    950: '#000000',
  },
}
SCSS
$custom: #2e0417;
$custom-light: #694853;
$custom-dark: #000000;
JSON
{
  "hex": "#2e0417",
  "rgb": {
    "r": 46,
    "g": 4,
    "b": 23
  },
  "hsl": {
    "h": 332.857,
    "s": 84,
    "l": 9.804
  },
  "oklch": {
    "l": 0.20343,
    "c": 0.07189,
    "h": 357.4
  },
  "luminance": 0.0073
}

Semantic roles & 50–950 ramp

primary
#2E0417
secondary
#1D714B
accent
#FA9E2E
background
#F6F4F4
surface
#EBE6E7
border
#C6C2C3
text
#070102
muted
#7A7778

Preview Lab

Preview with #2E0417

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

Preview Lab → · Contrast checker → · Palette generator →

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