#2A040E#2A040E

#2A040E is a very dark, moderate pink. Relative luminance 0.006; OKLCH L 19.1% C 0.064 H 8.8°. Best body text is #FFFFFF at 18.71:1 contrast (WCAG AA passes).

Color values

HEX#2A040E
RGBrgb(42, 4, 14)
HSLhsl(344, 83%, 9%)
HSVhsv(344, 90%, 16%)
CMYKcmyk(0%, 90.5%, 66.7%, 83.5%)
CIE-LABlab(5.52, 19.57, 2.70)
CIE-LCHlch(5.52, 19.76, 7.85°)
OKLaboklab(19.11% 0.0636 0.0098)
OKLCHoklch(19.11% 0.064 8.8)
XYZxyz(1.0776, 0.6109, 0.4766)
Luminance0.0061 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A040E #042A20
analogous
#2A0421 #2A040E #2A0D04
triadic
#2A040E #0E2A04 #040E2A
tetradic
#2A040E #212A04 #042A20 #0D042A
square
#2A040E #212A04 #042A20 #0D042A
split-complementary
#2A040E #042A0D #04212A
monochromatic
#1C0309 #1C0309 #2A040E #620921 #9A0F33

Accessibility & contrast

On white

18.71
#2A040E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A040E
18.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A040E#FFFFFF#000000##FFFFFF
##2A040E1.0018.711.1218.71
#FFFFFF18.711.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D0D0E
Deuteranopia (green-blind)
#17150D
Tritanopia (blue-blind)
#2F0008
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #2a040e;
/* rgb */ color: rgb(42, 4, 14);
/* oklch */ color: oklch(19.1% 0.064 8.8);
Tailwind
colors: {
  custom: {
    50: '#66484d',
    500: '#2a040e',
    950: '#000000',
  },
}
SCSS
$custom: #2a040e;
$custom-light: #66484d;
$custom-dark: #000000;
JSON
{
  "hex": "#2a040e",
  "rgb": {
    "r": 42,
    "g": 4,
    "b": 14
  },
  "hsl": {
    "h": 344.211,
    "s": 82.609,
    "l": 9.02
  },
  "oklch": {
    "l": 0.19109,
    "c": 0.06437,
    "h": 8.8
  },
  "luminance": 0.00611
}

Semantic roles & 50–950 ramp

primary
#2A040E
secondary
#1D6D58
accent
#F9C42F
background
#F6F4F4
surface
#EBE6E7
border
#C6C2C3
text
#060001
muted
#7A7777

Preview Lab

Preview with #2A040E

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

Preview Lab → · Contrast checker → · Palette generator →

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