#2B0117#2B0117

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

Color values

HEX#2B0117
RGBrgb(43, 1, 23)
HSLhsl(329, 95%, 9%)
HSVhsv(329, 98%, 17%)
CMYKcmyk(0%, 97.7%, 46.5%, 83.1%)
CIE-LABlab(5.40, 22.96, -3.06)
CIE-LCHlch(5.40, 23.16, 352.40°)
OKLaboklab(19.15% 0.0754 -0.0093)
OKLCHoklch(19.15% 0.076 353)
XYZxyz(1.1619, 0.5973, 0.8646)
Luminance0.0060 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B0117 #012B15
analogous
#2A012B #2B0117 #2B0102
triadic
#2B0117 #172B01 #01172B
tetradic
#2B0117 #2B2A01 #012B15 #01022B
square
#2B0117 #2B2A01 #012B15 #01022B
split-complementary
#2B0117 #022B01 #012B2A
monochromatic
#1E0110 #1E0110 #2B0117 #670237 #A30457

Accessibility & contrast

On white

18.76
#2B0117 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.12
#2B0117 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B0117
18.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B0117#FFFFFF#000000##FFFFFF
##2B01171.0018.761.1218.76
#FFFFFF18.761.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#070D18
Deuteranopia (green-blind)
#141516
Tritanopia (blue-blind)
#2F000A
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #2b0117;
/* rgb */ color: rgb(43, 1, 23);
/* oklch */ color: oklch(19.2% 0.076 353.0);
Tailwind
colors: {
  custom: {
    50: '#674653',
    500: '#2b0117',
    950: '#000000',
  },
}
SCSS
$custom: #2b0117;
$custom-light: #674653;
$custom-dark: #000000;
JSON
{
  "hex": "#2b0117",
  "rgb": {
    "r": 43,
    "g": 1,
    "b": 23
  },
  "hsl": {
    "h": 328.571,
    "s": 95.455,
    "l": 8.627
  },
  "oklch": {
    "l": 0.19153,
    "c": 0.07596,
    "h": 353
  },
  "luminance": 0.00597
}

Semantic roles & 50–950 ramp

primary
#2B0117
secondary
#177142
accent
#FF8F29
background
#F6F4F4
surface
#EBE6E7
border
#C6C2C3
text
#060002
muted
#7A7778

Preview Lab

Preview with #2B0117

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

Preview Lab → · Contrast checker → · Palette generator →

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