#2B021B#2B021B

#2B021B is a very dark, moderate pink. Relative luminance 0.006; OKLCH L 19.5% C 0.076 H 347.7°. Best body text is #FFFFFF at 18.63:1 contrast (WCAG AA passes).

Color values

HEX#2B021B
RGBrgb(43, 2, 27)
HSLhsl(323, 91%, 9%)
HSVhsv(323, 95%, 17%)
CMYKcmyk(0%, 95.3%, 37.2%, 83.1%)
CIE-LABlab(5.75, 23.20, -5.68)
CIE-LCHlch(5.75, 23.88, 346.24°)
OKLaboklab(19.54% 0.0743 -0.0161)
OKLCHoklch(19.54% 0.076 347.7)
XYZxyz(1.2159, 0.6363, 1.0955)
Luminance0.0064 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B021B #022B12
analogous
#27022B #2B021B #2B0207
triadic
#2B021B #1B2B02 #021B2B
tetradic
#2B021B #2B2702 #022B12 #02072B
square
#2B021B #2B2702 #022B12 #02072B
split-complementary
#2B021B #072B02 #022B27
monochromatic
#1D0112 #1D0112 #2B021B #650540 #A00764

Accessibility & contrast

On white

18.63
#2B021B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.13
#2B021B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B021B
18.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B021B#FFFFFF#000000##FFFFFF
##2B021B1.0018.631.1318.63
#FFFFFF18.631.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#070E1C
Deuteranopia (green-blind)
#14151A
Tritanopia (blue-blind)
#2F010D
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #2b021b;
/* rgb */ color: rgb(43, 2, 27);
/* oklch */ color: oklch(19.5% 0.076 347.7);
Tailwind
colors: {
  custom: {
    50: '#664757',
    500: '#2b021b',
    950: '#000000',
  },
}
SCSS
$custom: #2b021b;
$custom-light: #664757;
$custom-dark: #000000;
JSON
{
  "hex": "#2b021b",
  "rgb": {
    "r": 43,
    "g": 2,
    "b": 27
  },
  "hsl": {
    "h": 323.415,
    "s": 91.111,
    "l": 8.824
  },
  "oklch": {
    "l": 0.19542,
    "c": 0.07599,
    "h": 347.7
  },
  "luminance": 0.00636
}

Semantic roles & 50–950 ramp

primary
#2B021B
secondary
#19703B
accent
#FF7C29
background
#F6F4F5
surface
#EBE6E9
border
#C6C2C5
text
#060003
muted
#7A7778

Preview Lab

Preview with #2B021B

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

Preview Lab → · Contrast checker → · Palette generator →

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