#2B1017#2B1017

#2B1017 is a very dark, muted pink. Relative luminance 0.009; OKLCH L 21.7% C 0.046 H 5.2°. Best body text is #FFFFFF at 17.66:1 contrast (WCAG AA passes).

Color values

HEX#2B1017
RGBrgb(43, 16, 23)
HSLhsl(344, 46%, 12%)
HSVhsv(344, 63%, 17%)
CMYKcmyk(0%, 62.8%, 46.5%, 83.1%)
CIE-LABlab(8.54, 14.92, 1.52)
CIE-LCHlch(8.54, 15.00, 5.81°)
OKLaboklab(21.73% 0.0454 0.0041)
OKLCHoklch(21.73% 0.046 5.2)
XYZxyz(1.3363, 0.9462, 0.9227)
Luminance0.0095 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B1017 #102B24
analogous
#2B1025 #2B1017 #2B1710
triadic
#2B1017 #172B10 #10172B
tetradic
#2B1017 #252B10 #102B24 #17102B
square
#2B1017 #252B10 #102B24 #17102B
split-complementary
#2B1017 #102B17 #10252B
monochromatic
#16080C #16080C #2B1017 #58212F #843147

Accessibility & contrast

On white

17.66
#2B1017 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.19
#2B1017 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B1017
17.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B1017#FFFFFF#000000##FFFFFF
##2B10171.0017.661.1917.66
#FFFFFF17.661.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#151517
Deuteranopia (green-blind)
#1C1B16
Tritanopia (blue-blind)
#2F0D13
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #2b1017;
/* rgb */ color: rgb(43, 16, 23);
/* oklch */ color: oklch(21.7% 0.046 5.2);
Tailwind
colors: {
  custom: {
    50: '#664f53',
    500: '#2b1017',
    950: '#000000',
  },
}
SCSS
$custom: #2b1017;
$custom-light: #664f53;
$custom-dark: #000000;
JSON
{
  "hex": "#2b1017",
  "rgb": {
    "r": 43,
    "g": 16,
    "b": 23
  },
  "hsl": {
    "h": 344.444,
    "s": 45.763,
    "l": 11.569
  },
  "oklch": {
    "l": 0.21733,
    "c": 0.04554,
    "h": 5.2
  },
  "luminance": 0.00946
}

Semantic roles & 50–950 ramp

primary
#2B1017
secondary
#336457
accent
#D5B352
background
#F6F4F4
surface
#EBE7E7
border
#C6C3C3
text
#060202
muted
#7A7878

Preview Lab

Preview with #2B1017

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

Preview Lab → · Contrast checker → · Palette generator →

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