#2B071A#2B071A

#2B071A is a very dark, moderate pink. Relative luminance 0.007; OKLCH L 20.3% C 0.064 H 351.6°. Best body text is #FFFFFF at 18.29:1 contrast (WCAG AA passes).

Color values

HEX#2B071A
RGBrgb(43, 7, 26)
HSLhsl(328, 72%, 10%)
HSVhsv(328, 84%, 17%)
CMYKcmyk(0%, 83.7%, 39.5%, 83.1%)
CIE-LABlab(6.69, 20.51, -3.50)
CIE-LCHlch(6.69, 20.81, 350.30°)
OKLaboklab(20.34% 0.0636 -0.0094)
OKLCHoklch(20.34% 0.064 351.6)
XYZxyz(1.2588, 0.7403, 1.0537)
Luminance0.0074 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B071A #072B18
analogous
#2A072B #2B071A #2B0708
triadic
#2B071A #1A2B07 #071A2B
tetradic
#2B071A #2B2A07 #072B18 #07082B
square
#2B071A #2B2A07 #072B18 #07082B
split-complementary
#2B071A #082B07 #072B2A
monochromatic
#1A0410 #1A0410 #2B071A #60103A #94185A

Accessibility & contrast

On white

18.29
#2B071A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.15
#2B071A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B071A
18.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B071A#FFFFFF#000000##FFFFFF
##2B071A1.0018.291.1518.29
#FFFFFF18.291.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C111B
Deuteranopia (green-blind)
#171719
Tritanopia (blue-blind)
#2F050F
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #2b071a;
/* rgb */ color: rgb(43, 7, 26);
/* oklch */ color: oklch(20.3% 0.064 351.6);
Tailwind
colors: {
  custom: {
    50: '#664a56',
    500: '#2b071a',
    950: '#000000',
  },
}
SCSS
$custom: #2b071a;
$custom-light: #664a56;
$custom-dark: #000000;
JSON
{
  "hex": "#2b071a",
  "rgb": {
    "r": 43,
    "g": 7,
    "b": 26
  },
  "hsl": {
    "h": 328.333,
    "s": 72,
    "l": 9.804
  },
  "oklch": {
    "l": 0.20337,
    "c": 0.06433,
    "h": 351.6
  },
  "luminance": 0.0074
}

Semantic roles & 50–950 ramp

primary
#2B071A
secondary
#236B45
accent
#EF8F39
background
#F6F4F5
surface
#EBE7E9
border
#C6C3C5
text
#060103
muted
#7A7778

Preview Lab

Preview with #2B071A

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

Preview Lab → · Contrast checker → · Palette generator →

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