#2B021F#2B021F

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

Color values

HEX#2B021F
RGBrgb(43, 2, 31)
HSLhsl(318, 91%, 9%)
HSVhsv(318, 95%, 17%)
CMYKcmyk(0%, 95.3%, 27.9%, 83.1%)
CIE-LABlab(5.93, 23.99, -8.56)
CIE-LCHlch(5.93, 25.47, 340.37°)
OKLaboklab(19.77% 0.0751 -0.024)
OKLCHoklch(19.77% 0.079 342.3)
XYZxyz(1.2653, 0.6561, 1.3561)
Luminance0.0066 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B021F #022B0E
analogous
#23022B #2B021F #2B020B
triadic
#2B021F #1F2B02 #021F2B
tetradic
#2B021F #2B2302 #022B0E #020B2B
square
#2B021F #2B2302 #022B0E #020B2B
split-complementary
#2B021F #0B2B02 #022B23
monochromatic
#1D0115 #1D0115 #2B021F #650549 #A00773

Accessibility & contrast

On white

18.56
#2B021F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B021F
18.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B021F#FFFFFF#000000##FFFFFF
##2B021F1.0018.561.1318.56
#FFFFFF18.561.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#050F20
Deuteranopia (green-blind)
#12161E
Tritanopia (blue-blind)
#2E020F
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #2b021f;
/* rgb */ color: rgb(43, 2, 31);
/* oklch */ color: oklch(19.8% 0.079 342.3);
Tailwind
colors: {
  custom: {
    50: '#66475a',
    500: '#2b021f',
    950: '#000000',
  },
}
SCSS
$custom: #2b021f;
$custom-light: #66475a;
$custom-dark: #000000;
JSON
{
  "hex": "#2b021f",
  "rgb": {
    "r": 43,
    "g": 2,
    "b": 31
  },
  "hsl": {
    "h": 317.561,
    "s": 91.111,
    "l": 8.824
  },
  "oklch": {
    "l": 0.19773,
    "c": 0.07884,
    "h": 342.3
  },
  "luminance": 0.00656
}

Semantic roles & 50–950 ramp

primary
#2B021F
secondary
#197032
accent
#FF6729
background
#F6F4F5
surface
#EBE6E9
border
#C6C2C5
text
#060003
muted
#7A7778

Preview Lab

Preview with #2B021F

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

Preview Lab → · Contrast checker → · Palette generator →

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