#2B021C#2B021C

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

Color values

HEX#2B021C
RGBrgb(43, 2, 28)
HSLhsl(322, 91%, 9%)
HSVhsv(322, 95%, 17%)
CMYKcmyk(0%, 95.3%, 34.9%, 83.1%)
CIE-LABlab(5.79, 23.39, -6.41)
CIE-LCHlch(5.79, 24.25, 344.68°)
OKLaboklab(19.6% 0.0745 -0.0181)
OKLCHoklch(19.6% 0.077 346.3)
XYZxyz(1.2276, 0.6410, 1.1575)
Luminance0.0064 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B021C #022B11
analogous
#26022B #2B021C #2B0208
triadic
#2B021C #1C2B02 #021C2B
tetradic
#2B021C #2B2602 #022B11 #02082B
square
#2B021C #2B2602 #022B11 #02082B
split-complementary
#2B021C #082B02 #022B26
monochromatic
#1D0113 #1D0113 #2B021C #650542 #A00768

Accessibility & contrast

On white

18.61
#2B021C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B021C
18.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B021C#FFFFFF#000000##FFFFFF
##2B021C1.0018.611.1318.61
#FFFFFF18.611.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#060E1D
Deuteranopia (green-blind)
#13151B
Tritanopia (blue-blind)
#2F010D
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #2b021c;
/* rgb */ color: rgb(43, 2, 28);
/* oklch */ color: oklch(19.6% 0.077 346.3);
Tailwind
colors: {
  custom: {
    50: '#664758',
    500: '#2b021c',
    950: '#000000',
  },
}
SCSS
$custom: #2b021c;
$custom-light: #664758;
$custom-dark: #000000;
JSON
{
  "hex": "#2b021c",
  "rgb": {
    "r": 43,
    "g": 2,
    "b": 28
  },
  "hsl": {
    "h": 321.951,
    "s": 91.111,
    "l": 8.824
  },
  "oklch": {
    "l": 0.19597,
    "c": 0.07667,
    "h": 346.3
  },
  "luminance": 0.00641
}

Semantic roles & 50–950 ramp

primary
#2B021C
secondary
#197039
accent
#FF7729
background
#F6F4F5
surface
#EBE6E9
border
#C6C2C5
text
#060003
muted
#7A7778

Preview Lab

Preview with #2B021C

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

Preview Lab → · Contrast checker → · Palette generator →

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