#2B0517#2B0517

#2B0517 is a very dark, moderate pink. Relative luminance 0.007; OKLCH L 19.9% C 0.067 H 355.4°. Best body text is #FFFFFF at 18.47:1 contrast (WCAG AA passes).

Color values

HEX#2B0517
RGBrgb(43, 5, 23)
HSLhsl(332, 79%, 9%)
HSVhsv(332, 88%, 17%)
CMYKcmyk(0%, 88.4%, 46.5%, 83.1%)
CIE-LABlab(6.18, 21.00, -1.92)
CIE-LCHlch(6.18, 21.08, 354.78°)
OKLaboklab(19.86% 0.0665 -0.0054)
OKLCHoklch(19.86% 0.067 355.4)
XYZxyz(1.2053, 0.6841, 0.8790)
Luminance0.0068 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B0517 #052B19
analogous
#2B052A #2B0517 #2B0605
triadic
#2B0517 #172B05 #05172B
tetradic
#2B0517 #2A2B05 #052B19 #06052B
square
#2B0517 #2A2B05 #052B19 #06052B
split-complementary
#2B0517 #052B06 #052A2B
monochromatic
#1B030F #1B030F #2B0517 #620B34 #991252

Accessibility & contrast

On white

18.47
#2B0517 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.14
#2B0517 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B0517
18.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B0517#FFFFFF#000000##FFFFFF
##2B05171.0018.471.1418.47
#FFFFFF18.471.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C0F17
Deuteranopia (green-blind)
#161616
Tritanopia (blue-blind)
#2F030C
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #2b0517;
/* rgb */ color: rgb(43, 5, 23);
/* oklch */ color: oklch(19.9% 0.067 355.4);
Tailwind
colors: {
  custom: {
    50: '#664853',
    500: '#2b0517',
    950: '#000000',
  },
}
SCSS
$custom: #2b0517;
$custom-light: #664853;
$custom-dark: #000000;
JSON
{
  "hex": "#2b0517",
  "rgb": {
    "r": 43,
    "g": 5,
    "b": 23
  },
  "hsl": {
    "h": 331.579,
    "s": 79.167,
    "l": 9.412
  },
  "oklch": {
    "l": 0.19863,
    "c": 0.06674,
    "h": 355.4
  },
  "luminance": 0.00684
}

Semantic roles & 50–950 ramp

primary
#2B0517
secondary
#1F6D48
accent
#F69932
background
#F6F4F4
surface
#EBE6E7
border
#C6C2C3
text
#060102
muted
#7A7778

Preview Lab

Preview with #2B0517

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

Preview Lab → · Contrast checker → · Palette generator →

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