#2B151F#2B151F

#2B151F is a very dark, muted pink. Relative luminance 0.011; OKLCH L 23.1% C 0.039 H 351.9°. Best body text is #FFFFFF at 17.08:1 contrast (WCAG AA passes).

Color values

HEX#2B151F
RGBrgb(43, 21, 31)
HSLhsl(333, 34%, 13%)
HSVhsv(333, 51%, 17%)
CMYKcmyk(0%, 51.2%, 27.9%, 83.1%)
CIE-LABlab(10.18, 12.92, -2.15)
CIE-LCHlch(10.18, 13.10, 350.57°)
OKLaboklab(23.07% 0.0387 -0.0055)
OKLCHoklch(23.07% 0.039 351.9)
XYZxyz(1.5118, 1.1490, 1.4382)
Luminance0.0115 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B151F #152B21
analogous
#2B152A #2B151F #2B1615
triadic
#2B151F #1F2B15 #151F2B
tetradic
#2B151F #2A2B15 #152B21 #16152B
square
#2B151F #2A2B15 #152B21 #16152B
split-complementary
#2B151F #152B16 #152A2B
monochromatic
#150A0F #150A0F #2B151F #54293D #7D3D5A

Accessibility & contrast

On white

17.08
#2B151F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#2B151F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B151F
17.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B151F#FFFFFF#000000##FFFFFF
##2B151F1.0017.081.2317.08
#FFFFFF17.081.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#17191F
Deuteranopia (green-blind)
#1D1D1E
Tritanopia (blue-blind)
#2E1419
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #2b151f;
/* rgb */ color: rgb(43, 21, 31);
/* oklch */ color: oklch(23.1% 0.039 351.9);
Tailwind
colors: {
  custom: {
    50: '#65525a',
    500: '#2b151f',
    950: '#000000',
  },
}
SCSS
$custom: #2b151f;
$custom-light: #65525a;
$custom-dark: #000000;
JSON
{
  "hex": "#2b151f",
  "rgb": {
    "r": 43,
    "g": 21,
    "b": 31
  },
  "hsl": {
    "h": 332.727,
    "s": 34.375,
    "l": 12.549
  },
  "oklch": {
    "l": 0.23072,
    "c": 0.03912,
    "h": 351.9
  },
  "luminance": 0.01149
}

Semantic roles & 50–950 ramp

primary
#2B151F
secondary
#3B6150
accent
#CA995D
background
#F6F4F5
surface
#EBE7E9
border
#C6C3C5
text
#050203
muted
#7A7878

Preview Lab

Preview with #2B151F

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

Preview Lab → · Contrast checker → · Palette generator →

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