#2B121B#2B121B

#2B121B is a very dark, muted pink. Relative luminance 0.010; OKLCH L 22.3% C 0.043 H 358.3°. Best body text is #FFFFFF at 17.43:1 contrast (WCAG AA passes).

Color values

HEX#2B121B
RGBrgb(43, 18, 27)
HSLhsl(338, 41%, 12%)
HSVhsv(338, 58%, 17%)
CMYKcmyk(0%, 58.1%, 37.2%, 83.1%)
CIE-LABlab(9.20, 14.24, -0.56)
CIE-LCHlch(9.20, 14.25, 357.75°)
OKLaboklab(22.29% 0.0431 -0.0013)
OKLCHoklch(22.29% 0.043 358.3)
XYZxyz(1.4105, 1.0255, 1.1603)
Luminance0.0103 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B121B #122B22
analogous
#2B1228 #2B121B #2B1612
triadic
#2B121B #1B2B12 #121B2B
tetradic
#2B121B #282B12 #122B22 #16122B
square
#2B121B #282B12 #122B22 #16122B
split-complementary
#2B121B #122B16 #12282B
monochromatic
#16090E #16090E #2B121B #562436 #813651

Accessibility & contrast

On white

17.43
#2B121B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#2B121B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B121B
17.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B121B#FFFFFF#000000##FFFFFF
##2B121B1.0017.431.2117.43
#FFFFFF17.431.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#16171B
Deuteranopia (green-blind)
#1C1C1A
Tritanopia (blue-blind)
#2F1015
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #2b121b;
/* rgb */ color: rgb(43, 18, 27);
/* oklch */ color: oklch(22.3% 0.043 358.3);
Tailwind
colors: {
  custom: {
    50: '#655057',
    500: '#2b121b',
    950: '#000000',
  },
}
SCSS
$custom: #2b121b;
$custom-light: #655057;
$custom-dark: #000000;
JSON
{
  "hex": "#2b121b",
  "rgb": {
    "r": 43,
    "g": 18,
    "b": 27
  },
  "hsl": {
    "h": 338.4,
    "s": 40.984,
    "l": 11.961
  },
  "oklch": {
    "l": 0.22285,
    "c": 0.04316,
    "h": 358.3
  },
  "luminance": 0.01025
}

Semantic roles & 50–950 ramp

primary
#2B121B
secondary
#366253
accent
#D1A557
background
#F6F4F5
surface
#EBE7E9
border
#C6C3C5
text
#060203
muted
#7A7878

Preview Lab

Preview with #2B121B

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

Preview Lab → · Contrast checker → · Palette generator →

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