#2A011F#2A011F

#2A011F is a very dark, moderate pink. Relative luminance 0.006; OKLCH L 19.4% C 0.081 H 341.0°. Best body text is #FFFFFF at 18.71:1 contrast (WCAG AA passes).

Color values

HEX#2A011F
RGBrgb(42, 1, 31)
HSLhsl(316, 95%, 8%)
HSVhsv(316, 98%, 16%)
CMYKcmyk(0%, 97.6%, 26.2%, 83.5%)
CIE-LABlab(5.54, 24.02, -9.16)
CIE-LCHlch(5.54, 25.70, 339.12°)
OKLaboklab(19.38% 0.0762 -0.0262)
OKLCHoklch(19.38% 0.081 341)
XYZxyz(1.2131, 0.6130, 1.3505)
Luminance0.0061 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A011F #012A0C
analogous
#20012A #2A011F #2A010A
triadic
#2A011F #1F2A01 #011F2A
tetradic
#2A011F #2A2001 #012A0C #010A2A
square
#2A011F #2A2001 #012A0C #010A2A
split-complementary
#2A011F #0A2A01 #012A20
monochromatic
#1E0116 #1E0116 #2A011F #66024B #A20477

Accessibility & contrast

On white

18.71
#2A011F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A011F
18.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A011F#FFFFFF#000000##FFFFFF
##2A011F1.0018.711.1218.71
#FFFFFF18.711.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#030E20
Deuteranopia (green-blind)
#11151E
Tritanopia (blue-blind)
#2D020E
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #2a011f;
/* rgb */ color: rgb(42, 1, 31);
/* oklch */ color: oklch(19.4% 0.081 341.0);
Tailwind
colors: {
  custom: {
    50: '#65465a',
    500: '#2a011f',
    950: '#000000',
  },
}
SCSS
$custom: #2a011f;
$custom-light: #65465a;
$custom-dark: #000000;
JSON
{
  "hex": "#2a011f",
  "rgb": {
    "r": 42,
    "g": 1,
    "b": 31
  },
  "hsl": {
    "h": 316.098,
    "s": 95.349,
    "l": 8.431
  },
  "oklch": {
    "l": 0.1938,
    "c": 0.08058,
    "h": 341
  },
  "luminance": 0.00613
}

Semantic roles & 50–950 ramp

primary
#2A011F
secondary
#16702F
accent
#FF6229
background
#F6F4F5
surface
#EBE6E9
border
#C6C2C5
text
#060003
muted
#7A7778

Preview Lab

Preview with #2A011F

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

Preview Lab → · Contrast checker → · Palette generator →

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