#2B0118#2B0118

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

Color values

HEX#2B0118
RGBrgb(43, 1, 24)
HSLhsl(327, 95%, 9%)
HSVhsv(327, 98%, 17%)
CMYKcmyk(0%, 97.7%, 44.2%, 83.1%)
CIE-LABlab(5.43, 23.14, -3.77)
CIE-LCHlch(5.43, 23.44, 350.75°)
OKLaboklab(19.2% 0.0757 -0.0112)
OKLCHoklch(19.2% 0.077 351.6)
XYZxyz(1.1721, 0.6014, 0.9183)
Luminance0.0060 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B0118 #012B14
analogous
#29012B #2B0118 #2B0103
triadic
#2B0118 #182B01 #01182B
tetradic
#2B0118 #2B2901 #012B14 #01032B
square
#2B0118 #2B2901 #012B14 #01032B
split-complementary
#2B0118 #032B01 #012B29
monochromatic
#1E0111 #1E0111 #2B0118 #670239 #A3045B

Accessibility & contrast

On white

18.75
#2B0118 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B0118
18.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B0118#FFFFFF#000000##FFFFFF
##2B01181.0018.751.1218.75
#FFFFFF18.751.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.751.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2b0118;
/* rgb */ color: rgb(43, 1, 24);
/* oklch */ color: oklch(19.2% 0.077 351.6);
Tailwind
colors: {
  custom: {
    50: '#674654',
    500: '#2b0118',
    950: '#000000',
  },
}
SCSS
$custom: #2b0118;
$custom-light: #674654;
$custom-dark: #000000;
JSON
{
  "hex": "#2b0118",
  "rgb": {
    "r": 43,
    "g": 1,
    "b": 24
  },
  "hsl": {
    "h": 327.143,
    "s": 95.455,
    "l": 8.627
  },
  "oklch": {
    "l": 0.19203,
    "c": 0.07653,
    "h": 351.6
  },
  "luminance": 0.00601
}

Semantic roles & 50–950 ramp

primary
#2B0118
secondary
#177140
accent
#FF8A29
background
#F6F4F4
surface
#EBE6E7
border
#C6C2C3
text
#060002
muted
#7A7778

Preview Lab

Preview with #2B0118

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

Preview Lab → · Contrast checker → · Palette generator →

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