#2B071E#2B071E

#2B071E is a very dark, moderate pink. Relative luminance 0.008; OKLCH L 20.5% C 0.067 H 345.2°. Best body text is #FFFFFF at 18.23:1 contrast (WCAG AA passes).

Color values

HEX#2B071E
RGBrgb(43, 7, 30)
HSLhsl(322, 72%, 10%)
HSVhsv(322, 84%, 17%)
CMYKcmyk(0%, 83.7%, 30.2%, 83.1%)
CIE-LABlab(6.86, 21.24, -6.37)
CIE-LCHlch(6.86, 22.18, 343.32°)
OKLaboklab(20.54% 0.0649 -0.0172)
OKLCHoklch(20.54% 0.067 345.2)
XYZxyz(1.3066, 0.7594, 1.3058)
Luminance0.0076 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B071E #072B14
analogous
#26072B #2B071E #2B070C
triadic
#2B071E #1E2B07 #071E2B
tetradic
#2B071E #2B2607 #072B14 #070C2B
square
#2B071E #2B2607 #072B14 #070C2B
split-complementary
#2B071E #0C2B07 #072B26
monochromatic
#1A0412 #1A0412 #2B071E #601043 #941867

Accessibility & contrast

On white

18.23
#2B071E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B071E
18.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B071E#FFFFFF#000000##FFFFFF
##2B071E1.0018.231.1518.23
#FFFFFF18.231.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B111F
Deuteranopia (green-blind)
#15171D
Tritanopia (blue-blind)
#2E0711
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #2b071e;
/* rgb */ color: rgb(43, 7, 30);
/* oklch */ color: oklch(20.5% 0.067 345.2);
Tailwind
colors: {
  custom: {
    50: '#664a59',
    500: '#2b071e',
    950: '#000000',
  },
}
SCSS
$custom: #2b071e;
$custom-light: #664a59;
$custom-dark: #000000;
JSON
{
  "hex": "#2b071e",
  "rgb": {
    "r": 43,
    "g": 7,
    "b": 30
  },
  "hsl": {
    "h": 321.667,
    "s": 72,
    "l": 9.804
  },
  "oklch": {
    "l": 0.20542,
    "c": 0.06715,
    "h": 345.2
  },
  "luminance": 0.00759
}

Semantic roles & 50–950 ramp

primary
#2B071E
secondary
#236B3D
accent
#EF7B39
background
#F6F4F5
surface
#EBE7E9
border
#C6C3C5
text
#060103
muted
#7A7778

Preview Lab

Preview with #2B071E

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

Preview Lab → · Contrast checker → · Palette generator →

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