#2B031D#2B031D

#2B031D is a very dark, moderate pink. Relative luminance 0.007; OKLCH L 19.8% C 0.075 H 345.3°. Best body text is #FFFFFF at 18.53:1 contrast (WCAG AA passes).

Color values

HEX#2B031D
RGBrgb(43, 3, 29)
HSLhsl(321, 87%, 9%)
HSVhsv(321, 93%, 17%)
CMYKcmyk(0%, 93%, 32.6%, 83.1%)
CIE-LABlab(6.03, 23.08, -6.83)
CIE-LCHlch(6.03, 24.07, 343.51°)
OKLaboklab(19.83% 0.0726 -0.019)
OKLCHoklch(19.83% 0.075 345.3)
XYZxyz(1.2507, 0.6676, 1.2251)
Luminance0.0067 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B031D #032B11
analogous
#25032B #2B031D #2B0309
triadic
#2B031D #1D2B03 #031D2B
tetradic
#2B031D #2B2503 #032B11 #03092B
square
#2B031D #2B2503 #032B11 #03092B
split-complementary
#2B031D #092B03 #032B25
monochromatic
#1D0213 #1D0213 #2B031D #640744 #9D0B6A

Accessibility & contrast

On white

18.53
#2B031D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B031D
18.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B031D#FFFFFF#000000##FFFFFF
##2B031D1.0018.531.1318.53
#FFFFFF18.531.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#070F1E
Deuteranopia (green-blind)
#14161C
Tritanopia (blue-blind)
#2F030E
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #2b031d;
/* rgb */ color: rgb(43, 3, 29);
/* oklch */ color: oklch(19.8% 0.075 345.3);
Tailwind
colors: {
  custom: {
    50: '#664758',
    500: '#2b031d',
    950: '#000000',
  },
}
SCSS
$custom: #2b031d;
$custom-light: #664758;
$custom-dark: #000000;
JSON
{
  "hex": "#2b031d",
  "rgb": {
    "r": 43,
    "g": 3,
    "b": 29
  },
  "hsl": {
    "h": 321,
    "s": 86.957,
    "l": 9.02
  },
  "oklch": {
    "l": 0.19827,
    "c": 0.07504,
    "h": 345.3
  },
  "luminance": 0.00667
}

Semantic roles & 50–950 ramp

primary
#2B031D
secondary
#1B6F38
accent
#FD742B
background
#F6F4F5
surface
#EBE6E9
border
#C6C2C5
text
#060003
muted
#7A7778

Preview Lab

Preview with #2B031D

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

Preview Lab → · Contrast checker → · Palette generator →

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