#2B021A#2B021A

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

Color values

HEX#2B021A
RGBrgb(43, 2, 26)
HSLhsl(325, 91%, 9%)
HSVhsv(325, 95%, 17%)
CMYKcmyk(0%, 95.3%, 39.5%, 83.1%)
CIE-LABlab(5.71, 23.01, -4.95)
CIE-LCHlch(5.71, 23.54, 347.86°)
OKLaboklab(19.49% 0.074 -0.0142)
OKLCHoklch(19.49% 0.075 349.2)
XYZxyz(1.2045, 0.6317, 1.0356)
Luminance0.0063 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B021A #022B13
analogous
#28022B #2B021A #2B0206
triadic
#2B021A #1A2B02 #021A2B
tetradic
#2B021A #2B2802 #022B13 #02062B
square
#2B021A #2B2802 #022B13 #02062B
split-complementary
#2B021A #062B02 #022B28
monochromatic
#1D0112 #1D0112 #2B021A #65053D #A00761

Accessibility & contrast

On white

18.64
#2B021A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B021A
18.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B021A#FFFFFF#000000##FFFFFF
##2B021A1.0018.641.1318.64
#FFFFFF18.641.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#070E1B
Deuteranopia (green-blind)
#141519
Tritanopia (blue-blind)
#2F010C
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #2b021a;
/* rgb */ color: rgb(43, 2, 26);
/* oklch */ color: oklch(19.5% 0.075 349.2);
Tailwind
colors: {
  custom: {
    50: '#664756',
    500: '#2b021a',
    950: '#000000',
  },
}
SCSS
$custom: #2b021a;
$custom-light: #664756;
$custom-dark: #000000;
JSON
{
  "hex": "#2b021a",
  "rgb": {
    "r": 43,
    "g": 2,
    "b": 26
  },
  "hsl": {
    "h": 324.878,
    "s": 91.111,
    "l": 8.824
  },
  "oklch": {
    "l": 0.19488,
    "c": 0.07533,
    "h": 349.2
  },
  "luminance": 0.00632
}

Semantic roles & 50–950 ramp

primary
#2B021A
secondary
#19703D
accent
#FF8229
background
#F6F4F5
surface
#EBE6E9
border
#C6C2C5
text
#060003
muted
#7A7778

Preview Lab

Preview with #2B021A

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

Preview Lab → · Contrast checker → · Palette generator →

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