#2B020F#2B020F

#2B020F is a very dark, moderate pink. Relative luminance 0.006; OKLCH L 19.0% C 0.070 H 5.9°. Best body text is #FFFFFF at 18.78:1 contrast (WCAG AA passes).

Color values

HEX#2B020F
RGBrgb(43, 2, 15)
HSLhsl(341, 91%, 9%)
HSVhsv(341, 95%, 17%)
CMYKcmyk(0%, 95.3%, 65.1%, 83.1%)
CIE-LABlab(5.34, 21.24, 1.95)
CIE-LCHlch(5.34, 21.33, 5.25°)
OKLaboklab(19% 0.0698 0.0072)
OKLCHoklch(19% 0.07 5.9)
XYZxyz(1.1043, 0.5917, 0.5079)
Luminance0.0059 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B020F #022B1E
analogous
#2B0224 #2B020F #2B0A02
triadic
#2B020F #0F2B02 #020F2B
tetradic
#2B020F #242B02 #022B1E #0A022B
square
#2B020F #242B02 #022B1E #0A022B
split-complementary
#2B020F #022B0A #02242B
monochromatic
#1D010A #1D010A #2B020F #650523 #A00738

Accessibility & contrast

On white

18.78
#2B020F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B020F
18.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B020F#FFFFFF#000000##FFFFFF
##2B020F1.0018.781.1218.78
#FFFFFF18.781.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B0C0F
Deuteranopia (green-blind)
#17150E
Tritanopia (blue-blind)
#300007
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #2b020f;
/* rgb */ color: rgb(43, 2, 15);
/* oklch */ color: oklch(19.0% 0.070 5.9);
Tailwind
colors: {
  custom: {
    50: '#67474e',
    500: '#2b020f',
    950: '#000000',
  },
}
SCSS
$custom: #2b020f;
$custom-light: #67474e;
$custom-dark: #000000;
JSON
{
  "hex": "#2b020f",
  "rgb": {
    "r": 43,
    "g": 2,
    "b": 15
  },
  "hsl": {
    "h": 340.976,
    "s": 91.111,
    "l": 8.824
  },
  "oklch": {
    "l": 0.18999,
    "c": 0.07013,
    "h": 5.9
  },
  "luminance": 0.00591
}

Semantic roles & 50–950 ramp

primary
#2B020F
secondary
#197054
accent
#FFBB29
background
#F6F4F4
surface
#EBE6E7
border
#C6C2C3
text
#060001
muted
#7A7777

Preview Lab

Preview with #2B020F

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

Preview Lab → · Contrast checker → · Palette generator →

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