#2A041A#2A041A

#2A041A is a very dark, moderate pink. Relative luminance 0.007; OKLCH L 19.6% C 0.070 H 349.1°. Best body text is #FFFFFF at 18.57:1 contrast (WCAG AA passes).

Color values

HEX#2A041A
RGBrgb(42, 4, 26)
HSLhsl(325, 83%, 9%)
HSVhsv(325, 90%, 16%)
CMYKcmyk(0%, 90.5%, 38.1%, 83.5%)
CIE-LABlab(5.91, 21.51, -4.68)
CIE-LCHlch(5.91, 22.01, 347.73°)
OKLaboklab(19.62% 0.0685 -0.0132)
OKLCHoklch(19.62% 0.07 349.1)
XYZxyz(1.1848, 0.6538, 1.0409)
Luminance0.0065 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A041A #042A14
analogous
#27042A #2A041A #2A0407
triadic
#2A041A #1A2A04 #041A2A
tetradic
#2A041A #2A2704 #042A14 #04072A
square
#2A041A #2A2704 #042A14 #04072A
split-complementary
#2A041A #072A04 #042A27
monochromatic
#1C0311 #1C0311 #2A041A #62093D #9A0F5F

Accessibility & contrast

On white

18.57
#2A041A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A041A
18.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A041A#FFFFFF#000000##FFFFFF
##2A041A1.0018.571.1318.57
#FFFFFF18.571.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#090F1B
Deuteranopia (green-blind)
#141619
Tritanopia (blue-blind)
#2E030D
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #2a041a;
/* rgb */ color: rgb(42, 4, 26);
/* oklch */ color: oklch(19.6% 0.070 349.1);
Tailwind
colors: {
  custom: {
    50: '#654856',
    500: '#2a041a',
    950: '#000000',
  },
}
SCSS
$custom: #2a041a;
$custom-light: #654856;
$custom-dark: #000000;
JSON
{
  "hex": "#2a041a",
  "rgb": {
    "r": 42,
    "g": 4,
    "b": 26
  },
  "hsl": {
    "h": 325.263,
    "s": 82.609,
    "l": 9.02
  },
  "oklch": {
    "l": 0.19623,
    "c": 0.06981,
    "h": 349.1
  },
  "luminance": 0.00654
}

Semantic roles & 50–950 ramp

primary
#2A041A
secondary
#1D6D3F
accent
#F9842F
background
#F6F4F5
surface
#EBE6E9
border
#C6C2C5
text
#060003
muted
#7A7778

Preview Lab

Preview with #2A041A

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

Preview Lab → · Contrast checker → · Palette generator →

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