#2A011C#2A011C

#2A011C is a very dark, moderate pink. Relative luminance 0.006; OKLCH L 19.2% C 0.078 H 345.0°. Best body text is #FFFFFF at 18.76:1 contrast (WCAG AA passes).

Color values

HEX#2A011C
RGBrgb(42, 1, 28)
HSLhsl(320, 95%, 8%)
HSVhsv(320, 98%, 16%)
CMYKcmyk(0%, 97.6%, 33.3%, 83.5%)
CIE-LABlab(5.40, 23.38, -7.01)
CIE-LCHlch(5.40, 24.41, 343.32°)
OKLaboklab(19.2% 0.0757 -0.0203)
OKLCHoklch(19.2% 0.078 345)
XYZxyz(1.1754, 0.5979, 1.1519)
Luminance0.0060 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A011C #012A0F
analogous
#23012A #2A011C #2A0107
triadic
#2A011C #1C2A01 #011C2A
tetradic
#2A011C #2A2301 #012A0F #01072A
square
#2A011C #2A2301 #012A0F #01072A
split-complementary
#2A011C #072A01 #012A23
monochromatic
#1E0114 #1E0114 #2A011C #660244 #A2046C

Accessibility & contrast

On white

18.76
#2A011C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A011C
18.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A011C#FFFFFF#000000##FFFFFF
##2A011C1.0018.761.1218.76
#FFFFFF18.761.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#050D1D
Deuteranopia (green-blind)
#12141B
Tritanopia (blue-blind)
#2E010D
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #2a011c;
/* rgb */ color: rgb(42, 1, 28);
/* oklch */ color: oklch(19.2% 0.078 345.0);
Tailwind
colors: {
  custom: {
    50: '#654658',
    500: '#2a011c',
    950: '#000000',
  },
}
SCSS
$custom: #2a011c;
$custom-light: #654658;
$custom-dark: #000000;
JSON
{
  "hex": "#2a011c",
  "rgb": {
    "r": 42,
    "g": 1,
    "b": 28
  },
  "hsl": {
    "h": 320.488,
    "s": 95.349,
    "l": 8.431
  },
  "oklch": {
    "l": 0.19197,
    "c": 0.07839,
    "h": 345
  },
  "luminance": 0.00598
}

Semantic roles & 50–950 ramp

primary
#2A011C
secondary
#167035
accent
#FF7229
background
#F6F4F5
surface
#EBE6E9
border
#C6C2C5
text
#060003
muted
#7A7778

Preview Lab

Preview with #2A011C

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

Preview Lab → · Contrast checker → · Palette generator →

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