#2B020C#2B020C

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

Color values

HEX#2B020C
RGBrgb(43, 2, 12)
HSLhsl(345, 91%, 9%)
HSVhsv(345, 95%, 17%)
CMYKcmyk(0%, 95.3%, 72.1%, 83.1%)
CIE-LABlab(5.27, 20.87, 3.32)
CIE-LCHlch(5.27, 21.13, 9.04°)
OKLaboklab(18.9% 0.0683 0.0126)
OKLCHoklch(18.9% 0.069 10.5)
XYZxyz(1.0844, 0.5837, 0.4033)
Luminance0.0058 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B020C #022B21
analogous
#2B0221 #2B020C #2B0D02
triadic
#2B020C #0C2B02 #020C2B
tetradic
#2B020C #212B02 #022B21 #0D022B
square
#2B020C #212B02 #022B21 #0D022B
split-complementary
#2B020C #022B0D #02212B
monochromatic
#1D0108 #1D0108 #2B020C #65051C #A0072D

Accessibility & contrast

On white

18.80
#2B020C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B020C
18.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B020C#FFFFFF#000000##FFFFFF
##2B020C1.0018.801.1218.80
#FFFFFF18.801.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C0C0C
Deuteranopia (green-blind)
#17150B
Tritanopia (blue-blind)
#300005
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #2b020c;
/* rgb */ color: rgb(43, 2, 12);
/* oklch */ color: oklch(18.9% 0.069 10.5);
Tailwind
colors: {
  custom: {
    50: '#67474c',
    500: '#2b020c',
    950: '#000000',
  },
}
SCSS
$custom: #2b020c;
$custom-light: #67474c;
$custom-dark: #000000;
JSON
{
  "hex": "#2b020c",
  "rgb": {
    "r": 43,
    "g": 2,
    "b": 12
  },
  "hsl": {
    "h": 345.366,
    "s": 91.111,
    "l": 8.824
  },
  "oklch": {
    "l": 0.18899,
    "c": 0.06946,
    "h": 10.5
  },
  "luminance": 0.00584
}

Semantic roles & 50–950 ramp

primary
#2B020C
secondary
#19705B
accent
#FFCB29
background
#F6F4F4
surface
#EBE6E7
border
#C6C2C3
text
#060001
muted
#7A7777

Preview Lab

Preview with #2B020C

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

Preview Lab → · Contrast checker → · Palette generator →

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