#2B031B#2B031B

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

Color values

HEX#2B031B
RGBrgb(43, 3, 27)
HSLhsl(324, 87%, 9%)
HSVhsv(324, 93%, 17%)
CMYKcmyk(0%, 93%, 37.2%, 83.1%)
CIE-LABlab(5.94, 22.70, -5.39)
CIE-LCHlch(5.94, 23.33, 346.64°)
OKLaboklab(19.72% 0.0721 -0.0151)
OKLCHoklch(19.72% 0.074 348.1)
XYZxyz(1.2267, 0.6580, 1.0991)
Luminance0.0066 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B031B #032B13
analogous
#27032B #2B031B #2B0307
triadic
#2B031B #1B2B03 #031B2B
tetradic
#2B031B #2B2703 #032B13 #03072B
square
#2B031B #2B2703 #032B13 #03072B
split-complementary
#2B031B #072B03 #032B27
monochromatic
#1D0212 #1D0212 #2B031B #64073F #9D0B63

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2B031B#FFFFFF#000000##FFFFFF
##2B031B1.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)
#080E1C
Deuteranopia (green-blind)
#14161A
Tritanopia (blue-blind)
#2F020D
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #2b031b;
/* rgb */ color: rgb(43, 3, 27);
/* oklch */ color: oklch(19.7% 0.074 348.1);
Tailwind
colors: {
  custom: {
    50: '#664757',
    500: '#2b031b',
    950: '#000000',
  },
}
SCSS
$custom: #2b031b;
$custom-light: #664757;
$custom-dark: #000000;
JSON
{
  "hex": "#2b031b",
  "rgb": {
    "r": 43,
    "g": 3,
    "b": 27
  },
  "hsl": {
    "h": 324,
    "s": 86.957,
    "l": 9.02
  },
  "oklch": {
    "l": 0.19717,
    "c": 0.07364,
    "h": 348.1
  },
  "luminance": 0.00658
}

Semantic roles & 50–950 ramp

primary
#2B031B
secondary
#1B6F3D
accent
#FD7F2B
background
#F6F4F5
surface
#EBE6E9
border
#C6C2C5
text
#060003
muted
#7A7778

Preview Lab

Preview with #2B031B

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

Preview Lab → · Contrast checker → · Palette generator →

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