#2B0122#2B0122

#2B0122 is a very dark, moderate pink. Relative luminance 0.007; OKLCH L 19.8% C 0.084 H 338.3°. Best body text is #FFFFFF at 18.58:1 contrast (WCAG AA passes).

Color values

HEX#2B0122
RGBrgb(43, 1, 34)
HSLhsl(313, 95%, 9%)
HSVhsv(313, 98%, 17%)
CMYKcmyk(0%, 97.7%, 20.9%, 83.1%)
CIE-LABlab(5.88, 25.14, -10.96)
CIE-LCHlch(5.88, 27.43, 336.44°)
OKLaboklab(19.79% 0.0776 -0.0308)
OKLCHoklch(19.79% 0.084 338.3)
XYZxyz(1.2959, 0.6509, 1.5705)
Luminance0.0065 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B0122 #012B0A
analogous
#1F012B #2B0122 #2B010D
triadic
#2B0122 #222B01 #01222B
tetradic
#2B0122 #2B1F01 #012B0A #010D2B
square
#2B0122 #2B1F01 #012B0A #010D2B
split-complementary
#2B0122 #0D2B01 #012B1F
monochromatic
#1E0118 #1E0118 #2B0122 #670251 #A30481

Accessibility & contrast

On white

18.58
#2B0122 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B0122
18.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B0122#FFFFFF#000000##FFFFFF
##2B01221.0018.581.1318.58
#FFFFFF18.581.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#020F23
Deuteranopia (green-blind)
#111521
Tritanopia (blue-blind)
#2E0210
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #2b0122;
/* rgb */ color: rgb(43, 1, 34);
/* oklch */ color: oklch(19.8% 0.084 338.3);
Tailwind
colors: {
  custom: {
    50: '#66465d',
    500: '#2b0122',
    950: '#000000',
  },
}
SCSS
$custom: #2b0122;
$custom-light: #66465d;
$custom-dark: #000000;
JSON
{
  "hex": "#2b0122",
  "rgb": {
    "r": 43,
    "g": 1,
    "b": 34
  },
  "hsl": {
    "h": 312.857,
    "s": 95.455,
    "l": 8.627
  },
  "oklch": {
    "l": 0.19791,
    "c": 0.08353,
    "h": 338.3
  },
  "luminance": 0.00651
}

Semantic roles & 50–950 ramp

primary
#2B0122
secondary
#17712A
accent
#FF5729
background
#F6F4F5
surface
#EBE6E9
border
#C6C2C5
text
#060004
muted
#7A7779

Preview Lab

Preview with #2B0122

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

Preview Lab → · Contrast checker → · Palette generator →

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