#2B0D18#2B0D18

#2B0D18 is a very dark, muted pink. Relative luminance 0.009; OKLCH L 21.2% C 0.052 H 359.5°. Best body text is #FFFFFF at 17.90:1 contrast (WCAG AA passes).

Color values

HEX#2B0D18
RGBrgb(43, 13, 24)
HSLhsl(338, 54%, 11%)
HSVhsv(338, 70%, 17%)
CMYKcmyk(0%, 69.8%, 44.2%, 83.1%)
CIE-LABlab(7.84, 16.99, -0.26)
CIE-LCHlch(7.84, 16.99, 359.12°)
OKLaboklab(21.22% 0.0518 -0.0005)
OKLCHoklch(21.22% 0.052 359.5)
XYZxyz(1.3051, 0.8675, 0.9627)
Luminance0.0087 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B0D18 #0D2B20
analogous
#2B0D27 #2B0D18 #2B110D
triadic
#2B0D18 #182B0D #0D182B
tetradic
#2B0D18 #272B0D #0D2B20 #110D2B
square
#2B0D18 #272B0D #0D2B20 #110D2B
split-complementary
#2B0D18 #0D2B11 #0D272B
monochromatic
#17070D #17070D #2B0D18 #5A1B32 #89294C

Accessibility & contrast

On white

17.90
#2B0D18 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#2B0D18 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B0D18
17.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B0D18#FFFFFF#000000##FFFFFF
##2B0D181.0017.901.1717.90
#FFFFFF17.901.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#121418
Deuteranopia (green-blind)
#1A1917
Tritanopia (blue-blind)
#2F0B11
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #2b0d18;
/* rgb */ color: rgb(43, 13, 24);
/* oklch */ color: oklch(21.2% 0.052 359.5);
Tailwind
colors: {
  custom: {
    50: '#664d54',
    500: '#2b0d18',
    950: '#000000',
  },
}
SCSS
$custom: #2b0d18;
$custom-light: #664d54;
$custom-dark: #000000;
JSON
{
  "hex": "#2b0d18",
  "rgb": {
    "r": 43,
    "g": 13,
    "b": 24
  },
  "hsl": {
    "h": 338,
    "s": 53.571,
    "l": 10.98
  },
  "oklch": {
    "l": 0.2122,
    "c": 0.05176,
    "h": 359.5
  },
  "luminance": 0.00867
}

Semantic roles & 50–950 ramp

primary
#2B0D18
secondary
#2E6651
accent
#DDA74B
background
#F6F4F4
surface
#EBE7E7
border
#C6C3C3
text
#060102
muted
#7A7778

Preview Lab

Preview with #2B0D18

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

Preview Lab → · Contrast checker → · Palette generator →

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