#2A0B22#2A0B22

#2A0B22 is a very dark, moderate pink. Relative luminance 0.008; OKLCH L 21.2% C 0.062 H 338.9°. Best body text is #FFFFFF at 17.96:1 contrast (WCAG AA passes).

Color values

HEX#2A0B22
RGBrgb(42, 11, 34)
HSLhsl(315, 58%, 10%)
HSVhsv(315, 74%, 16%)
CMYKcmyk(0%, 73.8%, 19%, 83.5%)
CIE-LABlab(7.65, 19.53, -8.26)
CIE-LCHlch(7.65, 21.21, 337.09°)
OKLaboklab(21.19% 0.0577 -0.0223)
OKLCHoklch(21.19% 0.062 338.9)
XYZxyz(1.3633, 0.8472, 1.6048)
Luminance0.0085 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A0B22 #0B2A13
analogous
#220B2A #2A0B22 #2A0B12
triadic
#2A0B22 #222A0B #0B222A
tetradic
#2A0B22 #2A220B #0B2A13 #0B122A
square
#2A0B22 #2A220B #0B2A13 #0B122A
split-complementary
#2A0B22 #122A0B #0B2A22
monochromatic
#180614 #180614 #2A0B22 #5A1849 #8B2471

Accessibility & contrast

On white

17.96
#2A0B22 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#2A0B22 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A0B22
17.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A0B22#FFFFFF#000000##FFFFFF
##2A0B221.0017.961.1717.96
#FFFFFF17.961.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C1423
Deuteranopia (green-blind)
#151921
Tritanopia (blue-blind)
#2D0C15
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #2a0b22;
/* rgb */ color: rgb(42, 11, 34);
/* oklch */ color: oklch(21.2% 0.062 338.9);
Tailwind
colors: {
  custom: {
    50: '#654c5d',
    500: '#2a0b22',
    950: '#000000',
  },
}
SCSS
$custom: #2a0b22;
$custom-light: #654c5d;
$custom-dark: #000000;
JSON
{
  "hex": "#2a0b22",
  "rgb": {
    "r": 42,
    "g": 11,
    "b": 34
  },
  "hsl": {
    "h": 315.484,
    "s": 58.491,
    "l": 10.392
  },
  "oklch": {
    "l": 0.21192,
    "c": 0.06182,
    "h": 338.9
  },
  "luminance": 0.00847
}

Semantic roles & 50–950 ramp

primary
#2A0B22
secondary
#2B663A
accent
#E26E46
background
#F6F4F5
surface
#EBE7E9
border
#C6C3C5
text
#060104
muted
#7A7779

Preview Lab

Preview with #2A0B22

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

Preview Lab → · Contrast checker → · Palette generator →

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