#2B0218#2B0218

#2B0218 is a very dark, moderate pink. Relative luminance 0.006; OKLCH L 19.4% C 0.074 H 352.1°. Best body text is #FFFFFF at 18.67:1 contrast (WCAG AA passes).

Color values

HEX#2B0218
RGBrgb(43, 2, 24)
HSLhsl(328, 91%, 9%)
HSVhsv(328, 95%, 17%)
CMYKcmyk(0%, 95.3%, 44.2%, 83.1%)
CIE-LABlab(5.63, 22.64, -3.48)
CIE-LCHlch(5.63, 22.91, 351.25°)
OKLaboklab(19.38% 0.0734 -0.0102)
OKLCHoklch(19.38% 0.074 352.1)
XYZxyz(1.1829, 0.6231, 0.9220)
Luminance0.0062 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B0218 #022B15
analogous
#2A022B #2B0218 #2B0204
triadic
#2B0218 #182B02 #02182B
tetradic
#2B0218 #2B2A02 #022B15 #02042B
square
#2B0218 #2B2A02 #022B15 #02042B
split-complementary
#2B0218 #042B02 #022B2A
monochromatic
#1D0110 #1D0110 #2B0218 #650539 #A00759

Accessibility & contrast

On white

18.67
#2B0218 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.12
#2B0218 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B0218
18.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B0218#FFFFFF#000000##FFFFFF
##2B02181.0018.671.1218.67
#FFFFFF18.671.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#080D19
Deuteranopia (green-blind)
#151517
Tritanopia (blue-blind)
#2F000B
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #2b0218;
/* rgb */ color: rgb(43, 2, 24);
/* oklch */ color: oklch(19.4% 0.074 352.1);
Tailwind
colors: {
  custom: {
    50: '#674754',
    500: '#2b0218',
    950: '#000000',
  },
}
SCSS
$custom: #2b0218;
$custom-light: #674754;
$custom-dark: #000000;
JSON
{
  "hex": "#2b0218",
  "rgb": {
    "r": 43,
    "g": 2,
    "b": 24
  },
  "hsl": {
    "h": 327.805,
    "s": 91.111,
    "l": 8.824
  },
  "oklch": {
    "l": 0.19385,
    "c": 0.0741,
    "h": 352.1
  },
  "luminance": 0.00623
}

Semantic roles & 50–950 ramp

primary
#2B0218
secondary
#197041
accent
#FF8C29
background
#F6F4F4
surface
#EBE6E7
border
#C6C2C3
text
#060002
muted
#7A7778

Preview Lab

Preview with #2B0218

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

Preview Lab → · Contrast checker → · Palette generator →

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