#2B121E#2B121E

#2B121E is a very dark, muted pink. Relative luminance 0.010; OKLCH L 22.4% C 0.045 H 351.2°. Best body text is #FFFFFF at 17.38:1 contrast (WCAG AA passes).

Color values

HEX#2B121E
RGBrgb(43, 18, 30)
HSLhsl(331, 41%, 12%)
HSVhsv(331, 58%, 17%)
CMYKcmyk(0%, 58.1%, 30.2%, 83.1%)
CIE-LABlab(9.32, 14.78, -2.66)
CIE-LCHlch(9.32, 15.02, 349.79°)
OKLaboklab(22.41% 0.0445 -0.0069)
OKLCHoklch(22.41% 0.045 351.2)
XYZxyz(1.4470, 1.0401, 1.3526)
Luminance0.0104 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B121E #122B1F
analogous
#2B122B #2B121E #2B1312
triadic
#2B121E #1E2B12 #121E2B
tetradic
#2B121E #2B2B12 #122B1F #13122B
square
#2B121E #2B2B12 #122B1F #13122B
split-complementary
#2B121E #122B13 #122B2B
monochromatic
#16090F #16090F #2B121E #56243C #81365A

Accessibility & contrast

On white

17.38
#2B121E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B121E
17.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B121E#FFFFFF#000000##FFFFFF
##2B121E1.0017.381.2117.38
#FFFFFF17.381.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#15171E
Deuteranopia (green-blind)
#1B1C1D
Tritanopia (blue-blind)
#2E1116
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #2b121e;
/* rgb */ color: rgb(43, 18, 30);
/* oklch */ color: oklch(22.4% 0.045 351.2);
Tailwind
colors: {
  custom: {
    50: '#655059',
    500: '#2b121e',
    950: '#000000',
  },
}
SCSS
$custom: #2b121e;
$custom-light: #655059;
$custom-dark: #000000;
JSON
{
  "hex": "#2b121e",
  "rgb": {
    "r": 43,
    "g": 18,
    "b": 30
  },
  "hsl": {
    "h": 331.2,
    "s": 40.984,
    "l": 11.961
  },
  "oklch": {
    "l": 0.22413,
    "c": 0.04498,
    "h": 351.2
  },
  "luminance": 0.0104
}

Semantic roles & 50–950 ramp

primary
#2B121E
secondary
#36624D
accent
#D19657
background
#F6F4F5
surface
#EBE7E9
border
#C6C3C5
text
#060203
muted
#7A7878

Preview Lab

Preview with #2B121E

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

Preview Lab → · Contrast checker → · Palette generator →

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