#2B0722#2B0722

#2B0722 is a very dark, moderate pink. Relative luminance 0.008; OKLCH L 20.8% C 0.070 H 339.3°. Best body text is #FFFFFF at 18.16:1 contrast (WCAG AA passes).

Color values

HEX#2B0722
RGBrgb(43, 7, 34)
HSLhsl(315, 72%, 10%)
HSVhsv(315, 84%, 17%)
CMYKcmyk(0%, 83.7%, 20.9%, 83.1%)
CIE-LABlab(7.06, 22.03, -9.15)
CIE-LCHlch(7.06, 23.86, 337.44°)
OKLaboklab(20.77% 0.0659 -0.0249)
OKLCHoklch(20.77% 0.07 339.3)
XYZxyz(1.3610, 0.7812, 1.5922)
Luminance0.0078 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B0722 #072B10
analogous
#22072B #2B0722 #2B0710
triadic
#2B0722 #222B07 #07222B
tetradic
#2B0722 #2B2207 #072B10 #07102B
square
#2B0722 #2B2207 #072B10 #07102B
split-complementary
#2B0722 #102B07 #072B22
monochromatic
#1A0415 #1A0415 #2B0722 #60104C #941875

Accessibility & contrast

On white

18.16
#2B0722 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#2B0722 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B0722
18.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B0722#FFFFFF#000000##FFFFFF
##2B07221.0018.161.1618.16
#FFFFFF18.161.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#091223
Deuteranopia (green-blind)
#141821
Tritanopia (blue-blind)
#2E0813
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #2b0722;
/* rgb */ color: rgb(43, 7, 34);
/* oklch */ color: oklch(20.8% 0.070 339.3);
Tailwind
colors: {
  custom: {
    50: '#664a5d',
    500: '#2b0722',
    950: '#000000',
  },
}
SCSS
$custom: #2b0722;
$custom-light: #664a5d;
$custom-dark: #000000;
JSON
{
  "hex": "#2b0722",
  "rgb": {
    "r": 43,
    "g": 7,
    "b": 34
  },
  "hsl": {
    "h": 315,
    "s": 72,
    "l": 9.804
  },
  "oklch": {
    "l": 0.2077,
    "c": 0.07044,
    "h": 339.3
  },
  "luminance": 0.00781
}

Semantic roles & 50–950 ramp

primary
#2B0722
secondary
#236B35
accent
#EF6639
background
#F6F4F5
surface
#EBE7E9
border
#C6C3C5
text
#060104
muted
#7A7779

Preview Lab

Preview with #2B0722

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

Preview Lab → · Contrast checker → · Palette generator →

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