#2B011A#2B011A

#2B011A is a very dark, moderate pink. Relative luminance 0.006; OKLCH L 19.3% C 0.078 H 348.7°. Best body text is #FFFFFF at 18.72:1 contrast (WCAG AA passes).

Color values

HEX#2B011A
RGBrgb(43, 1, 26)
HSLhsl(324, 95%, 9%)
HSVhsv(324, 98%, 17%)
CMYKcmyk(0%, 97.7%, 39.5%, 83.1%)
CIE-LABlab(5.51, 23.50, -5.24)
CIE-LCHlch(5.51, 24.08, 347.43°)
OKLaboklab(19.31% 0.0763 -0.0152)
OKLCHoklch(19.31% 0.078 348.7)
XYZxyz(1.1936, 0.6100, 1.0320)
Luminance0.0061 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B011A #012B12
analogous
#27012B #2B011A #2B0105
triadic
#2B011A #1A2B01 #011A2B
tetradic
#2B011A #2B2701 #012B12 #01052B
square
#2B011A #2B2701 #012B12 #01052B
split-complementary
#2B011A #052B01 #012B27
monochromatic
#1E0112 #1E0112 #2B011A #67023E #A30462

Accessibility & contrast

On white

18.72
#2B011A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.12
#2B011A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B011A
18.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B011A#FFFFFF#000000##FFFFFF
##2B011A1.0018.721.1218.72
#FFFFFF18.721.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#060D1B
Deuteranopia (green-blind)
#141519
Tritanopia (blue-blind)
#2F000B
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #2b011a;
/* rgb */ color: rgb(43, 1, 26);
/* oklch */ color: oklch(19.3% 0.078 348.7);
Tailwind
colors: {
  custom: {
    50: '#664656',
    500: '#2b011a',
    950: '#000000',
  },
}
SCSS
$custom: #2b011a;
$custom-light: #664656;
$custom-dark: #000000;
JSON
{
  "hex": "#2b011a",
  "rgb": {
    "r": 43,
    "g": 1,
    "b": 26
  },
  "hsl": {
    "h": 324.286,
    "s": 95.455,
    "l": 8.627
  },
  "oklch": {
    "l": 0.19308,
    "c": 0.07776,
    "h": 348.7
  },
  "luminance": 0.0061
}

Semantic roles & 50–950 ramp

primary
#2B011A
secondary
#17713B
accent
#FF8029
background
#F6F4F5
surface
#EBE6E9
border
#C6C2C5
text
#060003
muted
#7A7778

Preview Lab

Preview with #2B011A

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

Preview Lab → · Contrast checker → · Palette generator →

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