#2B0217#2B0217

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

Color values

HEX#2B0217
RGBrgb(43, 2, 23)
HSLhsl(329, 91%, 9%)
HSVhsv(329, 95%, 17%)
CMYKcmyk(0%, 95.3%, 46.5%, 83.1%)
CIE-LABlab(5.59, 22.47, -2.78)
CIE-LCHlch(5.59, 22.64, 352.95°)
OKLaboklab(19.34% 0.0731 -0.0083)
OKLCHoklch(19.34% 0.074 353.5)
XYZxyz(1.1727, 0.6190, 0.8682)
Luminance0.0062 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B0217 #022B16
analogous
#2B022B #2B0217 #2B0203
triadic
#2B0217 #172B02 #02172B
tetradic
#2B0217 #2B2B02 #022B16 #02032B
square
#2B0217 #2B2B02 #022B16 #02032B
split-complementary
#2B0217 #032B02 #022B2B
monochromatic
#1D0110 #1D0110 #2B0217 #650536 #A00756

Accessibility & contrast

On white

18.69
#2B0217 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B0217
18.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B0217#FFFFFF#000000##FFFFFF
##2B02171.0018.691.1218.69
#FFFFFF18.691.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#080D18
Deuteranopia (green-blind)
#151516
Tritanopia (blue-blind)
#2F000A
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #2b0217;
/* rgb */ color: rgb(43, 2, 23);
/* oklch */ color: oklch(19.3% 0.074 353.5);
Tailwind
colors: {
  custom: {
    50: '#674753',
    500: '#2b0217',
    950: '#000000',
  },
}
SCSS
$custom: #2b0217;
$custom-light: #674753;
$custom-dark: #000000;
JSON
{
  "hex": "#2b0217",
  "rgb": {
    "r": 43,
    "g": 2,
    "b": 23
  },
  "hsl": {
    "h": 329.268,
    "s": 91.111,
    "l": 8.824
  },
  "oklch": {
    "l": 0.19335,
    "c": 0.07353,
    "h": 353.5
  },
  "luminance": 0.00619
}

Semantic roles & 50–950 ramp

primary
#2B0217
secondary
#197043
accent
#FF9129
background
#F6F4F4
surface
#EBE6E7
border
#C6C2C3
text
#060002
muted
#7A7778

Preview Lab

Preview with #2B0217

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

Preview Lab → · Contrast checker → · Palette generator →

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