#2B051F#2B051F

#2B051F is a very dark, moderate pink. Relative luminance 0.007; OKLCH L 20.3% C 0.072 H 343.1°. Best body text is #FFFFFF at 18.35:1 contrast (WCAG AA passes).

Color values

HEX#2B051F
RGBrgb(43, 5, 31)
HSLhsl(319, 79%, 9%)
HSVhsv(319, 88%, 17%)
CMYKcmyk(0%, 88.4%, 27.9%, 83.1%)
CIE-LABlab(6.51, 22.46, -7.66)
CIE-LCHlch(6.51, 23.74, 341.16°)
OKLaboklab(20.28% 0.069 -0.021)
OKLCHoklch(20.28% 0.072 343.1)
XYZxyz(1.2979, 0.7212, 1.3669)
Luminance0.0072 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B051F #052B11
analogous
#24052B #2B051F #2B050C
triadic
#2B051F #1F2B05 #051F2B
tetradic
#2B051F #2B2405 #052B11 #050C2B
square
#2B051F #2B2405 #052B11 #050C2B
split-complementary
#2B051F #0C2B05 #052B24
monochromatic
#1B0314 #1B0314 #2B051F #620B47 #99126E

Accessibility & contrast

On white

18.35
#2B051F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B051F
18.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B051F#FFFFFF#000000##FFFFFF
##2B051F1.0018.351.1418.35
#FFFFFF18.351.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#081020
Deuteranopia (green-blind)
#14171E
Tritanopia (blue-blind)
#2E0510
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #2b051f;
/* rgb */ color: rgb(43, 5, 31);
/* oklch */ color: oklch(20.3% 0.072 343.1);
Tailwind
colors: {
  custom: {
    50: '#66495a',
    500: '#2b051f',
    950: '#000000',
  },
}
SCSS
$custom: #2b051f;
$custom-light: #66495a;
$custom-dark: #000000;
JSON
{
  "hex": "#2b051f",
  "rgb": {
    "r": 43,
    "g": 5,
    "b": 31
  },
  "hsl": {
    "h": 318.947,
    "s": 79.167,
    "l": 9.412
  },
  "oklch": {
    "l": 0.20276,
    "c": 0.07211,
    "h": 343.1
  },
  "luminance": 0.00721
}

Semantic roles & 50–950 ramp

primary
#2B051F
secondary
#1F6D38
accent
#F67032
background
#F6F4F5
surface
#EBE7E9
border
#C6C3C5
text
#060103
muted
#7A7778

Preview Lab

Preview with #2B051F

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

Preview Lab → · Contrast checker → · Palette generator →

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