#2B0022#2B0022

#2B0022 is a very dark, moderate pink. Relative luminance 0.006; OKLCH L 19.6% C 0.086 H 338.2°. Best body text is #FFFFFF at 18.65:1 contrast (WCAG AA passes).

Color values

HEX#2B0022
RGBrgb(43, 0, 34)
HSLhsl(313, 100%, 8%)
HSVhsv(313, 100%, 17%)
CMYKcmyk(0%, 100%, 20.9%, 83.1%)
CIE-LABlab(5.68, 25.65, -11.26)
CIE-LCHlch(5.68, 28.01, 336.30°)
OKLaboklab(19.62% 0.0798 -0.0319)
OKLCHoklch(19.62% 0.086 338.2)
XYZxyz(1.2850, 0.6292, 1.5668)
Luminance0.0063 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B0022 #002B09
analogous
#1E002B #2B0022 #2B000C
triadic
#2B0022 #222B00 #00222B
tetradic
#2B0022 #2B1E00 #002B09 #000C2B
square
#2B0022 #2B1E00 #002B09 #000C2B
split-complementary
#2B0022 #0C2B00 #002B1E
monochromatic
#1F0018 #1F0018 #2B0022 #680052 #A50083

Accessibility & contrast

On white

18.65
#2B0022 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B0022
18.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B0022#FFFFFF#000000##FFFFFF
##2B00221.0018.651.1318.65
#FFFFFF18.651.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#010E23
Deuteranopia (green-blind)
#101521
Tritanopia (blue-blind)
#2E020F
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #2b0022;
/* rgb */ color: rgb(43, 0, 34);
/* oklch */ color: oklch(19.6% 0.086 338.2);
Tailwind
colors: {
  custom: {
    50: '#66465d',
    500: '#2b0022',
    950: '#000000',
  },
}
SCSS
$custom: #2b0022;
$custom-light: #66465d;
$custom-dark: #000000;
JSON
{
  "hex": "#2b0022",
  "rgb": {
    "r": 43,
    "g": 0,
    "b": 34
  },
  "hsl": {
    "h": 312.558,
    "s": 100,
    "l": 8.431
  },
  "oklch": {
    "l": 0.19618,
    "c": 0.08594,
    "h": 338.2
  },
  "luminance": 0.00629
}

Semantic roles & 50–950 ramp

primary
#2B0022
secondary
#147328
accent
#FF5629
background
#F6F4F5
surface
#EBE6E9
border
#C6C2C5
text
#060004
muted
#7A7779

Preview Lab

Preview with #2B0022

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

Preview Lab → · Contrast checker → · Palette generator →

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