#2B011F#2B011F

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

Color values

HEX#2B011F
RGBrgb(43, 1, 31)
HSLhsl(317, 95%, 9%)
HSVhsv(317, 98%, 17%)
CMYKcmyk(0%, 97.7%, 27.9%, 83.1%)
CIE-LABlab(5.73, 24.50, -8.85)
CIE-LCHlch(5.73, 26.05, 340.13°)
OKLaboklab(19.6% 0.0773 -0.025)
OKLCHoklch(19.6% 0.081 342.1)
XYZxyz(1.2545, 0.6344, 1.3524)
Luminance0.0063 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B011F #012B0D
analogous
#22012B #2B011F #2B010A
triadic
#2B011F #1F2B01 #011F2B
tetradic
#2B011F #2B2201 #012B0D #010A2B
square
#2B011F #2B2201 #012B0D #010A2B
split-complementary
#2B011F #0A2B01 #012B22
monochromatic
#1E0116 #1E0116 #2B011F #67024A #A30475

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2B011F#FFFFFF#000000##FFFFFF
##2B011F1.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)
#040E20
Deuteranopia (green-blind)
#12151E
Tritanopia (blue-blind)
#2E010E
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #2b011f;
/* rgb */ color: rgb(43, 1, 31);
/* oklch */ color: oklch(19.6% 0.081 342.1);
Tailwind
colors: {
  custom: {
    50: '#66465a',
    500: '#2b011f',
    950: '#000000',
  },
}
SCSS
$custom: #2b011f;
$custom-light: #66465a;
$custom-dark: #000000;
JSON
{
  "hex": "#2b011f",
  "rgb": {
    "r": 43,
    "g": 1,
    "b": 31
  },
  "hsl": {
    "h": 317.143,
    "s": 95.455,
    "l": 8.627
  },
  "oklch": {
    "l": 0.19599,
    "c": 0.08123,
    "h": 342.1
  },
  "luminance": 0.00634
}

Semantic roles & 50–950 ramp

primary
#2B011F
secondary
#177130
accent
#FF6629
background
#F6F4F5
surface
#EBE6E9
border
#C6C2C5
text
#060003
muted
#7A7778

Preview Lab

Preview with #2B011F

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

Preview Lab → · Contrast checker → · Palette generator →

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