#2B0724#2B0724

#2B0724 is a very dark, moderate pink. Relative luminance 0.008; OKLCH L 20.9% C 0.072 H 336.5°. Best body text is #FFFFFF at 18.13:1 contrast (WCAG AA passes).

Color values

HEX#2B0724
RGBrgb(43, 7, 36)
HSLhsl(312, 72%, 10%)
HSVhsv(312, 84%, 17%)
CMYKcmyk(0%, 83.7%, 16.3%, 83.1%)
CIE-LABlab(7.16, 22.45, -10.52)
CIE-LCHlch(7.16, 24.80, 334.89°)
OKLaboklab(20.89% 0.0663 -0.0287)
OKLCHoklch(20.89% 0.072 336.5)
XYZxyz(1.3907, 0.7930, 1.7486)
Luminance0.0079 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B0724 #072B0E
analogous
#20072B #2B0724 #2B0712
triadic
#2B0724 #242B07 #07242B
tetradic
#2B0724 #2B2007 #072B0E #07122B
square
#2B0724 #2B2007 #072B0E #07122B
split-complementary
#2B0724 #122B07 #072B20
monochromatic
#1A0416 #1A0416 #2B0724 #601050 #94187C

Accessibility & contrast

On white

18.13
#2B0724 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#2B0724 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B0724
18.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B0724#FFFFFF#000000##FFFFFF
##2B07241.0018.131.1618.13
#FFFFFF18.131.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#081225
Deuteranopia (green-blind)
#131823
Tritanopia (blue-blind)
#2E0914
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #2b0724;
/* rgb */ color: rgb(43, 7, 36);
/* oklch */ color: oklch(20.9% 0.072 336.5);
Tailwind
colors: {
  custom: {
    50: '#664a5e',
    500: '#2b0724',
    950: '#000000',
  },
}
SCSS
$custom: #2b0724;
$custom-light: #664a5e;
$custom-dark: #000000;
JSON
{
  "hex": "#2b0724",
  "rgb": {
    "r": 43,
    "g": 7,
    "b": 36
  },
  "hsl": {
    "h": 311.667,
    "s": 72,
    "l": 9.804
  },
  "oklch": {
    "l": 0.20892,
    "c": 0.07223,
    "h": 336.5
  },
  "luminance": 0.00793
}

Semantic roles & 50–950 ramp

primary
#2B0724
secondary
#236B31
accent
#EF5C39
background
#F6F4F5
surface
#EBE7E9
border
#C6C3C5
text
#060104
muted
#7A7779

Preview Lab

Preview with #2B0724

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

Preview Lab → · Contrast checker → · Palette generator →

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