#2B0818#2B0818

#2B0818 is a very dark, moderate pink. Relative luminance 0.008; OKLCH L 20.4% C 0.061 H 355.6°. Best body text is #FFFFFF at 18.25:1 contrast (WCAG AA passes).

Color values

HEX#2B0818
RGBrgb(43, 8, 24)
HSLhsl(333, 69%, 10%)
HSVhsv(333, 81%, 17%)
CMYKcmyk(0%, 81.4%, 44.2%, 83.1%)
CIE-LABlab(6.80, 19.66, -1.77)
CIE-LCHlch(6.80, 19.74, 354.87°)
OKLaboklab(20.41% 0.061 -0.0047)
OKLCHoklch(20.41% 0.061 355.6)
XYZxyz(1.2480, 0.7533, 0.9437)
Luminance0.0075 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B0818 #082B1B
analogous
#2B082A #2B0818 #2B0908
triadic
#2B0818 #182B08 #08182B
tetradic
#2B0818 #2A2B08 #082B1B #09082B
square
#2B0818 #2A2B08 #082B1B #09082B
split-complementary
#2B0818 #082B09 #082A2B
monochromatic
#1A050E #1A050E #2B0818 #5F1235 #921B52

Accessibility & contrast

On white

18.25
#2B0818 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.15
#2B0818 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B0818
18.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B0818#FFFFFF#000000##FFFFFF
##2B08181.0018.251.1518.25
#FFFFFF18.251.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E1118
Deuteranopia (green-blind)
#181717
Tritanopia (blue-blind)
#2F060E
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #2b0818;
/* rgb */ color: rgb(43, 8, 24);
/* oklch */ color: oklch(20.4% 0.061 355.6);
Tailwind
colors: {
  custom: {
    50: '#664a54',
    500: '#2b0818',
    950: '#000000',
  },
}
SCSS
$custom: #2b0818;
$custom-light: #664a54;
$custom-dark: #000000;
JSON
{
  "hex": "#2b0818",
  "rgb": {
    "r": 43,
    "g": 8,
    "b": 24
  },
  "hsl": {
    "h": 332.571,
    "s": 68.627,
    "l": 10
  },
  "oklch": {
    "l": 0.20406,
    "c": 0.06116,
    "h": 355.6
  },
  "luminance": 0.00753
}

Semantic roles & 50–950 ramp

primary
#2B0818
secondary
#256A4A
accent
#EB9B3C
background
#F6F4F4
surface
#EBE7E7
border
#C6C3C3
text
#060102
muted
#7A7778

Preview Lab

Preview with #2B0818

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

Preview Lab → · Contrast checker → · Palette generator →

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