#2B020A#2B020A

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

Color values

HEX#2B020A
RGBrgb(43, 2, 10)
HSLhsl(348, 91%, 9%)
HSVhsv(348, 95%, 17%)
CMYKcmyk(0%, 95.3%, 76.7%, 83.1%)
CIE-LABlab(5.23, 20.65, 4.12)
CIE-LCHlch(5.23, 21.06, 11.29°)
OKLaboklab(18.84% 0.0673 0.0161)
OKLCHoklch(18.84% 0.069 13.5)
XYZxyz(1.0729, 0.5791, 0.3424)
Luminance0.0058 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B020A #022B23
analogous
#2B021F #2B020A #2B0F02
triadic
#2B020A #0A2B02 #020A2B
tetradic
#2B020A #1F2B02 #022B23 #0F022B
square
#2B020A #1F2B02 #022B23 #0F022B
split-complementary
#2B020A #022B0F #021F2B
monochromatic
#1D0107 #1D0107 #2B020A #650518 #A00725

Accessibility & contrast

On white

18.82
#2B020A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B020A
18.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B020A#FFFFFF#000000##FFFFFF
##2B020A1.0018.821.1218.82
#FFFFFF18.821.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C0C0A
Deuteranopia (green-blind)
#171509
Tritanopia (blue-blind)
#300005
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #2b020a;
/* rgb */ color: rgb(43, 2, 10);
/* oklch */ color: oklch(18.8% 0.069 13.5);
Tailwind
colors: {
  custom: {
    50: '#67474b',
    500: '#2b020a',
    950: '#000000',
  },
}
SCSS
$custom: #2b020a;
$custom-light: #67474b;
$custom-dark: #000000;
JSON
{
  "hex": "#2b020a",
  "rgb": {
    "r": 43,
    "g": 2,
    "b": 10
  },
  "hsl": {
    "h": 348.293,
    "s": 91.111,
    "l": 8.824
  },
  "oklch": {
    "l": 0.1884,
    "c": 0.06921,
    "h": 13.5
  },
  "luminance": 0.00579
}

Semantic roles & 50–950 ramp

primary
#2B020A
secondary
#19705F
accent
#FFD529
background
#F6F4F4
surface
#EBE6E7
border
#C6C2C3
text
#060001
muted
#7A7777

Preview Lab

Preview with #2B020A

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

Preview Lab → · Contrast checker → · Palette generator →

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