#2A011E#2A011E

#2A011E is a very dark, moderate pink. Relative luminance 0.006; OKLCH L 19.3% C 0.080 H 342.3°. Best body text is #FFFFFF at 18.72:1 contrast (WCAG AA passes).

Color values

HEX#2A011E
RGBrgb(42, 1, 30)
HSLhsl(318, 95%, 8%)
HSVhsv(318, 98%, 16%)
CMYKcmyk(0%, 97.6%, 28.6%, 83.5%)
CIE-LABlab(5.49, 23.80, -8.45)
CIE-LCHlch(5.49, 25.25, 340.45°)
OKLaboklab(19.32% 0.0761 -0.0242)
OKLCHoklch(19.32% 0.08 342.3)
XYZxyz(1.2001, 0.6078, 1.2822)
Luminance0.0061 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A011E #012A0D
analogous
#21012A #2A011E #2A0109
triadic
#2A011E #1E2A01 #011E2A
tetradic
#2A011E #2A2101 #012A0D #01092A
square
#2A011E #2A2101 #012A0D #01092A
split-complementary
#2A011E #092A01 #012A21
monochromatic
#1E0115 #1E0115 #2A011E #660249 #A20473

Accessibility & contrast

On white

18.72
#2A011E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A011E
18.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A011E#FFFFFF#000000##FFFFFF
##2A011E1.0018.721.1218.72
#FFFFFF18.721.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#040D1F
Deuteranopia (green-blind)
#11151D
Tritanopia (blue-blind)
#2D010E
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #2a011e;
/* rgb */ color: rgb(42, 1, 30);
/* oklch */ color: oklch(19.3% 0.080 342.3);
Tailwind
colors: {
  custom: {
    50: '#654659',
    500: '#2a011e',
    950: '#000000',
  },
}
SCSS
$custom: #2a011e;
$custom-light: #654659;
$custom-dark: #000000;
JSON
{
  "hex": "#2a011e",
  "rgb": {
    "r": 42,
    "g": 1,
    "b": 30
  },
  "hsl": {
    "h": 317.561,
    "s": 95.349,
    "l": 8.431
  },
  "oklch": {
    "l": 0.19318,
    "c": 0.07983,
    "h": 342.3
  },
  "luminance": 0.00608
}

Semantic roles & 50–950 ramp

primary
#2A011E
secondary
#167031
accent
#FF6729
background
#F6F4F5
surface
#EBE6E9
border
#C6C2C5
text
#060003
muted
#7A7778

Preview Lab

Preview with #2A011E

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

Preview Lab → · Contrast checker → · Palette generator →

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