#2B031A#2B031A

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

Color values

HEX#2B031A
RGBrgb(43, 3, 26)
HSLhsl(326, 87%, 9%)
HSVhsv(326, 93%, 17%)
CMYKcmyk(0%, 93%, 39.5%, 83.1%)
CIE-LABlab(5.90, 22.51, -4.66)
CIE-LCHlch(5.90, 22.99, 348.30°)
OKLaboklab(19.66% 0.0718 -0.0132)
OKLCHoklch(19.66% 0.073 349.6)
XYZxyz(1.2153, 0.6534, 1.0392)
Luminance0.0065 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B031A #032B14
analogous
#28032B #2B031A #2B0306
triadic
#2B031A #1A2B03 #031A2B
tetradic
#2B031A #2B2803 #032B14 #03062B
square
#2B031A #2B2803 #032B14 #03062B
split-complementary
#2B031A #062B03 #032B28
monochromatic
#1D0211 #1D0211 #2B031A #64073D #9D0B5F

Accessibility & contrast

On white

18.57
#2B031A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B031A
18.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B031A#FFFFFF#000000##FFFFFF
##2B031A1.0018.571.1318.57
#FFFFFF18.571.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#080E1B
Deuteranopia (green-blind)
#151619
Tritanopia (blue-blind)
#2F020D
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #2b031a;
/* rgb */ color: rgb(43, 3, 26);
/* oklch */ color: oklch(19.7% 0.073 349.6);
Tailwind
colors: {
  custom: {
    50: '#664756',
    500: '#2b031a',
    950: '#000000',
  },
}
SCSS
$custom: #2b031a;
$custom-light: #664756;
$custom-dark: #000000;
JSON
{
  "hex": "#2b031a",
  "rgb": {
    "r": 43,
    "g": 3,
    "b": 26
  },
  "hsl": {
    "h": 325.5,
    "s": 86.957,
    "l": 9.02
  },
  "oklch": {
    "l": 0.19664,
    "c": 0.07299,
    "h": 349.6
  },
  "luminance": 0.00653
}

Semantic roles & 50–950 ramp

primary
#2B031A
secondary
#1B6F3F
accent
#FD842B
background
#F6F4F5
surface
#EBE6E9
border
#C6C2C5
text
#060003
muted
#7A7778

Preview Lab

Preview with #2B031A

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

Preview Lab → · Contrast checker → · Palette generator →

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