#2A020D#2A020D

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

Color values

HEX#2A020D
RGBrgb(42, 2, 13)
HSLhsl(344, 91%, 9%)
HSVhsv(344, 95%, 16%)
CMYKcmyk(0%, 95.2%, 69%, 83.5%)
CIE-LABlab(5.10, 20.37, 2.58)
CIE-LCHlch(5.10, 20.54, 7.23°)
OKLaboklab(18.7% 0.0678 0.0099)
OKLCHoklch(18.7% 0.069 8.3)
XYZxyz(1.0493, 0.5649, 0.4345)
Luminance0.0056 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A020D #022A1F
analogous
#2A0221 #2A020D #2A0B02
triadic
#2A020D #0D2A02 #020D2A
tetradic
#2A020D #212A02 #022A1F #0B022A
square
#2A020D #212A02 #022A1F #0B022A
split-complementary
#2A020D #022A0B #02212A
monochromatic
#1D0109 #1D0109 #2A020D #64051F #9F0831

Accessibility & contrast

On white

18.87
#2A020D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A020D
18.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A020D#FFFFFF#000000##FFFFFF
##2A020D1.0018.871.1118.87
#FFFFFF18.871.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.871.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2a020d;
/* rgb */ color: rgb(42, 2, 13);
/* oklch */ color: oklch(18.7% 0.069 8.3);
Tailwind
colors: {
  custom: {
    50: '#66474d',
    500: '#2a020d',
    950: '#000000',
  },
}
SCSS
$custom: #2a020d;
$custom-light: #66474d;
$custom-dark: #000000;
JSON
{
  "hex": "#2a020d",
  "rgb": {
    "r": 42,
    "g": 2,
    "b": 13
  },
  "hsl": {
    "h": 343.5,
    "s": 90.909,
    "l": 8.627
  },
  "oklch": {
    "l": 0.18697,
    "c": 0.06857,
    "h": 8.3
  },
  "luminance": 0.00565
}

Semantic roles & 50–950 ramp

primary
#2A020D
secondary
#196F57
accent
#FFC429
background
#F6F4F4
surface
#EBE6E7
border
#C6C2C3
text
#060001
muted
#7A7777

Preview Lab

Preview with #2A020D

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

Preview Lab → · Contrast checker → · Palette generator →

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