#2B0204#2B0204

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

Color values

HEX#2B0204
RGBrgb(43, 2, 4)
HSLhsl(357, 91%, 9%)
HSVhsv(357, 95%, 17%)
CMYKcmyk(0%, 95.3%, 90.7%, 83.1%)
CIE-LABlab(5.11, 20.00, 6.39)
CIE-LCHlch(5.11, 21.00, 17.72°)
OKLaboklab(18.67% 0.0636 0.0277)
OKLCHoklch(18.67% 0.069 23.5)
XYZxyz(1.0400, 0.5659, 0.1693)
Luminance0.0057 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B0204 #022B29
analogous
#2B0219 #2B0204 #2B1502
triadic
#2B0204 #042B02 #02042B
tetradic
#2B0204 #192B02 #022B29 #15022B
square
#2B0204 #192B02 #022B29 #15022B
split-complementary
#2B0204 #022B15 #02192B
monochromatic
#1D0103 #1D0103 #2B0204 #650509 #A0070F

Accessibility & contrast

On white

18.86
#2B0204 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B0204
18.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B0204#FFFFFF#000000##FFFFFF
##2B02041.0018.861.1118.86
#FFFFFF18.861.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.861.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2b0204;
/* rgb */ color: rgb(43, 2, 4);
/* oklch */ color: oklch(18.7% 0.069 23.5);
Tailwind
colors: {
  custom: {
    50: '#674748',
    500: '#2b0204',
    950: '#000000',
  },
}
SCSS
$custom: #2b0204;
$custom-light: #674748;
$custom-dark: #000000;
JSON
{
  "hex": "#2b0204",
  "rgb": {
    "r": 43,
    "g": 2,
    "b": 4
  },
  "hsl": {
    "h": 357.073,
    "s": 91.111,
    "l": 8.824
  },
  "oklch": {
    "l": 0.18672,
    "c": 0.06937,
    "h": 23.5
  },
  "luminance": 0.00566
}

Semantic roles & 50–950 ramp

primary
#2B0204
secondary
#19706C
accent
#FFF529
background
#F6F4F4
surface
#EBE6E6
border
#C6C2C2
text
#060000
muted
#7A7777

Preview Lab

Preview with #2B0204

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

Preview Lab → · Contrast checker → · Palette generator →

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