#2B0718#2B0718

#2B0718 is a very dark, moderate pink. Relative luminance 0.007; OKLCH L 20.2% C 0.063 H 355.0°. Best body text is #FFFFFF at 18.32:1 contrast (WCAG AA passes).

Color values

HEX#2B0718
RGBrgb(43, 7, 24)
HSLhsl(332, 72%, 10%)
HSVhsv(332, 84%, 17%)
CMYKcmyk(0%, 83.7%, 44.2%, 83.1%)
CIE-LABlab(6.61, 20.17, -2.05)
CIE-LCHlch(6.61, 20.27, 354.19°)
OKLaboklab(20.24% 0.0629 -0.0055)
OKLCHoklch(20.24% 0.063 355)
XYZxyz(1.2372, 0.7316, 0.9400)
Luminance0.0073 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B0718 #072B1A
analogous
#2B072A #2B0718 #2B0807
triadic
#2B0718 #182B07 #07182B
tetradic
#2B0718 #2A2B07 #072B1A #08072B
square
#2B0718 #2A2B07 #072B1A #08072B
split-complementary
#2B0718 #072B08 #072A2B
monochromatic
#1A040F #1A040F #2B0718 #601035 #941853

Accessibility & contrast

On white

18.32
#2B0718 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B0718
18.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B0718#FFFFFF#000000##FFFFFF
##2B07181.0018.321.1518.32
#FFFFFF18.321.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D1018
Deuteranopia (green-blind)
#171717
Tritanopia (blue-blind)
#2F050E
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #2b0718;
/* rgb */ color: rgb(43, 7, 24);
/* oklch */ color: oklch(20.2% 0.063 355.0);
Tailwind
colors: {
  custom: {
    50: '#664954',
    500: '#2b0718',
    950: '#000000',
  },
}
SCSS
$custom: #2b0718;
$custom-light: #664954;
$custom-dark: #000000;
JSON
{
  "hex": "#2b0718",
  "rgb": {
    "r": 43,
    "g": 7,
    "b": 24
  },
  "hsl": {
    "h": 331.667,
    "s": 72,
    "l": 9.804
  },
  "oklch": {
    "l": 0.20243,
    "c": 0.06313,
    "h": 355
  },
  "luminance": 0.00731
}

Semantic roles & 50–950 ramp

primary
#2B0718
secondary
#236B49
accent
#EF9939
background
#F6F4F4
surface
#EBE7E7
border
#C6C3C3
text
#060102
muted
#7A7778

Preview Lab

Preview with #2B0718

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

Preview Lab → · Contrast checker → · Palette generator →

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