#2B0717#2B0717

#2B0717 is a very dark, moderate pink. Relative luminance 0.007; OKLCH L 20.2% C 0.063 H 356.7°. Best body text is #FFFFFF at 18.33:1 contrast (WCAG AA passes).

Color values

HEX#2B0717
RGBrgb(43, 7, 23)
HSLhsl(333, 72%, 10%)
HSVhsv(333, 84%, 17%)
CMYKcmyk(0%, 83.7%, 46.5%, 83.1%)
CIE-LABlab(6.57, 20.00, -1.35)
CIE-LCHlch(6.57, 20.04, 356.15°)
OKLaboklab(20.2% 0.0625 -0.0036)
OKLCHoklch(20.2% 0.063 356.7)
XYZxyz(1.2270, 0.7276, 0.8863)
Luminance0.0073 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B0717 #072B1B
analogous
#2B0729 #2B0717 #2B0907
triadic
#2B0717 #172B07 #07172B
tetradic
#2B0717 #292B07 #072B1B #09072B
square
#2B0717 #292B07 #072B1B #09072B
split-complementary
#2B0717 #072B09 #07292B
monochromatic
#1A040E #1A040E #2B0717 #601033 #94184F

Accessibility & contrast

On white

18.33
#2B0717 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B0717
18.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B0717#FFFFFF#000000##FFFFFF
##2B07171.0018.331.1518.33
#FFFFFF18.331.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D1017
Deuteranopia (green-blind)
#171716
Tritanopia (blue-blind)
#2F040D
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #2b0717;
/* rgb */ color: rgb(43, 7, 23);
/* oklch */ color: oklch(20.2% 0.063 356.7);
Tailwind
colors: {
  custom: {
    50: '#664953',
    500: '#2b0717',
    950: '#000000',
  },
}
SCSS
$custom: #2b0717;
$custom-light: #664953;
$custom-dark: #000000;
JSON
{
  "hex": "#2b0717",
  "rgb": {
    "r": 43,
    "g": 7,
    "b": 23
  },
  "hsl": {
    "h": 333.333,
    "s": 72,
    "l": 9.804
  },
  "oklch": {
    "l": 0.20198,
    "c": 0.06261,
    "h": 356.7
  },
  "luminance": 0.00727
}

Semantic roles & 50–950 ramp

primary
#2B0717
secondary
#236B4B
accent
#EF9E39
background
#F6F4F4
surface
#EBE7E7
border
#C6C3C3
text
#060102
muted
#7A7778

Preview Lab

Preview with #2B0717

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

Preview Lab → · Contrast checker → · Palette generator →

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