#2B0221#2B0221

#2B0221 is a very dark, moderate pink. Relative luminance 0.007; OKLCH L 19.9% C 0.080 H 339.7°. Best body text is #FFFFFF at 18.53:1 contrast (WCAG AA passes).

Color values

HEX#2B0221
RGBrgb(43, 2, 33)
HSLhsl(315, 91%, 9%)
HSVhsv(315, 95%, 17%)
CMYKcmyk(0%, 95.3%, 23.3%, 83.1%)
CIE-LABlab(6.02, 24.41, -9.96)
CIE-LCHlch(6.02, 26.37, 337.80°)
OKLaboklab(19.9% 0.0754 -0.0279)
OKLCHoklch(19.9% 0.08 339.7)
XYZxyz(1.2925, 0.6669, 1.4992)
Luminance0.0067 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B0221 #022B0C
analogous
#21022B #2B0221 #2B020D
triadic
#2B0221 #212B02 #02212B
tetradic
#2B0221 #2B2102 #022B0C #020D2B
square
#2B0221 #2B2102 #022B0C #020D2B
split-complementary
#2B0221 #0D2B02 #022B21
monochromatic
#1D0116 #1D0116 #2B0221 #65054E #A0077B

Accessibility & contrast

On white

18.53
#2B0221 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B0221
18.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B0221#FFFFFF#000000##FFFFFF
##2B02211.0018.531.1318.53
#FFFFFF18.531.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#040F22
Deuteranopia (green-blind)
#121620
Tritanopia (blue-blind)
#2E0310
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #2b0221;
/* rgb */ color: rgb(43, 2, 33);
/* oklch */ color: oklch(19.9% 0.080 339.7);
Tailwind
colors: {
  custom: {
    50: '#66475c',
    500: '#2b0221',
    950: '#000000',
  },
}
SCSS
$custom: #2b0221;
$custom-light: #66475c;
$custom-dark: #000000;
JSON
{
  "hex": "#2b0221",
  "rgb": {
    "r": 43,
    "g": 2,
    "b": 33
  },
  "hsl": {
    "h": 314.634,
    "s": 91.111,
    "l": 8.824
  },
  "oklch": {
    "l": 0.19897,
    "c": 0.0804,
    "h": 339.7
  },
  "luminance": 0.00667
}

Semantic roles & 50–950 ramp

primary
#2B0221
secondary
#19702E
accent
#FF5D29
background
#F6F4F5
surface
#EBE6E9
border
#C6C2C5
text
#060004
muted
#7A7779

Preview Lab

Preview with #2B0221

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

Preview Lab → · Contrast checker → · Palette generator →

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