#2B0021#2B0021

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

Color values

HEX#2B0021
RGBrgb(43, 0, 33)
HSLhsl(314, 100%, 8%)
HSVhsv(314, 100%, 17%)
CMYKcmyk(0%, 100%, 23.3%, 83.1%)
CIE-LABlab(5.63, 25.43, -10.56)
CIE-LCHlch(5.63, 27.54, 337.44°)
OKLaboklab(19.55% 0.0797 -0.03)
OKLCHoklch(19.55% 0.085 339.4)
XYZxyz(1.2708, 0.6235, 1.4920)
Luminance0.0062 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B0021 #002B0A
analogous
#1F002B #2B0021 #2B000B
triadic
#2B0021 #212B00 #00212B
tetradic
#2B0021 #2B1F00 #002B0A #000B2B
square
#2B0021 #2B1F00 #002B0A #000B2B
split-complementary
#2B0021 #0B2B00 #002B1F
monochromatic
#1F0017 #1F0017 #2B0021 #680050 #A5007F

Accessibility & contrast

On white

18.67
#2B0021 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B0021
18.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B0021#FFFFFF#000000##FFFFFF
##2B00211.0018.671.1218.67
#FFFFFF18.671.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#020E22
Deuteranopia (green-blind)
#111520
Tritanopia (blue-blind)
#2E010F
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #2b0021;
/* rgb */ color: rgb(43, 0, 33);
/* oklch */ color: oklch(19.6% 0.085 339.4);
Tailwind
colors: {
  custom: {
    50: '#66465c',
    500: '#2b0021',
    950: '#000000',
  },
}
SCSS
$custom: #2b0021;
$custom-light: #66465c;
$custom-dark: #000000;
JSON
{
  "hex": "#2b0021",
  "rgb": {
    "r": 43,
    "g": 0,
    "b": 33
  },
  "hsl": {
    "h": 313.953,
    "s": 100,
    "l": 8.431
  },
  "oklch": {
    "l": 0.19551,
    "c": 0.08517,
    "h": 339.4
  },
  "luminance": 0.00623
}

Semantic roles & 50–950 ramp

primary
#2B0021
secondary
#14732A
accent
#FF5B29
background
#F6F4F5
surface
#EBE6E9
border
#C6C2C5
text
#060004
muted
#7A7779

Preview Lab

Preview with #2B0021

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

Preview Lab → · Contrast checker → · Palette generator →

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