#2B0202#2B0202

#2B0202 is a very dark, moderate red. Relative luminance 0.006; OKLCH L 18.6% C 0.070 H 27.4°. Best body text is #FFFFFF at 18.88:1 contrast (WCAG AA passes).

Color values

HEX#2B0202
RGBrgb(43, 2, 2)
HSLhsl(0, 91%, 9%)
HSVhsv(0, 95%, 17%)
CMYKcmyk(0%, 95.3%, 95.3%, 83.1%)
CIE-LABlab(5.07, 19.78, 7.15)
CIE-LCHlch(5.07, 21.04, 19.87°)
OKLaboklab(18.62% 0.062 0.0322)
OKLCHoklch(18.62% 0.07 27.4)
XYZxyz(1.0291, 0.5616, 0.1116)
Luminance0.0056 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B0202 #022B2B
analogous
#2B0217 #2B0202 #2B1702
triadic
#2B0202 #022B02 #02022B
tetradic
#2B0202 #172B02 #022B2B #17022B
square
#2B0202 #172B02 #022B2B #17022B
split-complementary
#2B0202 #022B17 #02172B
monochromatic
#1D0101 #1D0101 #2B0202 #650505 #A00707

Accessibility & contrast

On white

18.88
#2B0202 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B0202
18.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B0202#FFFFFF#000000##FFFFFF
##2B02021.0018.881.1118.88
#FFFFFF18.881.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D0B02
Deuteranopia (green-blind)
#181401
Tritanopia (blue-blind)
#310002
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #2b0202;
/* rgb */ color: rgb(43, 2, 2);
/* oklch */ color: oklch(18.6% 0.070 27.4);
Tailwind
colors: {
  custom: {
    50: '#674748',
    500: '#2b0202',
    950: '#000000',
  },
}
SCSS
$custom: #2b0202;
$custom-light: #674748;
$custom-dark: #000000;
JSON
{
  "hex": "#2b0202",
  "rgb": {
    "r": 43,
    "g": 2,
    "b": 2
  },
  "hsl": {
    "h": 0,
    "s": 91.111,
    "l": 8.824
  },
  "oklch": {
    "l": 0.18616,
    "c": 0.06987,
    "h": 27.4
  },
  "luminance": 0.00561
}

Semantic roles & 50–950 ramp

primary
#2B0202
secondary
#197070
accent
#FFFF29
background
#F6F4F4
surface
#EBE6E6
border
#C6C2C2
text
#060000
muted
#7A7777

Preview Lab

Preview with #2B0202

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

Preview Lab → · Contrast checker → · Palette generator →

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