#2B0212#2B0212

#2B0212 is a very dark, moderate pink. Relative luminance 0.006; OKLCH L 19.1% C 0.071 H 1.2°. Best body text is #FFFFFF at 18.75:1 contrast (WCAG AA passes).

Color values

HEX#2B0212
RGBrgb(43, 2, 18)
HSLhsl(337, 91%, 9%)
HSVhsv(337, 95%, 17%)
CMYKcmyk(0%, 95.3%, 58.1%, 83.1%)
CIE-LABlab(5.43, 21.66, 0.36)
CIE-LCHlch(5.43, 21.67, 0.96°)
OKLaboklab(19.11% 0.0711 0.0015)
OKLCHoklch(19.11% 0.071 1.2)
XYZxyz(1.1272, 0.6008, 0.6288)
Luminance0.0060 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B0212 #022B1B
analogous
#2B0227 #2B0212 #2B0702
triadic
#2B0212 #122B02 #02122B
tetradic
#2B0212 #272B02 #022B1B #07022B
square
#2B0212 #272B02 #022B1B #07022B
split-complementary
#2B0212 #022B07 #02272B
monochromatic
#1D010C #1D010C #2B0212 #65052A #A00743

Accessibility & contrast

On white

18.75
#2B0212 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B0212
18.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B0212#FFFFFF#000000##FFFFFF
##2B02121.0018.751.1218.75
#FFFFFF18.751.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A0C12
Deuteranopia (green-blind)
#161511
Tritanopia (blue-blind)
#300008
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #2b0212;
/* rgb */ color: rgb(43, 2, 18);
/* oklch */ color: oklch(19.1% 0.071 1.2);
Tailwind
colors: {
  custom: {
    50: '#674750',
    500: '#2b0212',
    950: '#000000',
  },
}
SCSS
$custom: #2b0212;
$custom-light: #674750;
$custom-dark: #000000;
JSON
{
  "hex": "#2b0212",
  "rgb": {
    "r": 43,
    "g": 2,
    "b": 18
  },
  "hsl": {
    "h": 336.585,
    "s": 91.111,
    "l": 8.824
  },
  "oklch": {
    "l": 0.19113,
    "c": 0.07113,
    "h": 1.2
  },
  "luminance": 0.00601
}

Semantic roles & 50–950 ramp

primary
#2B0212
secondary
#19704E
accent
#FFAB29
background
#F6F4F4
surface
#EBE6E7
border
#C6C2C3
text
#060002
muted
#7A7778

Preview Lab

Preview with #2B0212

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

Preview Lab → · Contrast checker → · Palette generator →

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