#2B0012#2B0012

#2B0012 is a very dark, moderate pink. Relative luminance 0.006; OKLCH L 18.7% C 0.076 H 359.6°. Best body text is #FFFFFF at 18.90:1 contrast (WCAG AA passes).

Color values

HEX#2B0012
RGBrgb(43, 0, 18)
HSLhsl(335, 100%, 8%)
HSVhsv(335, 100%, 17%)
CMYKcmyk(0%, 100%, 58.1%, 83.1%)
CIE-LABlab(5.03, 22.62, -0.21)
CIE-LCHlch(5.03, 22.62, 359.47°)
OKLaboklab(18.73% 0.076 -0.0005)
OKLCHoklch(18.73% 0.076 359.6)
XYZxyz(1.1055, 0.5574, 0.6215)
Luminance0.0056 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B0012 #002B19
analogous
#2B0027 #2B0012 #2B0400
triadic
#2B0012 #122B00 #00122B
tetradic
#2B0012 #272B00 #002B19 #04002B
square
#2B0012 #272B00 #002B19 #04002B
split-complementary
#2B0012 #002B04 #00272B
monochromatic
#1F000D #1F000D #2B0012 #68002C #A50045

Accessibility & contrast

On white

18.90
#2B0012 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.11
#2B0012 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B0012
18.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B0012#FFFFFF#000000##FFFFFF
##2B00121.0018.901.1118.90
#FFFFFF18.901.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#080B12
Deuteranopia (green-blind)
#151411
Tritanopia (blue-blind)
#300006
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #2b0012;
/* rgb */ color: rgb(43, 0, 18);
/* oklch */ color: oklch(18.7% 0.076 359.6);
Tailwind
colors: {
  custom: {
    50: '#674650',
    500: '#2b0012',
    950: '#000000',
  },
}
SCSS
$custom: #2b0012;
$custom-light: #674650;
$custom-dark: #000000;
JSON
{
  "hex": "#2b0012",
  "rgb": {
    "r": 43,
    "g": 0,
    "b": 18
  },
  "hsl": {
    "h": 334.884,
    "s": 100,
    "l": 8.431
  },
  "oklch": {
    "l": 0.18734,
    "c": 0.076,
    "h": 359.6
  },
  "luminance": 0.00557
}

Semantic roles & 50–950 ramp

primary
#2B0012
secondary
#14734B
accent
#FFA529
background
#F6F3F4
surface
#EBE5E7
border
#C6C1C3
text
#060002
muted
#7A7678

Preview Lab

Preview with #2B0012

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

Preview Lab → · Contrast checker → · Palette generator →

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