#2B0720#2B0720

#2B0720 is a very dark, moderate pink. Relative luminance 0.008; OKLCH L 20.7% C 0.069 H 342.2°. Best body text is #FFFFFF at 18.20:1 contrast (WCAG AA passes).

Color values

HEX#2B0720
RGBrgb(43, 7, 32)
HSLhsl(318, 72%, 10%)
HSVhsv(318, 84%, 17%)
CMYKcmyk(0%, 83.7%, 25.6%, 83.1%)
CIE-LABlab(6.96, 21.63, -7.77)
CIE-LCHlch(6.96, 22.98, 340.25°)
OKLaboklab(20.65% 0.0654 -0.021)
OKLCHoklch(20.65% 0.069 342.2)
XYZxyz(1.3330, 0.7700, 1.4446)
Luminance0.0077 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B0720 #072B12
analogous
#24072B #2B0720 #2B070E
triadic
#2B0720 #202B07 #07202B
tetradic
#2B0720 #2B2407 #072B12 #070E2B
square
#2B0720 #2B2407 #072B12 #070E2B
split-complementary
#2B0720 #0E2B07 #072B24
monochromatic
#1A0414 #1A0414 #2B0720 #601047 #94186E

Accessibility & contrast

On white

18.20
#2B0720 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B0720
18.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B0720#FFFFFF#000000##FFFFFF
##2B07201.0018.201.1518.20
#FFFFFF18.201.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A1221
Deuteranopia (green-blind)
#15181F
Tritanopia (blue-blind)
#2E0712
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #2b0720;
/* rgb */ color: rgb(43, 7, 32);
/* oklch */ color: oklch(20.7% 0.069 342.2);
Tailwind
colors: {
  custom: {
    50: '#664a5b',
    500: '#2b0720',
    950: '#000000',
  },
}
SCSS
$custom: #2b0720;
$custom-light: #664a5b;
$custom-dark: #000000;
JSON
{
  "hex": "#2b0720",
  "rgb": {
    "r": 43,
    "g": 7,
    "b": 32
  },
  "hsl": {
    "h": 318.333,
    "s": 72,
    "l": 9.804
  },
  "oklch": {
    "l": 0.20653,
    "c": 0.06875,
    "h": 342.2
  },
  "luminance": 0.0077
}

Semantic roles & 50–950 ramp

primary
#2B0720
secondary
#236B39
accent
#EF7139
background
#F6F4F5
surface
#EBE7E9
border
#C6C3C5
text
#060104
muted
#7A7779

Preview Lab

Preview with #2B0720

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

Preview Lab → · Contrast checker → · Palette generator →

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