#2B0712#2B0712

#2B0712 is a very dark, moderate pink. Relative luminance 0.007; OKLCH L 20.0% C 0.061 H 5.5°. Best body text is #FFFFFF at 18.39:1 contrast (WCAG AA passes).

Color values

HEX#2B0712
RGBrgb(43, 7, 18)
HSLhsl(342, 72%, 10%)
HSVhsv(342, 84%, 17%)
CMYKcmyk(0%, 83.7%, 58.1%, 83.1%)
CIE-LABlab(6.41, 19.24, 1.80)
CIE-LCHlch(6.41, 19.32, 5.33°)
OKLaboklab(20% 0.0603 0.0058)
OKLCHoklch(20% 0.061 5.5)
XYZxyz(1.1815, 0.7094, 0.6469)
Luminance0.0071 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B0712 #072B20
analogous
#2B0724 #2B0712 #2B0E07
triadic
#2B0712 #122B07 #07122B
tetradic
#2B0712 #242B07 #072B20 #0E072B
square
#2B0712 #242B07 #072B20 #0E072B
split-complementary
#2B0712 #072B0E #07242B
monochromatic
#1A040B #1A040B #2B0712 #601028 #94183E

Accessibility & contrast

On white

18.39
#2B0712 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.14
#2B0712 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B0712
18.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B0712#FFFFFF#000000##FFFFFF
##2B07121.0018.391.1418.39
#FFFFFF18.391.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F1012
Deuteranopia (green-blind)
#181711
Tritanopia (blue-blind)
#30030B
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #2b0712;
/* rgb */ color: rgb(43, 7, 18);
/* oklch */ color: oklch(20.0% 0.061 5.5);
Tailwind
colors: {
  custom: {
    50: '#674950',
    500: '#2b0712',
    950: '#000000',
  },
}
SCSS
$custom: #2b0712;
$custom-light: #674950;
$custom-dark: #000000;
JSON
{
  "hex": "#2b0712",
  "rgb": {
    "r": 43,
    "g": 7,
    "b": 18
  },
  "hsl": {
    "h": 341.667,
    "s": 72,
    "l": 9.804
  },
  "oklch": {
    "l": 0.19997,
    "c": 0.06056,
    "h": 5.5
  },
  "luminance": 0.00709
}

Semantic roles & 50–950 ramp

primary
#2B0712
secondary
#236B55
accent
#EFB739
background
#F6F4F4
surface
#EBE7E7
border
#C6C3C3
text
#060102
muted
#7A7778

Preview Lab

Preview with #2B0712

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

Preview Lab → · Contrast checker → · Palette generator →

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