#2B051E#2B051E

#2B051E is a very dark, moderate pink. Relative luminance 0.007; OKLCH L 20.2% C 0.071 H 344.5°. Best body text is #FFFFFF at 18.37:1 contrast (WCAG AA passes).

Color values

HEX#2B051E
RGBrgb(43, 5, 30)
HSLhsl(321, 79%, 9%)
HSVhsv(321, 88%, 17%)
CMYKcmyk(0%, 88.4%, 30.2%, 83.1%)
CIE-LABlab(6.47, 22.27, -6.96)
CIE-LCHlch(6.47, 23.33, 342.65°)
OKLaboklab(20.22% 0.0688 -0.019)
OKLCHoklch(20.22% 0.071 344.5)
XYZxyz(1.2849, 0.7160, 1.2986)
Luminance0.0072 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B051E #052B12
analogous
#25052B #2B051E #2B050B
triadic
#2B051E #1E2B05 #051E2B
tetradic
#2B051E #2B2505 #052B12 #050B2B
square
#2B051E #2B2505 #052B12 #050B2B
split-complementary
#2B051E #0B2B05 #052B25
monochromatic
#1B0313 #1B0313 #2B051E #620B44 #99126B

Accessibility & contrast

On white

18.37
#2B051E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B051E
18.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B051E#FFFFFF#000000##FFFFFF
##2B051E1.0018.371.1418.37
#FFFFFF18.371.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#09101F
Deuteranopia (green-blind)
#14171D
Tritanopia (blue-blind)
#2F0510
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #2b051e;
/* rgb */ color: rgb(43, 5, 30);
/* oklch */ color: oklch(20.2% 0.071 344.5);
Tailwind
colors: {
  custom: {
    50: '#664959',
    500: '#2b051e',
    950: '#000000',
  },
}
SCSS
$custom: #2b051e;
$custom-light: #664959;
$custom-dark: #000000;
JSON
{
  "hex": "#2b051e",
  "rgb": {
    "r": 43,
    "g": 5,
    "b": 30
  },
  "hsl": {
    "h": 320.526,
    "s": 79.167,
    "l": 9.412
  },
  "oklch": {
    "l": 0.20219,
    "c": 0.07134,
    "h": 344.5
  },
  "luminance": 0.00716
}

Semantic roles & 50–950 ramp

primary
#2B051E
secondary
#1F6D3A
accent
#F67532
background
#F6F4F5
surface
#EBE7E9
border
#C6C3C5
text
#060103
muted
#7A7778

Preview Lab

Preview with #2B051E

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

Preview Lab → · Contrast checker → · Palette generator →

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