#2B071D#2B071D

#2B071D is a very dark, moderate pink. Relative luminance 0.008; OKLCH L 20.5% C 0.066 H 346.7°. Best body text is #FFFFFF at 18.25:1 contrast (WCAG AA passes).

Color values

HEX#2B071D
RGBrgb(43, 7, 29)
HSLhsl(323, 72%, 10%)
HSVhsv(323, 84%, 17%)
CMYKcmyk(0%, 83.7%, 32.6%, 83.1%)
CIE-LABlab(6.81, 21.06, -5.66)
CIE-LCHlch(6.81, 21.80, 344.96°)
OKLaboklab(20.49% 0.0646 -0.0152)
OKLCHoklch(20.49% 0.066 346.7)
XYZxyz(1.2941, 0.7544, 1.2396)
Luminance0.0075 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B071D #072B15
analogous
#27072B #2B071D #2B070B
triadic
#2B071D #1D2B07 #071D2B
tetradic
#2B071D #2B2707 #072B15 #070B2B
square
#2B071D #2B2707 #072B15 #070B2B
split-complementary
#2B071D #0B2B07 #072B27
monochromatic
#1A0412 #1A0412 #2B071D #601040 #941864

Accessibility & contrast

On white

18.25
#2B071D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.15
#2B071D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B071D
18.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B071D#FFFFFF#000000##FFFFFF
##2B071D1.0018.251.1518.25
#FFFFFF18.251.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B111E
Deuteranopia (green-blind)
#16171C
Tritanopia (blue-blind)
#2F0610
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #2b071d;
/* rgb */ color: rgb(43, 7, 29);
/* oklch */ color: oklch(20.5% 0.066 346.7);
Tailwind
colors: {
  custom: {
    50: '#664a58',
    500: '#2b071d',
    950: '#000000',
  },
}
SCSS
$custom: #2b071d;
$custom-light: #664a58;
$custom-dark: #000000;
JSON
{
  "hex": "#2b071d",
  "rgb": {
    "r": 43,
    "g": 7,
    "b": 29
  },
  "hsl": {
    "h": 323.333,
    "s": 72,
    "l": 9.804
  },
  "oklch": {
    "l": 0.20489,
    "c": 0.0664,
    "h": 346.7
  },
  "luminance": 0.00754
}

Semantic roles & 50–950 ramp

primary
#2B071D
secondary
#236B3F
accent
#EF8039
background
#F6F4F5
surface
#EBE7E9
border
#C6C3C5
text
#060103
muted
#7A7778

Preview Lab

Preview with #2B071D

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

Preview Lab → · Contrast checker → · Palette generator →

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