#2A010C#2A010C

#2A010C is a very dark, moderate pink. Relative luminance 0.005; OKLCH L 18.5% C 0.071 H 8.8°. Best body text is #FFFFFF at 18.95:1 contrast (WCAG AA passes).

Color values

HEX#2A010C
RGBrgb(42, 1, 12)
HSLhsl(344, 95%, 8%)
HSVhsv(344, 98%, 16%)
CMYKcmyk(0%, 97.6%, 71.4%, 83.5%)
CIE-LABlab(4.88, 20.71, 2.73)
CIE-LCHlch(4.88, 20.89, 7.51°)
OKLaboklab(18.47% 0.0699 0.0108)
OKLCHoklch(18.47% 0.071 8.8)
XYZxyz(1.0322, 0.5407, 0.3978)
Luminance0.0054 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A010C #012A1F
analogous
#2A0120 #2A010C #2A0A01
triadic
#2A010C #0C2A01 #010C2A
tetradic
#2A010C #202A01 #012A1F #0A012A
square
#2A010C #202A01 #012A1F #0A012A
split-complementary
#2A010C #012A0A #01202A
monochromatic
#1E0109 #1E0109 #2A010C #66021D #A2042E

Accessibility & contrast

On white

18.95
#2A010C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A010C
18.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A010C#FFFFFF#000000##FFFFFF
##2A010C1.0018.951.1118.95
#FFFFFF18.951.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A0B0C
Deuteranopia (green-blind)
#16140B
Tritanopia (blue-blind)
#2F0005
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #2a010c;
/* rgb */ color: rgb(42, 1, 12);
/* oklch */ color: oklch(18.5% 0.071 8.8);
Tailwind
colors: {
  custom: {
    50: '#66464c',
    500: '#2a010c',
    950: '#000000',
  },
}
SCSS
$custom: #2a010c;
$custom-light: #66464c;
$custom-dark: #000000;
JSON
{
  "hex": "#2a010c",
  "rgb": {
    "r": 42,
    "g": 1,
    "b": 12
  },
  "hsl": {
    "h": 343.902,
    "s": 95.349,
    "l": 8.431
  },
  "oklch": {
    "l": 0.18467,
    "c": 0.0707,
    "h": 8.8
  },
  "luminance": 0.0054
}

Semantic roles & 50–950 ramp

primary
#2A010C
secondary
#167058
accent
#FFC629
background
#F6F3F4
surface
#EBE5E7
border
#C6C1C3
text
#060001
muted
#7A7677

Preview Lab

Preview with #2A010C

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

Preview Lab → · Contrast checker → · Palette generator →

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