#2B031F#2B031F

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

Color values

HEX#2B031F
RGBrgb(43, 3, 31)
HSLhsl(318, 87%, 9%)
HSVhsv(318, 93%, 17%)
CMYKcmyk(0%, 93%, 27.9%, 83.1%)
CIE-LABlab(6.12, 23.48, -8.26)
CIE-LCHlch(6.12, 24.89, 340.63°)
OKLaboklab(19.94% 0.073 -0.023)
OKLCHoklch(19.94% 0.077 342.5)
XYZxyz(1.2762, 0.6778, 1.3597)
Luminance0.0068 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B031F #032B0F
analogous
#23032B #2B031F #2B030B
triadic
#2B031F #1F2B03 #031F2B
tetradic
#2B031F #2B2303 #032B0F #030B2B
square
#2B031F #2B2303 #032B0F #030B2B
split-complementary
#2B031F #0B2B03 #032B23
monochromatic
#1D0215 #1D0215 #2B031F #640748 #9D0B71

Accessibility & contrast

On white

18.49
#2B031F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.14
#2B031F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B031F
18.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B031F#FFFFFF#000000##FFFFFF
##2B031F1.0018.491.1418.49
#FFFFFF18.491.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#060F20
Deuteranopia (green-blind)
#13161E
Tritanopia (blue-blind)
#2E030F
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #2b031f;
/* rgb */ color: rgb(43, 3, 31);
/* oklch */ color: oklch(19.9% 0.077 342.5);
Tailwind
colors: {
  custom: {
    50: '#66475a',
    500: '#2b031f',
    950: '#000000',
  },
}
SCSS
$custom: #2b031f;
$custom-light: #66475a;
$custom-dark: #000000;
JSON
{
  "hex": "#2b031f",
  "rgb": {
    "r": 43,
    "g": 3,
    "b": 31
  },
  "hsl": {
    "h": 318,
    "s": 86.957,
    "l": 9.02
  },
  "oklch": {
    "l": 0.19943,
    "c": 0.07653,
    "h": 342.5
  },
  "luminance": 0.00678
}

Semantic roles & 50–950 ramp

primary
#2B031F
secondary
#1B6F34
accent
#FD6A2B
background
#F6F4F5
surface
#EBE6E9
border
#C6C2C5
text
#060003
muted
#7A7778

Preview Lab

Preview with #2B031F

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

Preview Lab → · Contrast checker → · Palette generator →

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