#2A021A#2A021A

#2A021A is a very dark, moderate pink. Relative luminance 0.006; OKLCH L 19.3% C 0.075 H 348.2°. Best body text is #FFFFFF at 18.72:1 contrast (WCAG AA passes).

Color values

HEX#2A021A
RGBrgb(42, 2, 26)
HSLhsl(324, 91%, 9%)
HSVhsv(324, 95%, 16%)
CMYKcmyk(0%, 95.2%, 38.1%, 83.5%)
CIE-LABlab(5.51, 22.49, -5.25)
CIE-LCHlch(5.51, 23.09, 346.85°)
OKLaboklab(19.27% 0.073 -0.0153)
OKLCHoklch(19.27% 0.075 348.2)
XYZxyz(1.1631, 0.6104, 1.0336)
Luminance0.0061 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A021A #022A12
analogous
#26022A #2A021A #2A0206
triadic
#2A021A #1A2A02 #021A2A
tetradic
#2A021A #2A2602 #022A12 #02062A
square
#2A021A #2A2602 #022A12 #02062A
split-complementary
#2A021A #062A02 #022A26
monochromatic
#1D0112 #1D0112 #2A021A #64053E #9F0862

Accessibility & contrast

On white

18.72
#2A021A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A021A
18.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A021A#FFFFFF#000000##FFFFFF
##2A021A1.0018.721.1218.72
#FFFFFF18.721.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#070D1B
Deuteranopia (green-blind)
#131519
Tritanopia (blue-blind)
#2E010C
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #2a021a;
/* rgb */ color: rgb(42, 2, 26);
/* oklch */ color: oklch(19.3% 0.075 348.2);
Tailwind
colors: {
  custom: {
    50: '#654756',
    500: '#2a021a',
    950: '#000000',
  },
}
SCSS
$custom: #2a021a;
$custom-light: #654756;
$custom-dark: #000000;
JSON
{
  "hex": "#2a021a",
  "rgb": {
    "r": 42,
    "g": 2,
    "b": 26
  },
  "hsl": {
    "h": 324,
    "s": 90.909,
    "l": 8.627
  },
  "oklch": {
    "l": 0.19267,
    "c": 0.07453,
    "h": 348.2
  },
  "luminance": 0.0061
}

Semantic roles & 50–950 ramp

primary
#2A021A
secondary
#196F3B
accent
#FF7E29
background
#F6F4F5
surface
#EBE6E9
border
#C6C2C5
text
#060003
muted
#7A7778

Preview Lab

Preview with #2A021A

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

Preview Lab → · Contrast checker → · Palette generator →

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