#2B0222#2B0222

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

Color values

HEX#2B0222
RGBrgb(43, 2, 34)
HSLhsl(313, 91%, 9%)
HSVhsv(313, 95%, 17%)
CMYKcmyk(0%, 95.3%, 20.9%, 83.1%)
CIE-LABlab(6.08, 24.63, -10.66)
CIE-LCHlch(6.08, 26.83, 336.59°)
OKLaboklab(19.96% 0.0755 -0.0298)
OKLCHoklch(19.96% 0.081 338.5)
XYZxyz(1.3067, 0.6726, 1.5741)
Luminance0.0067 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B0222 #022B0B
analogous
#20022B #2B0222 #2B020E
triadic
#2B0222 #222B02 #02222B
tetradic
#2B0222 #2B2002 #022B0B #020E2B
square
#2B0222 #2B2002 #022B0B #020E2B
split-complementary
#2B0222 #0E2B02 #022B20
monochromatic
#1D0117 #1D0117 #2B0222 #650550 #A0077E

Accessibility & contrast

On white

18.51
#2B0222 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B0222
18.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B0222#FFFFFF#000000##FFFFFF
##2B02221.0018.511.1318.51
#FFFFFF18.511.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#030F23
Deuteranopia (green-blind)
#111621
Tritanopia (blue-blind)
#2E0311
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #2b0222;
/* rgb */ color: rgb(43, 2, 34);
/* oklch */ color: oklch(20.0% 0.081 338.5);
Tailwind
colors: {
  custom: {
    50: '#66475d',
    500: '#2b0222',
    950: '#000000',
  },
}
SCSS
$custom: #2b0222;
$custom-light: #66475d;
$custom-dark: #000000;
JSON
{
  "hex": "#2b0222",
  "rgb": {
    "r": 43,
    "g": 2,
    "b": 34
  },
  "hsl": {
    "h": 313.171,
    "s": 91.111,
    "l": 8.824
  },
  "oklch": {
    "l": 0.19962,
    "c": 0.08119,
    "h": 338.5
  },
  "luminance": 0.00673
}

Semantic roles & 50–950 ramp

primary
#2B0222
secondary
#19702C
accent
#FF5829
background
#F6F4F5
surface
#EBE6E9
border
#C6C2C5
text
#060004
muted
#7A7779

Preview Lab

Preview with #2B0222

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

Preview Lab → · Contrast checker → · Palette generator →

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