#2B0223#2B0223

#2B0223 is a very dark, moderate pink. Relative luminance 0.007; OKLCH L 20.0% C 0.082 H 337.2°. Best body text is #FFFFFF at 18.49:1 contrast (WCAG AA passes).

Color values

HEX#2B0223
RGBrgb(43, 2, 35)
HSLhsl(312, 91%, 9%)
HSVhsv(312, 95%, 17%)
CMYKcmyk(0%, 95.3%, 18.6%, 83.1%)
CIE-LABlab(6.13, 24.84, -11.35)
CIE-LCHlch(6.13, 27.31, 335.44°)
OKLaboklab(20.03% 0.0756 -0.0317)
OKLCHoklch(20.03% 0.082 337.2)
XYZxyz(1.3214, 0.6785, 1.6512)
Luminance0.0068 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B0223 #022B0A
analogous
#1F022B #2B0223 #2B020F
triadic
#2B0223 #232B02 #02232B
tetradic
#2B0223 #2B1F02 #022B0A #020F2B
square
#2B0223 #2B1F02 #022B0A #020F2B
split-complementary
#2B0223 #0F2B02 #022B1F
monochromatic
#1D0118 #1D0118 #2B0223 #650553 #A00782

Accessibility & contrast

On white

18.49
#2B0223 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.14
#2B0223 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B0223
18.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B0223#FFFFFF#000000##FFFFFF
##2B02231.0018.491.1418.49
#FFFFFF18.491.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#030F24
Deuteranopia (green-blind)
#111622
Tritanopia (blue-blind)
#2E0411
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #2b0223;
/* rgb */ color: rgb(43, 2, 35);
/* oklch */ color: oklch(20.0% 0.082 337.2);
Tailwind
colors: {
  custom: {
    50: '#66475e',
    500: '#2b0223',
    950: '#000000',
  },
}
SCSS
$custom: #2b0223;
$custom-light: #66475e;
$custom-dark: #000000;
JSON
{
  "hex": "#2b0223",
  "rgb": {
    "r": 43,
    "g": 2,
    "b": 35
  },
  "hsl": {
    "h": 311.707,
    "s": 91.111,
    "l": 8.824
  },
  "oklch": {
    "l": 0.20027,
    "c": 0.082,
    "h": 337.2
  },
  "luminance": 0.00678
}

Semantic roles & 50–950 ramp

primary
#2B0223
secondary
#19702A
accent
#FF5329
background
#F6F4F5
surface
#EBE6E9
border
#C6C2C5
text
#060004
muted
#7A7779

Preview Lab

Preview with #2B0223

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

Preview Lab → · Contrast checker → · Palette generator →

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