#2B040E#2B040E

#2B040E is a very dark, moderate pink. Relative luminance 0.006; OKLCH L 19.3% C 0.066 H 9.4°. Best body text is #FFFFFF at 18.64:1 contrast (WCAG AA passes).

Color values

HEX#2B040E
RGBrgb(43, 4, 14)
HSLhsl(345, 83%, 9%)
HSVhsv(345, 91%, 17%)
CMYKcmyk(0%, 90.7%, 67.4%, 83.1%)
CIE-LABlab(5.71, 20.16, 3.00)
CIE-LCHlch(5.71, 20.38, 8.47°)
OKLaboklab(19.33% 0.0647 0.0107)
OKLCHoklch(19.33% 0.066 9.4)
XYZxyz(1.1190, 0.6323, 0.4785)
Luminance0.0063 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B040E #042B21
analogous
#2B0422 #2B040E #2B0E04
triadic
#2B040E #0E2B04 #040E2B
tetradic
#2B040E #222B04 #042B21 #0E042B
square
#2B040E #222B04 #042B21 #0E042B
split-complementary
#2B040E #042B0E #04222B
monochromatic
#1C0309 #1C0309 #2B040E #630920 #9B0E32

Accessibility & contrast

On white

18.64
#2B040E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.13
#2B040E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B040E
18.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B040E#FFFFFF#000000##FFFFFF
##2B040E1.0018.641.1318.64
#FFFFFF18.641.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D0D0E
Deuteranopia (green-blind)
#18160D
Tritanopia (blue-blind)
#300008
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #2b040e;
/* rgb */ color: rgb(43, 4, 14);
/* oklch */ color: oklch(19.3% 0.066 9.4);
Tailwind
colors: {
  custom: {
    50: '#67484d',
    500: '#2b040e',
    950: '#000000',
  },
}
SCSS
$custom: #2b040e;
$custom-light: #67484d;
$custom-dark: #000000;
JSON
{
  "hex": "#2b040e",
  "rgb": {
    "r": 43,
    "g": 4,
    "b": 14
  },
  "hsl": {
    "h": 344.615,
    "s": 82.979,
    "l": 9.216
  },
  "oklch": {
    "l": 0.19334,
    "c": 0.06555,
    "h": 9.4
  },
  "luminance": 0.00632
}

Semantic roles & 50–950 ramp

primary
#2B040E
secondary
#1D6E59
accent
#F9C52E
background
#F6F4F4
surface
#EBE6E7
border
#C6C2C3
text
#060001
muted
#7A7777

Preview Lab

Preview with #2B040E

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

Preview Lab → · Contrast checker → · Palette generator →

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