#2B021D#2B021D

#2B021D is a very dark, moderate pink. Relative luminance 0.006; OKLCH L 19.7% C 0.077 H 345.0°. Best body text is #FFFFFF at 18.60:1 contrast (WCAG AA passes).

Color values

HEX#2B021D
RGBrgb(43, 2, 29)
HSLhsl(320, 91%, 9%)
HSVhsv(320, 95%, 17%)
CMYKcmyk(0%, 95.3%, 32.6%, 83.1%)
CIE-LABlab(5.83, 23.59, -7.13)
CIE-LCHlch(5.83, 24.64, 343.19°)
OKLaboklab(19.65% 0.0747 -0.0201)
OKLCHoklch(19.65% 0.077 345)
XYZxyz(1.2398, 0.6459, 1.2215)
Luminance0.0065 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B021D #022B10
analogous
#25022B #2B021D #2B0209
triadic
#2B021D #1D2B02 #021D2B
tetradic
#2B021D #2B2502 #022B10 #02092B
square
#2B021D #2B2502 #022B10 #02092B
split-complementary
#2B021D #092B02 #022B25
monochromatic
#1D0114 #1D0114 #2B021D #650544 #A0076C

Accessibility & contrast

On white

18.60
#2B021D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B021D
18.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B021D#FFFFFF#000000##FFFFFF
##2B021D1.0018.601.1318.60
#FFFFFF18.601.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#060E1E
Deuteranopia (green-blind)
#13151C
Tritanopia (blue-blind)
#2F020E
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #2b021d;
/* rgb */ color: rgb(43, 2, 29);
/* oklch */ color: oklch(19.7% 0.077 345.0);
Tailwind
colors: {
  custom: {
    50: '#664758',
    500: '#2b021d',
    950: '#000000',
  },
}
SCSS
$custom: #2b021d;
$custom-light: #664758;
$custom-dark: #000000;
JSON
{
  "hex": "#2b021d",
  "rgb": {
    "r": 43,
    "g": 2,
    "b": 29
  },
  "hsl": {
    "h": 320.488,
    "s": 91.111,
    "l": 8.824
  },
  "oklch": {
    "l": 0.19654,
    "c": 0.07738,
    "h": 345
  },
  "luminance": 0.00646
}

Semantic roles & 50–950 ramp

primary
#2B021D
secondary
#197037
accent
#FF7229
background
#F6F4F5
surface
#EBE6E9
border
#C6C2C5
text
#060003
muted
#7A7778

Preview Lab

Preview with #2B021D

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

Preview Lab → · Contrast checker → · Palette generator →

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