#2B0518#2B0518

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

Color values

HEX#2B0518
RGBrgb(43, 5, 24)
HSLhsl(330, 79%, 9%)
HSVhsv(330, 88%, 17%)
CMYKcmyk(0%, 88.4%, 44.2%, 83.1%)
CIE-LABlab(6.22, 21.16, -2.62)
CIE-LCHlch(6.22, 21.33, 352.93°)
OKLaboklab(19.91% 0.0669 -0.0073)
OKLCHoklch(19.91% 0.067 353.7)
XYZxyz(1.2155, 0.6882, 0.9328)
Luminance0.0069 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B0518 #052B18
analogous
#2B052B #2B0518 #2B0505
triadic
#2B0518 #182B05 #05182B
tetradic
#2B0518 #2B2B05 #052B18 #05052B
square
#2B0518 #2B2B05 #052B18 #05052B
split-complementary
#2B0518 #052B05 #052B2B
monochromatic
#1B030F #1B030F #2B0518 #620B37 #991255

Accessibility & contrast

On white

18.46
#2B0518 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B0518
18.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B0518#FFFFFF#000000##FFFFFF
##2B05181.0018.461.1418.46
#FFFFFF18.461.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B0F19
Deuteranopia (green-blind)
#161617
Tritanopia (blue-blind)
#2F030D
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #2b0518;
/* rgb */ color: rgb(43, 5, 24);
/* oklch */ color: oklch(19.9% 0.067 353.7);
Tailwind
colors: {
  custom: {
    50: '#664854',
    500: '#2b0518',
    950: '#000000',
  },
}
SCSS
$custom: #2b0518;
$custom-light: #664854;
$custom-dark: #000000;
JSON
{
  "hex": "#2b0518",
  "rgb": {
    "r": 43,
    "g": 5,
    "b": 24
  },
  "hsl": {
    "h": 330,
    "s": 79.167,
    "l": 9.412
  },
  "oklch": {
    "l": 0.19909,
    "c": 0.06729,
    "h": 353.7
  },
  "luminance": 0.00688
}

Semantic roles & 50–950 ramp

primary
#2B0518
secondary
#1F6D46
accent
#F69432
background
#F6F4F4
surface
#EBE6E7
border
#C6C2C3
text
#060102
muted
#7A7778

Preview Lab

Preview with #2B0518

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

Preview Lab → · Contrast checker → · Palette generator →

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