#2B081F#2B081F

#2B081F is a very dark, moderate pink. Relative luminance 0.008; OKLCH L 20.8% C 0.066 H 344.0°. Best body text is #FFFFFF at 18.15:1 contrast (WCAG AA passes).

Color values

HEX#2B081F
RGBrgb(43, 8, 31)
HSLhsl(321, 69%, 10%)
HSVhsv(321, 81%, 17%)
CMYKcmyk(0%, 81.4%, 27.9%, 83.1%)
CIE-LABlab(7.10, 20.92, -6.77)
CIE-LCHlch(7.10, 21.99, 342.06°)
OKLaboklab(20.75% 0.0634 -0.0182)
OKLCHoklch(20.75% 0.066 344)
XYZxyz(1.3305, 0.7863, 1.3778)
Luminance0.0079 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B081F #082B14
analogous
#25082B #2B081F #2B080E
triadic
#2B081F #1F2B08 #081F2B
tetradic
#2B081F #2B2508 #082B14 #080E2B
square
#2B081F #2B2508 #082B14 #080E2B
split-complementary
#2B081F #0E2B08 #082B25
monochromatic
#1A0513 #1A0513 #2B081F #5F1244 #921B69

Accessibility & contrast

On white

18.15
#2B081F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#2B081F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B081F
18.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B081F#FFFFFF#000000##FFFFFF
##2B081F1.0018.151.1618.15
#FFFFFF18.151.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B1220
Deuteranopia (green-blind)
#16181E
Tritanopia (blue-blind)
#2E0812
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #2b081f;
/* rgb */ color: rgb(43, 8, 31);
/* oklch */ color: oklch(20.8% 0.066 344.0);
Tailwind
colors: {
  custom: {
    50: '#664a5a',
    500: '#2b081f',
    950: '#000000',
  },
}
SCSS
$custom: #2b081f;
$custom-light: #664a5a;
$custom-dark: #000000;
JSON
{
  "hex": "#2b081f",
  "rgb": {
    "r": 43,
    "g": 8,
    "b": 31
  },
  "hsl": {
    "h": 320.571,
    "s": 68.627,
    "l": 10
  },
  "oklch": {
    "l": 0.20754,
    "c": 0.06593,
    "h": 344
  },
  "luminance": 0.00786
}

Semantic roles & 50–950 ramp

primary
#2B081F
secondary
#256A3D
accent
#EB783C
background
#F6F4F5
surface
#EBE7E9
border
#C6C3C5
text
#060103
muted
#7A7778

Preview Lab

Preview with #2B081F

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

Preview Lab → · Contrast checker → · Palette generator →

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