#2B041B#2B041B

#2B041B is a very dark, moderate pink. Relative luminance 0.007; OKLCH L 19.9% C 0.071 H 348.6°. Best body text is #FFFFFF at 18.49:1 contrast (WCAG AA passes).

Color values

HEX#2B041B
RGBrgb(43, 4, 27)
HSLhsl(325, 83%, 9%)
HSVhsv(325, 91%, 17%)
CMYKcmyk(0%, 90.7%, 37.2%, 83.1%)
CIE-LABlab(6.14, 22.20, -5.10)
CIE-LCHlch(6.14, 22.78, 347.06°)
OKLaboklab(19.89% 0.07 -0.0141)
OKLCHoklch(19.89% 0.071 348.6)
XYZxyz(1.2376, 0.6797, 1.1027)
Luminance0.0068 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B041B #042B14
analogous
#28042B #2B041B #2B0408
triadic
#2B041B #1B2B04 #041B2B
tetradic
#2B041B #2B2804 #042B14 #04082B
square
#2B041B #2B2804 #042B14 #04082B
split-complementary
#2B041B #082B04 #042B28
monochromatic
#1C0312 #1C0312 #2B041B #63093E #9B0E61

Accessibility & contrast

On white

18.49
#2B041B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B041B
18.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B041B#FFFFFF#000000##FFFFFF
##2B041B1.0018.491.1418.49
#FFFFFF18.491.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#090F1C
Deuteranopia (green-blind)
#15161A
Tritanopia (blue-blind)
#2F030E
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #2b041b;
/* rgb */ color: rgb(43, 4, 27);
/* oklch */ color: oklch(19.9% 0.071 348.6);
Tailwind
colors: {
  custom: {
    50: '#664857',
    500: '#2b041b',
    950: '#000000',
  },
}
SCSS
$custom: #2b041b;
$custom-light: #664857;
$custom-dark: #000000;
JSON
{
  "hex": "#2b041b",
  "rgb": {
    "r": 43,
    "g": 4,
    "b": 27
  },
  "hsl": {
    "h": 324.615,
    "s": 82.979,
    "l": 9.216
  },
  "oklch": {
    "l": 0.19889,
    "c": 0.07138,
    "h": 348.6
  },
  "luminance": 0.0068
}

Semantic roles & 50–950 ramp

primary
#2B041B
secondary
#1D6E3E
accent
#F9822E
background
#F6F4F5
surface
#EBE6E9
border
#C6C2C5
text
#060003
muted
#7A7778

Preview Lab

Preview with #2B041B

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

Preview Lab → · Contrast checker → · Palette generator →

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