#2B020B#2B020B

#2B020B is a very dark, moderate red. Relative luminance 0.006; OKLCH L 18.9% C 0.069 H 12.0°. Best body text is #FFFFFF at 18.81:1 contrast (WCAG AA passes).

Color values

HEX#2B020B
RGBrgb(43, 2, 11)
HSLhsl(347, 91%, 9%)
HSVhsv(347, 95%, 17%)
CMYKcmyk(0%, 95.3%, 74.4%, 83.1%)
CIE-LABlab(5.25, 20.76, 3.73)
CIE-LCHlch(5.25, 21.09, 10.19°)
OKLaboklab(18.87% 0.0678 0.0144)
OKLCHoklch(18.87% 0.069 12)
XYZxyz(1.0785, 0.5813, 0.3720)
Luminance0.0058 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B020B #022B22
analogous
#2B0220 #2B020B #2B0E02
triadic
#2B020B #0B2B02 #020B2B
tetradic
#2B020B #202B02 #022B22 #0E022B
square
#2B020B #202B02 #022B22 #0E022B
split-complementary
#2B020B #022B0E #02202B
monochromatic
#1D0107 #1D0107 #2B020B #65051A #A00729

Accessibility & contrast

On white

18.81
#2B020B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.12
#2B020B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B020B
18.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B020B#FFFFFF#000000##FFFFFF
##2B020B1.0018.811.1218.81
#FFFFFF18.811.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C0C0B
Deuteranopia (green-blind)
#17150A
Tritanopia (blue-blind)
#300005
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #2b020b;
/* rgb */ color: rgb(43, 2, 11);
/* oklch */ color: oklch(18.9% 0.069 12.0);
Tailwind
colors: {
  custom: {
    50: '#67474c',
    500: '#2b020b',
    950: '#000000',
  },
}
SCSS
$custom: #2b020b;
$custom-light: #67474c;
$custom-dark: #000000;
JSON
{
  "hex": "#2b020b",
  "rgb": {
    "r": 43,
    "g": 2,
    "b": 11
  },
  "hsl": {
    "h": 346.829,
    "s": 91.111,
    "l": 8.824
  },
  "oklch": {
    "l": 0.18869,
    "c": 0.06931,
    "h": 12
  },
  "luminance": 0.00581
}

Semantic roles & 50–950 ramp

primary
#2B020B
secondary
#19705D
accent
#FFD029
background
#F6F4F4
surface
#EBE6E7
border
#C6C2C3
text
#060001
muted
#7A7777

Preview Lab

Preview with #2B020B

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

Preview Lab → · Contrast checker → · Palette generator →

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