#2B031E#2B031E

#2B031E is a very dark, moderate pink. Relative luminance 0.007; OKLCH L 19.9% C 0.076 H 343.9°. Best body text is #FFFFFF at 18.51:1 contrast (WCAG AA passes).

Color values

HEX#2B031E
RGBrgb(43, 3, 30)
HSLhsl(320, 87%, 9%)
HSVhsv(320, 93%, 17%)
CMYKcmyk(0%, 93%, 30.2%, 83.1%)
CIE-LABlab(6.08, 23.28, -7.55)
CIE-LCHlch(6.08, 24.48, 342.04°)
OKLaboklab(19.88% 0.0728 -0.021)
OKLCHoklch(19.88% 0.076 343.9)
XYZxyz(1.2632, 0.6726, 1.2913)
Luminance0.0067 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B031E #032B10
analogous
#24032B #2B031E #2B030A
triadic
#2B031E #1E2B03 #031E2B
tetradic
#2B031E #2B2403 #032B10 #030A2B
square
#2B031E #2B2403 #032B10 #030A2B
split-complementary
#2B031E #0A2B03 #032B24
monochromatic
#1D0214 #1D0214 #2B031E #640746 #9D0B6E

Accessibility & contrast

On white

18.51
#2B031E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B031E
18.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B031E#FFFFFF#000000##FFFFFF
##2B031E1.0018.511.1318.51
#FFFFFF18.511.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#070F1F
Deuteranopia (green-blind)
#13161D
Tritanopia (blue-blind)
#2F030F
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #2b031e;
/* rgb */ color: rgb(43, 3, 30);
/* oklch */ color: oklch(19.9% 0.076 343.9);
Tailwind
colors: {
  custom: {
    50: '#664759',
    500: '#2b031e',
    950: '#000000',
  },
}
SCSS
$custom: #2b031e;
$custom-light: #664759;
$custom-dark: #000000;
JSON
{
  "hex": "#2b031e",
  "rgb": {
    "r": 43,
    "g": 3,
    "b": 30
  },
  "hsl": {
    "h": 319.5,
    "s": 86.957,
    "l": 9.02
  },
  "oklch": {
    "l": 0.19884,
    "c": 0.07578,
    "h": 343.9
  },
  "luminance": 0.00672
}

Semantic roles & 50–950 ramp

primary
#2B031E
secondary
#1B6F36
accent
#FD6F2B
background
#F6F4F5
surface
#EBE6E9
border
#C6C2C5
text
#060003
muted
#7A7778

Preview Lab

Preview with #2B031E

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

Preview Lab → · Contrast checker → · Palette generator →

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