#2A011A#2A011A

#2A011A is a very dark, moderate pink. Relative luminance 0.006; OKLCH L 19.1% C 0.077 H 347.8°. Best body text is #FFFFFF at 18.79:1 contrast (WCAG AA passes).

Color values

HEX#2A011A
RGBrgb(42, 1, 26)
HSLhsl(323, 95%, 8%)
HSVhsv(323, 98%, 16%)
CMYKcmyk(0%, 97.6%, 38.1%, 83.5%)
CIE-LABlab(5.32, 22.97, -5.54)
CIE-LCHlch(5.32, 23.63, 346.43°)
OKLaboklab(19.08% 0.0753 -0.0163)
OKLCHoklch(19.08% 0.077 347.8)
XYZxyz(1.1522, 0.5887, 1.0300)
Luminance0.0059 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A011A #012A11
analogous
#25012A #2A011A #2A0105
triadic
#2A011A #1A2A01 #011A2A
tetradic
#2A011A #2A2501 #012A11 #01052A
square
#2A011A #2A2501 #012A11 #01052A
split-complementary
#2A011A #052A01 #012A25
monochromatic
#1E0113 #1E0113 #2A011A #66023F #A20464

Accessibility & contrast

On white

18.79
#2A011A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.12
#2A011A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A011A
18.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A011A#FFFFFF#000000##FFFFFF
##2A011A1.0018.791.1218.79
#FFFFFF18.791.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#060D1B
Deuteranopia (green-blind)
#131419
Tritanopia (blue-blind)
#2E000B
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #2a011a;
/* rgb */ color: rgb(42, 1, 26);
/* oklch */ color: oklch(19.1% 0.077 347.8);
Tailwind
colors: {
  custom: {
    50: '#654656',
    500: '#2a011a',
    950: '#000000',
  },
}
SCSS
$custom: #2a011a;
$custom-light: #654656;
$custom-dark: #000000;
JSON
{
  "hex": "#2a011a",
  "rgb": {
    "r": 42,
    "g": 1,
    "b": 26
  },
  "hsl": {
    "h": 323.415,
    "s": 95.349,
    "l": 8.431
  },
  "oklch": {
    "l": 0.19083,
    "c": 0.07702,
    "h": 347.8
  },
  "luminance": 0.00589
}

Semantic roles & 50–950 ramp

primary
#2A011A
secondary
#16703A
accent
#FF7C29
background
#F6F4F5
surface
#EBE6E9
border
#C6C2C5
text
#060003
muted
#7A7778

Preview Lab

Preview with #2A011A

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

Preview Lab → · Contrast checker → · Palette generator →

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