#2A020E#2A020E

#2A020E is a very dark, moderate pink. Relative luminance 0.006; OKLCH L 18.7% C 0.069 H 6.7°. Best body text is #FFFFFF at 18.86:1 contrast (WCAG AA passes).

Color values

HEX#2A020E
RGBrgb(42, 2, 14)
HSLhsl(342, 91%, 9%)
HSVhsv(342, 95%, 16%)
CMYKcmyk(0%, 95.2%, 66.7%, 83.5%)
CIE-LABlab(5.13, 20.50, 2.13)
CIE-LCHlch(5.13, 20.61, 5.92°)
OKLaboklab(18.73% 0.0683 0.0081)
OKLCHoklch(18.73% 0.069 6.7)
XYZxyz(1.0559, 0.5675, 0.4693)
Luminance0.0057 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A020E #022A1E
analogous
#2A0222 #2A020E #2A0A02
triadic
#2A020E #0E2A02 #020E2A
tetradic
#2A020E #222A02 #022A1E #0A022A
square
#2A020E #222A02 #022A1E #0A022A
split-complementary
#2A020E #022A0A #02222A
monochromatic
#1D010A #1D010A #2A020E #640521 #9F0835

Accessibility & contrast

On white

18.86
#2A020E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A020E
18.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A020E#FFFFFF#000000##FFFFFF
##2A020E1.0018.861.1118.86
#FFFFFF18.861.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B0C0E
Deuteranopia (green-blind)
#16140D
Tritanopia (blue-blind)
#2F0006
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #2a020e;
/* rgb */ color: rgb(42, 2, 14);
/* oklch */ color: oklch(18.7% 0.069 6.7);
Tailwind
colors: {
  custom: {
    50: '#66474d',
    500: '#2a020e',
    950: '#000000',
  },
}
SCSS
$custom: #2a020e;
$custom-light: #66474d;
$custom-dark: #000000;
JSON
{
  "hex": "#2a020e",
  "rgb": {
    "r": 42,
    "g": 2,
    "b": 14
  },
  "hsl": {
    "h": 342,
    "s": 90.909,
    "l": 8.627
  },
  "oklch": {
    "l": 0.18731,
    "c": 0.06881,
    "h": 6.7
  },
  "luminance": 0.00567
}

Semantic roles & 50–950 ramp

primary
#2A020E
secondary
#196F55
accent
#FFBF29
background
#F6F4F4
surface
#EBE6E7
border
#C6C2C3
text
#060001
muted
#7A7777

Preview Lab

Preview with #2A020E

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

Preview Lab → · Contrast checker → · Palette generator →

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