#2B0112#2B0112

#2B0112 is a very dark, moderate pink. Relative luminance 0.006; OKLCH L 18.9% C 0.074 H 0.4°. Best body text is #FFFFFF at 18.82:1 contrast (WCAG AA passes).

Color values

HEX#2B0112
RGBrgb(43, 1, 18)
HSLhsl(336, 95%, 9%)
HSVhsv(336, 98%, 17%)
CMYKcmyk(0%, 97.7%, 58.1%, 83.1%)
CIE-LABlab(5.23, 22.14, 0.08)
CIE-LCHlch(5.23, 22.14, 0.20°)
OKLaboklab(18.93% 0.0735 0.0005)
OKLCHoklch(18.93% 0.074 0.4)
XYZxyz(1.1164, 0.5791, 0.6251)
Luminance0.0058 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B0112 #012B1A
analogous
#2B0127 #2B0112 #2B0501
triadic
#2B0112 #122B01 #01122B
tetradic
#2B0112 #272B01 #012B1A #05012B
square
#2B0112 #272B01 #012B1A #05012B
split-complementary
#2B0112 #012B05 #01272B
monochromatic
#1E010D #1E010D #2B0112 #67022B #A30444

Accessibility & contrast

On white

18.82
#2B0112 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B0112
18.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B0112#FFFFFF#000000##FFFFFF
##2B01121.0018.821.1218.82
#FFFFFF18.821.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#090C12
Deuteranopia (green-blind)
#151511
Tritanopia (blue-blind)
#300007
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #2b0112;
/* rgb */ color: rgb(43, 1, 18);
/* oklch */ color: oklch(18.9% 0.074 0.4);
Tailwind
colors: {
  custom: {
    50: '#674650',
    500: '#2b0112',
    950: '#000000',
  },
}
SCSS
$custom: #2b0112;
$custom-light: #674650;
$custom-dark: #000000;
JSON
{
  "hex": "#2b0112",
  "rgb": {
    "r": 43,
    "g": 1,
    "b": 18
  },
  "hsl": {
    "h": 335.714,
    "s": 95.455,
    "l": 8.627
  },
  "oklch": {
    "l": 0.18926,
    "c": 0.07351,
    "h": 0.4
  },
  "luminance": 0.00579
}

Semantic roles & 50–950 ramp

primary
#2B0112
secondary
#17714D
accent
#FFA829
background
#F6F4F4
surface
#EBE6E7
border
#C6C2C3
text
#060002
muted
#7A7778

Preview Lab

Preview with #2B0112

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

Preview Lab → · Contrast checker → · Palette generator →

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