#2B011D#2B011D

#2B011D is a very dark, moderate pink. Relative luminance 0.006; OKLCH L 19.5% C 0.080 H 344.7°. Best body text is #FFFFFF at 18.67:1 contrast (WCAG AA passes).

Color values

HEX#2B011D
RGBrgb(43, 1, 29)
HSLhsl(320, 95%, 9%)
HSVhsv(320, 98%, 17%)
CMYKcmyk(0%, 97.7%, 32.6%, 83.1%)
CIE-LABlab(5.64, 24.08, -7.42)
CIE-LCHlch(5.64, 25.20, 342.88°)
OKLaboklab(19.48% 0.0769 -0.0211)
OKLCHoklch(19.48% 0.08 344.7)
XYZxyz(1.2289, 0.6242, 1.2179)
Luminance0.0062 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B011D #012B0F
analogous
#24012B #2B011D #2B0108
triadic
#2B011D #1D2B01 #011D2B
tetradic
#2B011D #2B2401 #012B0F #01082B
square
#2B011D #2B2401 #012B0F #01082B
split-complementary
#2B011D #082B01 #012B24
monochromatic
#1E0114 #1E0114 #2B011D #670245 #A3046E

Accessibility & contrast

On white

18.67
#2B011D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.12
#2B011D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B011D
18.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B011D#FFFFFF#000000##FFFFFF
##2B011D1.0018.671.1218.67
#FFFFFF18.671.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#050E1E
Deuteranopia (green-blind)
#13151C
Tritanopia (blue-blind)
#2F010D
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #2b011d;
/* rgb */ color: rgb(43, 1, 29);
/* oklch */ color: oklch(19.5% 0.080 344.7);
Tailwind
colors: {
  custom: {
    50: '#664658',
    500: '#2b011d',
    950: '#000000',
  },
}
SCSS
$custom: #2b011d;
$custom-light: #664658;
$custom-dark: #000000;
JSON
{
  "hex": "#2b011d",
  "rgb": {
    "r": 43,
    "g": 1,
    "b": 29
  },
  "hsl": {
    "h": 320,
    "s": 95.455,
    "l": 8.627
  },
  "oklch": {
    "l": 0.19478,
    "c": 0.07978,
    "h": 344.7
  },
  "luminance": 0.00624
}

Semantic roles & 50–950 ramp

primary
#2B011D
secondary
#177135
accent
#FF7029
background
#F6F4F5
surface
#EBE6E9
border
#C6C2C5
text
#060003
muted
#7A7778

Preview Lab

Preview with #2B011D

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

Preview Lab → · Contrast checker → · Palette generator →

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