#2B0702#2B0702

#2B0702 is a very dark, moderate red. Relative luminance 0.007; OKLCH L 19.5% C 0.062 H 34.2°. Best body text is #FFFFFF at 18.52:1 contrast (WCAG AA passes).

Color values

HEX#2B0702
RGBrgb(43, 7, 2)
HSLhsl(7, 91%, 9%)
HSVhsv(7, 95%, 17%)
CMYKcmyk(0%, 83.7%, 95.3%, 83.1%)
CIE-LABlab(6.05, 17.47, 8.58)
CIE-LCHlch(6.05, 19.46, 26.16°)
OKLaboklab(19.55% 0.0512 0.0348)
OKLCHoklch(19.55% 0.062 34.2)
XYZxyz(1.0833, 0.6701, 0.1297)
Luminance0.0067 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B0702 #02262B
analogous
#2B0212 #2B0702 #2B1C02
triadic
#2B0702 #022B07 #07022B
tetradic
#2B0702 #122B02 #02262B #1C022B
square
#2B0702 #122B02 #02262B #1C022B
split-complementary
#2B0702 #022B1C #02122B
monochromatic
#1D0501 #1D0501 #2B0702 #651105 #A01A07

Accessibility & contrast

On white

18.52
#2B0702 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.13
#2B0702 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B0702
18.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B0702#FFFFFF#000000##FFFFFF
##2B07021.0018.521.1318.52
#FFFFFF18.521.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#110E01
Deuteranopia (green-blind)
#1A1601
Tritanopia (blue-blind)
#300106
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #2b0702;
/* rgb */ color: rgb(43, 7, 2);
/* oklch */ color: oklch(19.5% 0.062 34.2);
Tailwind
colors: {
  custom: {
    50: '#674947',
    500: '#2b0702',
    950: '#000000',
  },
}
SCSS
$custom: #2b0702;
$custom-light: #674947;
$custom-dark: #000000;
JSON
{
  "hex": "#2b0702",
  "rgb": {
    "r": 43,
    "g": 7,
    "b": 2
  },
  "hsl": {
    "h": 7.317,
    "s": 91.111,
    "l": 8.824
  },
  "oklch": {
    "l": 0.19549,
    "c": 0.06185,
    "h": 34.2
  },
  "luminance": 0.0067
}

Semantic roles & 50–950 ramp

primary
#2B0702
secondary
#196570
accent
#E5FF29
background
#F6F4F4
surface
#EBE7E6
border
#C6C3C2
text
#060100
muted
#7A7777

Preview Lab

Preview with #2B0702

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

Preview Lab → · Contrast checker → · Palette generator →

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