#2A0116#2A0116

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

Color values

HEX#2A0116
RGBrgb(42, 1, 22)
HSLhsl(329, 95%, 8%)
HSVhsv(329, 98%, 16%)
CMYKcmyk(0%, 97.6%, 47.6%, 83.5%)
CIE-LABlab(5.17, 22.22, -2.69)
CIE-LCHlch(5.17, 22.39, 353.10°)
OKLaboklab(18.87% 0.0741 -0.0084)
OKLCHoklch(18.87% 0.075 353.5)
XYZxyz(1.1106, 0.5720, 0.8108)
Luminance0.0057 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A0116 #012A15
analogous
#29012A #2A0116 #2A0102
triadic
#2A0116 #162A01 #01162A
tetradic
#2A0116 #2A2901 #012A15 #01022A
square
#2A0116 #2A2901 #012A15 #01022A
split-complementary
#2A0116 #022A01 #012A29
monochromatic
#1E0110 #1E0110 #2A0116 #660235 #A20455

Accessibility & contrast

On white

18.84
#2A0116 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.11
#2A0116 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A0116
18.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A0116#FFFFFF#000000##FFFFFF
##2A01161.0018.841.1118.84
#FFFFFF18.841.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#070C17
Deuteranopia (green-blind)
#141415
Tritanopia (blue-blind)
#2E0009
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #2a0116;
/* rgb */ color: rgb(42, 1, 22);
/* oklch */ color: oklch(18.9% 0.075 353.5);
Tailwind
colors: {
  custom: {
    50: '#664652',
    500: '#2a0116',
    950: '#000000',
  },
}
SCSS
$custom: #2a0116;
$custom-light: #664652;
$custom-dark: #000000;
JSON
{
  "hex": "#2a0116",
  "rgb": {
    "r": 42,
    "g": 1,
    "b": 22
  },
  "hsl": {
    "h": 329.268,
    "s": 95.349,
    "l": 8.431
  },
  "oklch": {
    "l": 0.18874,
    "c": 0.07458,
    "h": 353.5
  },
  "luminance": 0.00572
}

Semantic roles & 50–950 ramp

primary
#2A0116
secondary
#167042
accent
#FF9129
background
#F6F4F4
surface
#EBE6E7
border
#C6C2C3
text
#060002
muted
#7A7778

Preview Lab

Preview with #2A0116

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

Preview Lab → · Contrast checker → · Palette generator →

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