#2B0317#2B0317

#2B0317 is a very dark, moderate pink. Relative luminance 0.006; OKLCH L 19.5% C 0.071 H 354.1°. Best body text is #FFFFFF at 18.61:1 contrast (WCAG AA passes).

Color values

HEX#2B0317
RGBrgb(43, 3, 23)
HSLhsl(330, 87%, 9%)
HSVhsv(330, 93%, 17%)
CMYKcmyk(0%, 93%, 46.5%, 83.1%)
CIE-LABlab(5.79, 21.98, -2.49)
CIE-LCHlch(5.79, 22.12, 353.53°)
OKLaboklab(19.52% 0.0708 -0.0073)
OKLCHoklch(19.52% 0.071 354.1)
XYZxyz(1.1836, 0.6407, 0.8718)
Luminance0.0064 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B0317 #032B17
analogous
#2B032B #2B0317 #2B0303
triadic
#2B0317 #172B03 #03172B
tetradic
#2B0317 #2B2B03 #032B17 #03032B
square
#2B0317 #2B2B03 #032B17 #03032B
split-complementary
#2B0317 #032B03 #032B2B
monochromatic
#1D020F #1D020F #2B0317 #640736 #9D0B54

Accessibility & contrast

On white

18.61
#2B0317 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.13
#2B0317 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B0317
18.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B0317#FFFFFF#000000##FFFFFF
##2B03171.0018.611.1318.61
#FFFFFF18.611.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#090E18
Deuteranopia (green-blind)
#151616
Tritanopia (blue-blind)
#2F010B
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #2b0317;
/* rgb */ color: rgb(43, 3, 23);
/* oklch */ color: oklch(19.5% 0.071 354.1);
Tailwind
colors: {
  custom: {
    50: '#674753',
    500: '#2b0317',
    950: '#000000',
  },
}
SCSS
$custom: #2b0317;
$custom-light: #674753;
$custom-dark: #000000;
JSON
{
  "hex": "#2b0317",
  "rgb": {
    "r": 43,
    "g": 3,
    "b": 23
  },
  "hsl": {
    "h": 330,
    "s": 86.957,
    "l": 9.02
  },
  "oklch": {
    "l": 0.19515,
    "c": 0.07118,
    "h": 354.1
  },
  "luminance": 0.00641
}

Semantic roles & 50–950 ramp

primary
#2B0317
secondary
#1B6F45
accent
#FD942B
background
#F6F4F4
surface
#EBE6E7
border
#C6C2C3
text
#060002
muted
#7A7778

Preview Lab

Preview with #2B0317

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

Preview Lab → · Contrast checker → · Palette generator →

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