#2E0217#2E0217

#2E0217 is a very dark, moderate pink. Relative luminance 0.007; OKLCH L 20.0% C 0.076 H 356.2°. Best body text is #FFFFFF at 18.47:1 contrast (WCAG AA passes).

Color values

HEX#2E0217
RGBrgb(46, 2, 23)
HSLhsl(331, 92%, 9%)
HSVhsv(331, 96%, 18%)
CMYKcmyk(0%, 95.7%, 50%, 82%)
CIE-LABlab(6.20, 23.99, -1.82)
CIE-LCHlch(6.20, 24.05, 355.67°)
OKLaboklab(20.01% 0.076 -0.0051)
OKLCHoklch(20.01% 0.076 356.2)
XYZxyz(1.3032, 0.6863, 0.8743)
Luminance0.0069 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E0217 #022E19
analogous
#2E022D #2E0217 #2E0302
triadic
#2E0217 #172E02 #02172E
tetradic
#2E0217 #2D2E02 #022E19 #03022E
square
#2E0217 #2D2E02 #022E19 #03022E
split-complementary
#2E0217 #022E03 #022D2E
monochromatic
#1D010F #1D010F #2E0217 #690534 #A30752

Accessibility & contrast

On white

18.47
#2E0217 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.14
#2E0217 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E0217
18.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E0217#FFFFFF#000000##FFFFFF
##2E02171.0018.471.1418.47
#FFFFFF18.471.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A0E18
Deuteranopia (green-blind)
#171716
Tritanopia (blue-blind)
#33000A
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #2e0217;
/* rgb */ color: rgb(46, 2, 23);
/* oklch */ color: oklch(20.0% 0.076 356.2);
Tailwind
colors: {
  custom: {
    50: '#6a4753',
    500: '#2e0217',
    950: '#000000',
  },
}
SCSS
$custom: #2e0217;
$custom-light: #6a4753;
$custom-dark: #000000;
JSON
{
  "hex": "#2e0217",
  "rgb": {
    "r": 46,
    "g": 2,
    "b": 23
  },
  "hsl": {
    "h": 331.364,
    "s": 91.667,
    "l": 9.412
  },
  "oklch": {
    "l": 0.2001,
    "c": 0.07615,
    "h": 356.2
  },
  "luminance": 0.00686
}

Semantic roles & 50–950 ramp

primary
#2E0217
secondary
#197348
accent
#FF9929
background
#F6F4F4
surface
#EBE6E7
border
#C6C2C3
text
#070002
muted
#7A7778

Preview Lab

Preview with #2E0217

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

Preview Lab → · Contrast checker → · Palette generator →

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