#2B0215#2B0215

#2B0215 is a very dark, moderate pink. Relative luminance 0.006; OKLCH L 19.2% C 0.072 H 356.6°. Best body text is #FFFFFF at 18.71:1 contrast (WCAG AA passes).

Color values

HEX#2B0215
RGBrgb(43, 2, 21)
HSLhsl(332, 91%, 9%)
HSVhsv(332, 95%, 17%)
CMYKcmyk(0%, 95.3%, 51.2%, 83.1%)
CIE-LABlab(5.52, 22.13, -1.44)
CIE-LCHlch(5.52, 22.18, 356.27°)
OKLaboklab(19.24% 0.0723 -0.0043)
OKLCHoklch(19.24% 0.072 356.6)
XYZxyz(1.1534, 0.6113, 0.7666)
Luminance0.0061 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B0215 #022B18
analogous
#2B022A #2B0215 #2B0402
triadic
#2B0215 #152B02 #02152B
tetradic
#2B0215 #2A2B02 #022B18 #04022B
square
#2B0215 #2A2B02 #022B18 #04022B
split-complementary
#2B0215 #022B04 #022A2B
monochromatic
#1D010E #1D010E #2B0215 #650532 #A0074E

Accessibility & contrast

On white

18.71
#2B0215 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B0215
18.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B0215#FFFFFF#000000##FFFFFF
##2B02151.0018.711.1218.71
#FFFFFF18.711.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#090D16
Deuteranopia (green-blind)
#151514
Tritanopia (blue-blind)
#2F0009
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #2b0215;
/* rgb */ color: rgb(43, 2, 21);
/* oklch */ color: oklch(19.2% 0.072 356.6);
Tailwind
colors: {
  custom: {
    50: '#674752',
    500: '#2b0215',
    950: '#000000',
  },
}
SCSS
$custom: #2b0215;
$custom-light: #674752;
$custom-dark: #000000;
JSON
{
  "hex": "#2b0215",
  "rgb": {
    "r": 43,
    "g": 2,
    "b": 21
  },
  "hsl": {
    "h": 332.195,
    "s": 91.111,
    "l": 8.824
  },
  "oklch": {
    "l": 0.19242,
    "c": 0.07246,
    "h": 356.6
  },
  "luminance": 0.00611
}

Semantic roles & 50–950 ramp

primary
#2B0215
secondary
#197048
accent
#FF9C29
background
#F6F4F4
surface
#EBE6E7
border
#C6C2C3
text
#060002
muted
#7A7778

Preview Lab

Preview with #2B0215

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

Preview Lab → · Contrast checker → · Palette generator →

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