#2B0123#2B0123

#2B0123 is a very dark, moderate pink. Relative luminance 0.007; OKLCH L 19.9% C 0.084 H 337.1°. Best body text is #FFFFFF at 18.56:1 contrast (WCAG AA passes).

Color values

HEX#2B0123
RGBrgb(43, 1, 35)
HSLhsl(311, 95%, 9%)
HSVhsv(311, 98%, 17%)
CMYKcmyk(0%, 97.7%, 18.6%, 83.1%)
CIE-LABlab(5.93, 25.36, -11.65)
CIE-LCHlch(5.93, 27.91, 335.32°)
OKLaboklab(19.86% 0.0777 -0.0328)
OKLCHoklch(19.86% 0.084 337.1)
XYZxyz(1.3105, 0.6568, 1.6475)
Luminance0.0066 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B0123 #012B09
analogous
#1E012B #2B0123 #2B010E
triadic
#2B0123 #232B01 #01232B
tetradic
#2B0123 #2B1E01 #012B09 #010E2B
square
#2B0123 #2B1E01 #012B09 #010E2B
split-complementary
#2B0123 #0E2B01 #012B1E
monochromatic
#1E0118 #1E0118 #2B0123 #670254 #A30484

Accessibility & contrast

On white

18.56
#2B0123 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B0123
18.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B0123#FFFFFF#000000##FFFFFF
##2B01231.0018.561.1318.56
#FFFFFF18.561.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#020F24
Deuteranopia (green-blind)
#101622
Tritanopia (blue-blind)
#2E0311
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #2b0123;
/* rgb */ color: rgb(43, 1, 35);
/* oklch */ color: oklch(19.9% 0.084 337.1);
Tailwind
colors: {
  custom: {
    50: '#66465e',
    500: '#2b0123',
    950: '#000000',
  },
}
SCSS
$custom: #2b0123;
$custom-light: #66465e;
$custom-dark: #000000;
JSON
{
  "hex": "#2b0123",
  "rgb": {
    "r": 43,
    "g": 1,
    "b": 35
  },
  "hsl": {
    "h": 311.429,
    "s": 95.455,
    "l": 8.627
  },
  "oklch": {
    "l": 0.19858,
    "c": 0.08432,
    "h": 337.1
  },
  "luminance": 0.00657
}

Semantic roles & 50–950 ramp

primary
#2B0123
secondary
#177128
accent
#FF5229
background
#F6F4F5
surface
#EBE6E9
border
#C6C2C5
text
#060004
muted
#7A7779

Preview Lab

Preview with #2B0123

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

Preview Lab → · Contrast checker → · Palette generator →

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