#2A021E#2A021E

#2A021E is a very dark, moderate pink. Relative luminance 0.006; OKLCH L 19.5% C 0.077 H 342.6°. Best body text is #FFFFFF at 18.65:1 contrast (WCAG AA passes).

Color values

HEX#2A021E
RGBrgb(42, 2, 30)
HSLhsl(318, 91%, 9%)
HSVhsv(318, 95%, 16%)
CMYKcmyk(0%, 95.2%, 28.6%, 83.5%)
CIE-LABlab(5.69, 23.30, -8.15)
CIE-LCHlch(5.69, 24.69, 340.71°)
OKLaboklab(19.5% 0.0738 -0.0231)
OKLCHoklch(19.5% 0.077 342.6)
XYZxyz(1.2109, 0.6295, 1.2858)
Luminance0.0063 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A021E #022A0E
analogous
#22022A #2A021E #2A020A
triadic
#2A021E #1E2A02 #021E2A
tetradic
#2A021E #2A2202 #022A0E #020A2A
square
#2A021E #2A2202 #022A0E #020A2A
split-complementary
#2A021E #0A2A02 #022A22
monochromatic
#1D0115 #1D0115 #2A021E #640548 #9F0871

Accessibility & contrast

On white

18.65
#2A021E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.13
#2A021E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A021E
18.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A021E#FFFFFF#000000##FFFFFF
##2A021E1.0018.651.1318.65
#FFFFFF18.651.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#050E1F
Deuteranopia (green-blind)
#12151D
Tritanopia (blue-blind)
#2D020E
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #2a021e;
/* rgb */ color: rgb(42, 2, 30);
/* oklch */ color: oklch(19.5% 0.077 342.6);
Tailwind
colors: {
  custom: {
    50: '#654759',
    500: '#2a021e',
    950: '#000000',
  },
}
SCSS
$custom: #2a021e;
$custom-light: #654759;
$custom-dark: #000000;
JSON
{
  "hex": "#2a021e",
  "rgb": {
    "r": 42,
    "g": 2,
    "b": 30
  },
  "hsl": {
    "h": 318,
    "s": 90.909,
    "l": 8.627
  },
  "oklch": {
    "l": 0.19497,
    "c": 0.07738,
    "h": 342.6
  },
  "luminance": 0.00629
}

Semantic roles & 50–950 ramp

primary
#2A021E
secondary
#196F33
accent
#FF6929
background
#F6F4F5
surface
#EBE6E9
border
#C6C2C5
text
#060003
muted
#7A7778

Preview Lab

Preview with #2A021E

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

Preview Lab → · Contrast checker → · Palette generator →

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