#2B040F#2B040F

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

Color values

HEX#2B040F
RGBrgb(43, 4, 15)
HSLhsl(343, 83%, 9%)
HSVhsv(343, 91%, 17%)
CMYKcmyk(0%, 90.7%, 65.1%, 83.1%)
CIE-LABlab(5.74, 20.29, 2.52)
CIE-LCHlch(5.74, 20.45, 7.09°)
OKLaboklab(19.37% 0.0652 0.0089)
OKLCHoklch(19.37% 0.066 7.8)
XYZxyz(1.1260, 0.6351, 0.5151)
Luminance0.0063 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B040F #042B20
analogous
#2B0423 #2B040F #2B0D04
triadic
#2B040F #0F2B04 #040F2B
tetradic
#2B040F #232B04 #042B20 #0D042B
square
#2B040F #232B04 #042B20 #0D042B
split-complementary
#2B040F #042B0D #04232B
monochromatic
#1C030A #1C030A #2B040F #630923 #9B0E36

Accessibility & contrast

On white

18.63
#2B040F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B040F
18.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B040F#FFFFFF#000000##FFFFFF
##2B040F1.0018.631.1318.63
#FFFFFF18.631.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D0D0F
Deuteranopia (green-blind)
#17160E
Tritanopia (blue-blind)
#300008
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #2b040f;
/* rgb */ color: rgb(43, 4, 15);
/* oklch */ color: oklch(19.4% 0.066 7.8);
Tailwind
colors: {
  custom: {
    50: '#67484e',
    500: '#2b040f',
    950: '#000000',
  },
}
SCSS
$custom: #2b040f;
$custom-light: #67484e;
$custom-dark: #000000;
JSON
{
  "hex": "#2b040f",
  "rgb": {
    "r": 43,
    "g": 4,
    "b": 15
  },
  "hsl": {
    "h": 343.077,
    "s": 82.979,
    "l": 9.216
  },
  "oklch": {
    "l": 0.19367,
    "c": 0.06577,
    "h": 7.8
  },
  "luminance": 0.00635
}

Semantic roles & 50–950 ramp

primary
#2B040F
secondary
#1D6E57
accent
#F9C02E
background
#F6F4F4
surface
#EBE6E7
border
#C6C2C3
text
#060001
muted
#7A7777

Preview Lab

Preview with #2B040F

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

Preview Lab → · Contrast checker → · Palette generator →

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