#2B021E#2B021E

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

Color values

HEX#2B021E
RGBrgb(43, 2, 30)
HSLhsl(319, 91%, 9%)
HSVhsv(319, 95%, 17%)
CMYKcmyk(0%, 95.3%, 30.2%, 83.1%)
CIE-LABlab(5.88, 23.79, -7.84)
CIE-LCHlch(5.88, 25.05, 341.75°)
OKLaboklab(19.71% 0.0749 -0.022)
OKLCHoklch(19.71% 0.078 343.6)
XYZxyz(1.2524, 0.6509, 1.2877)
Luminance0.0065 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B021E #022B0F
analogous
#24022B #2B021E #2B020A
triadic
#2B021E #1E2B02 #021E2B
tetradic
#2B021E #2B2402 #022B0F #020A2B
square
#2B021E #2B2402 #022B0F #020A2B
split-complementary
#2B021E #0A2B02 #022B24
monochromatic
#1D0114 #1D0114 #2B021E #650547 #A00770

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2B021E#FFFFFF#000000##FFFFFF
##2B021E1.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)
#050E1F
Deuteranopia (green-blind)
#13161D
Tritanopia (blue-blind)
#2F020E
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #2b021e;
/* rgb */ color: rgb(43, 2, 30);
/* oklch */ color: oklch(19.7% 0.078 343.6);
Tailwind
colors: {
  custom: {
    50: '#664759',
    500: '#2b021e',
    950: '#000000',
  },
}
SCSS
$custom: #2b021e;
$custom-light: #664759;
$custom-dark: #000000;
JSON
{
  "hex": "#2b021e",
  "rgb": {
    "r": 43,
    "g": 2,
    "b": 30
  },
  "hsl": {
    "h": 319.024,
    "s": 91.111,
    "l": 8.824
  },
  "oklch": {
    "l": 0.19713,
    "c": 0.0781,
    "h": 343.6
  },
  "luminance": 0.00651
}

Semantic roles & 50–950 ramp

primary
#2B021E
secondary
#197034
accent
#FF6D29
background
#F6F4F5
surface
#EBE6E9
border
#C6C2C5
text
#060003
muted
#7A7778

Preview Lab

Preview with #2B021E

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

Preview Lab → · Contrast checker → · Palette generator →

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