#2B0023#2B0023

#2B0023 is a very dark, moderate pink. Relative luminance 0.006; OKLCH L 19.7% C 0.087 H 337.0°. Best body text is #FFFFFF at 18.63:1 contrast (WCAG AA passes).

Color values

HEX#2B0023
RGBrgb(43, 0, 35)
HSLhsl(311, 100%, 8%)
HSVhsv(311, 100%, 17%)
CMYKcmyk(0%, 100%, 18.6%, 83.1%)
CIE-LABlab(5.74, 25.87, -11.95)
CIE-LCHlch(5.74, 28.50, 335.20°)
OKLaboklab(19.69% 0.0798 -0.0338)
OKLCHoklch(19.69% 0.087 337)
XYZxyz(1.2997, 0.6351, 1.6439)
Luminance0.0063 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B0023 #002B08
analogous
#1D002B #2B0023 #2B000D
triadic
#2B0023 #232B00 #00232B
tetradic
#2B0023 #2B1D00 #002B08 #000D2B
square
#2B0023 #2B1D00 #002B08 #000D2B
split-complementary
#2B0023 #0D2B00 #002B1D
monochromatic
#1F0019 #1F0019 #2B0023 #680055 #A50087

Accessibility & contrast

On white

18.63
#2B0023 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B0023
18.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B0023#FFFFFF#000000##FFFFFF
##2B00231.0018.631.1318.63
#FFFFFF18.631.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#010E24
Deuteranopia (green-blind)
#101522
Tritanopia (blue-blind)
#2E0210
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #2b0023;
/* rgb */ color: rgb(43, 0, 35);
/* oklch */ color: oklch(19.7% 0.087 337.0);
Tailwind
colors: {
  custom: {
    50: '#66465e',
    500: '#2b0023',
    950: '#000000',
  },
}
SCSS
$custom: #2b0023;
$custom-light: #66465e;
$custom-dark: #000000;
JSON
{
  "hex": "#2b0023",
  "rgb": {
    "r": 43,
    "g": 0,
    "b": 35
  },
  "hsl": {
    "h": 311.163,
    "s": 100,
    "l": 8.431
  },
  "oklch": {
    "l": 0.19686,
    "c": 0.08671,
    "h": 337
  },
  "luminance": 0.00635
}

Semantic roles & 50–950 ramp

primary
#2B0023
secondary
#147326
accent
#FF5129
background
#F6F4F5
surface
#EBE6E9
border
#C6C2C5
text
#060004
muted
#7A7779

Preview Lab

Preview with #2B0023

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

Preview Lab → · Contrast checker → · Palette generator →

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