#2B010C#2B010C

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

Color values

HEX#2B010C
RGBrgb(43, 1, 12)
HSLhsl(344, 95%, 9%)
HSVhsv(344, 98%, 17%)
CMYKcmyk(0%, 97.7%, 72.1%, 83.1%)
CIE-LABlab(5.08, 21.34, 3.04)
CIE-LCHlch(5.08, 21.55, 8.10°)
OKLaboklab(18.71% 0.0707 0.0118)
OKLCHoklch(18.71% 0.072 9.5)
XYZxyz(1.0736, 0.5620, 0.3997)
Luminance0.0056 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B010C #012B20
analogous
#2B0121 #2B010C #2B0B01
triadic
#2B010C #0C2B01 #010C2B
tetradic
#2B010C #212B01 #012B20 #0B012B
square
#2B010C #212B01 #012B20 #0B012B
split-complementary
#2B010C #012B0B #01212B
monochromatic
#1E0108 #1E0108 #2B010C #67021D #A3042D

Accessibility & contrast

On white

18.88
#2B010C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B010C
18.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B010C#FFFFFF#000000##FFFFFF
##2B010C1.0018.881.1118.88
#FFFFFF18.881.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B0B0C
Deuteranopia (green-blind)
#17140B
Tritanopia (blue-blind)
#300005
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #2b010c;
/* rgb */ color: rgb(43, 1, 12);
/* oklch */ color: oklch(18.7% 0.072 9.5);
Tailwind
colors: {
  custom: {
    50: '#67464c',
    500: '#2b010c',
    950: '#000000',
  },
}
SCSS
$custom: #2b010c;
$custom-light: #67464c;
$custom-dark: #000000;
JSON
{
  "hex": "#2b010c",
  "rgb": {
    "r": 43,
    "g": 1,
    "b": 12
  },
  "hsl": {
    "h": 344.286,
    "s": 95.455,
    "l": 8.627
  },
  "oklch": {
    "l": 0.18707,
    "c": 0.07172,
    "h": 9.5
  },
  "luminance": 0.00562
}

Semantic roles & 50–950 ramp

primary
#2B010C
secondary
#17715A
accent
#FFC729
background
#F6F4F4
surface
#EBE6E7
border
#C6C2C3
text
#060001
muted
#7A7777

Preview Lab

Preview with #2B010C

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

Preview Lab → · Contrast checker → · Palette generator →

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