#2B0512#2B0512

#2B0512 is a very dark, moderate pink. Relative luminance 0.007; OKLCH L 19.7% C 0.065 H 3.7°. Best body text is #FFFFFF at 18.53:1 contrast (WCAG AA passes).

Color values

HEX#2B0512
RGBrgb(43, 5, 18)
HSLhsl(339, 79%, 9%)
HSVhsv(339, 88%, 17%)
CMYKcmyk(0%, 88.4%, 58.1%, 83.1%)
CIE-LABlab(6.02, 20.22, 1.22)
CIE-LCHlch(6.02, 20.25, 3.46°)
OKLaboklab(19.65% 0.0644 0.0042)
OKLCHoklch(19.65% 0.065 3.7)
XYZxyz(1.1598, 0.6660, 0.6396)
Luminance0.0067 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B0512 #052B1E
analogous
#2B0525 #2B0512 #2B0B05
triadic
#2B0512 #122B05 #05122B
tetradic
#2B0512 #252B05 #052B1E #0B052B
square
#2B0512 #252B05 #052B1E #0B052B
split-complementary
#2B0512 #052B0B #05252B
monochromatic
#1B030B #1B030B #2B0512 #620B29 #991240

Accessibility & contrast

On white

18.53
#2B0512 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B0512
18.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B0512#FFFFFF#000000##FFFFFF
##2B05121.0018.531.1318.53
#FFFFFF18.531.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D0E12
Deuteranopia (green-blind)
#171611
Tritanopia (blue-blind)
#30010A
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #2b0512;
/* rgb */ color: rgb(43, 5, 18);
/* oklch */ color: oklch(19.7% 0.065 3.7);
Tailwind
colors: {
  custom: {
    50: '#674850',
    500: '#2b0512',
    950: '#000000',
  },
}
SCSS
$custom: #2b0512;
$custom-light: #674850;
$custom-dark: #000000;
JSON
{
  "hex": "#2b0512",
  "rgb": {
    "r": 43,
    "g": 5,
    "b": 18
  },
  "hsl": {
    "h": 339.474,
    "s": 79.167,
    "l": 9.412
  },
  "oklch": {
    "l": 0.19653,
    "c": 0.06453,
    "h": 3.7
  },
  "luminance": 0.00666
}

Semantic roles & 50–950 ramp

primary
#2B0512
secondary
#1F6D52
accent
#F6B332
background
#F6F4F4
surface
#EBE6E7
border
#C6C2C3
text
#060002
muted
#7A7778

Preview Lab

Preview with #2B0512

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

Preview Lab → · Contrast checker → · Palette generator →

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