#2B041A#2B041A

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

Color values

HEX#2B041A
RGBrgb(43, 4, 26)
HSLhsl(326, 83%, 9%)
HSVhsv(326, 91%, 17%)
CMYKcmyk(0%, 90.7%, 39.5%, 83.1%)
CIE-LABlab(6.10, 22.01, -4.37)
CIE-LCHlch(6.10, 22.44, 348.77°)
OKLaboklab(19.84% 0.0697 -0.0122)
OKLCHoklch(19.84% 0.071 350.1)
XYZxyz(1.2262, 0.6752, 1.0428)
Luminance0.0067 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B041A #042B15
analogous
#29042B #2B041A #2B0407
triadic
#2B041A #1A2B04 #041A2B
tetradic
#2B041A #2B2904 #042B15 #04072B
square
#2B041A #2B2904 #042B15 #04072B
split-complementary
#2B041A #072B04 #042B29
monochromatic
#1C0311 #1C0311 #2B041A #63093C #9B0E5E

Accessibility & contrast

On white

18.50
#2B041A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B041A
18.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B041A#FFFFFF#000000##FFFFFF
##2B041A1.0018.501.1418.50
#FFFFFF18.501.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#090F1B
Deuteranopia (green-blind)
#151619
Tritanopia (blue-blind)
#2F030D
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #2b041a;
/* rgb */ color: rgb(43, 4, 26);
/* oklch */ color: oklch(19.8% 0.071 350.1);
Tailwind
colors: {
  custom: {
    50: '#664856',
    500: '#2b041a',
    950: '#000000',
  },
}
SCSS
$custom: #2b041a;
$custom-light: #664856;
$custom-dark: #000000;
JSON
{
  "hex": "#2b041a",
  "rgb": {
    "r": 43,
    "g": 4,
    "b": 26
  },
  "hsl": {
    "h": 326.154,
    "s": 82.979,
    "l": 9.216
  },
  "oklch": {
    "l": 0.19837,
    "c": 0.07072,
    "h": 350.1
  },
  "luminance": 0.00675
}

Semantic roles & 50–950 ramp

primary
#2B041A
secondary
#1D6E40
accent
#F9872E
background
#F6F4F5
surface
#EBE6E9
border
#C6C2C5
text
#060003
muted
#7A7778

Preview Lab

Preview with #2B041A

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

Preview Lab → · Contrast checker → · Palette generator →

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