#2B0104#2B0104

#2B0104 is a very dark, moderate red. Relative luminance 0.005; OKLCH L 18.5% C 0.071 H 22.2°. Best body text is #FFFFFF at 18.94:1 contrast (WCAG AA passes).

Color values

HEX#2B0104
RGBrgb(43, 1, 4)
HSLhsl(356, 95%, 9%)
HSVhsv(356, 98%, 17%)
CMYKcmyk(0%, 97.7%, 90.7%, 83.1%)
CIE-LABlab(4.92, 20.46, 6.11)
CIE-LCHlch(4.92, 21.35, 16.61°)
OKLaboklab(18.47% 0.0661 0.027)
OKLCHoklch(18.47% 0.071 22.2)
XYZxyz(1.0292, 0.5442, 0.1657)
Luminance0.0054 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B0104 #012B28
analogous
#2B0119 #2B0104 #2B1301
triadic
#2B0104 #042B01 #01042B
tetradic
#2B0104 #192B01 #012B28 #13012B
square
#2B0104 #192B01 #012B28 #13012B
split-complementary
#2B0104 #012B13 #01192B
monochromatic
#1E0103 #1E0103 #2B0104 #67020A #A3040F

Accessibility & contrast

On white

18.94
#2B0104 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.11
#2B0104 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B0104
18.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B0104#FFFFFF#000000##FFFFFF
##2B01041.0018.941.1118.94
#FFFFFF18.941.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C0A04
Deuteranopia (green-blind)
#181403
Tritanopia (blue-blind)
#300002
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #2b0104;
/* rgb */ color: rgb(43, 1, 4);
/* oklch */ color: oklch(18.5% 0.071 22.2);
Tailwind
colors: {
  custom: {
    50: '#674648',
    500: '#2b0104',
    950: '#000000',
  },
}
SCSS
$custom: #2b0104;
$custom-light: #674648;
$custom-dark: #000000;
JSON
{
  "hex": "#2b0104",
  "rgb": {
    "r": 43,
    "g": 1,
    "b": 4
  },
  "hsl": {
    "h": 355.714,
    "s": 95.455,
    "l": 8.627
  },
  "oklch": {
    "l": 0.18474,
    "c": 0.07136,
    "h": 22.2
  },
  "luminance": 0.00544
}

Semantic roles & 50–950 ramp

primary
#2B0104
secondary
#17716B
accent
#FFF029
background
#F6F3F4
surface
#EBE5E6
border
#C6C1C2
text
#060000
muted
#7A7677

Preview Lab

Preview with #2B0104

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

Preview Lab → · Contrast checker → · Palette generator →

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