#2B0412#2B0412

#2B0412 is a very dark, moderate pink. Relative luminance 0.006; OKLCH L 19.5% C 0.067 H 2.8°. Best body text is #FFFFFF at 18.60:1 contrast (WCAG AA passes).

Color values

HEX#2B0412
RGBrgb(43, 4, 18)
HSLhsl(338, 83%, 9%)
HSVhsv(338, 91%, 17%)
CMYKcmyk(0%, 90.7%, 58.1%, 83.1%)
CIE-LABlab(5.82, 20.70, 0.94)
CIE-LCHlch(5.82, 20.72, 2.59°)
OKLaboklab(19.48% 0.0666 0.0033)
OKLCHoklch(19.48% 0.067 2.8)
XYZxyz(1.1490, 0.6443, 0.6360)
Luminance0.0064 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B0412 #042B1D
analogous
#2B0426 #2B0412 #2B0A04
triadic
#2B0412 #122B04 #04122B
tetradic
#2B0412 #262B04 #042B1D #0A042B
square
#2B0412 #262B04 #042B1D #0A042B
split-complementary
#2B0412 #042B0A #04262B
monochromatic
#1C030C #1C030C #2B0412 #630929 #9B0E41

Accessibility & contrast

On white

18.60
#2B0412 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B0412
18.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B0412#FFFFFF#000000##FFFFFF
##2B04121.0018.601.1318.60
#FFFFFF18.601.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C0E12
Deuteranopia (green-blind)
#171611
Tritanopia (blue-blind)
#300009
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #2b0412;
/* rgb */ color: rgb(43, 4, 18);
/* oklch */ color: oklch(19.5% 0.067 2.8);
Tailwind
colors: {
  custom: {
    50: '#674850',
    500: '#2b0412',
    950: '#000000',
  },
}
SCSS
$custom: #2b0412;
$custom-light: #674850;
$custom-dark: #000000;
JSON
{
  "hex": "#2b0412",
  "rgb": {
    "r": 43,
    "g": 4,
    "b": 18
  },
  "hsl": {
    "h": 338.462,
    "s": 82.979,
    "l": 9.216
  },
  "oklch": {
    "l": 0.19477,
    "c": 0.06664,
    "h": 2.8
  },
  "luminance": 0.00644
}

Semantic roles & 50–950 ramp

primary
#2B0412
secondary
#1D6E51
accent
#F9B12E
background
#F6F4F4
surface
#EBE6E7
border
#C6C2C3
text
#060002
muted
#7A7778

Preview Lab

Preview with #2B0412

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

Preview Lab → · Contrast checker → · Palette generator →

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