#2A041C#2A041C

#2A041C is a very dark, moderate pink. Relative luminance 0.007; OKLCH L 19.7% C 0.071 H 346.1°. Best body text is #FFFFFF at 18.54:1 contrast (WCAG AA passes).

Color values

HEX#2A041C
RGBrgb(42, 4, 28)
HSLhsl(322, 83%, 9%)
HSVhsv(322, 90%, 16%)
CMYKcmyk(0%, 90.5%, 33.3%, 83.5%)
CIE-LABlab(5.99, 21.90, -6.13)
CIE-LCHlch(5.99, 22.74, 344.36°)
OKLaboklab(19.73% 0.0691 -0.0172)
OKLCHoklch(19.73% 0.071 346.1)
XYZxyz(1.2079, 0.6630, 1.1628)
Luminance0.0066 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A041C #042A12
analogous
#25042A #2A041C #2A0409
triadic
#2A041C #1C2A04 #041C2A
tetradic
#2A041C #2A2504 #042A12 #04092A
square
#2A041C #2A2504 #042A12 #04092A
split-complementary
#2A041C #092A04 #042A25
monochromatic
#1C0313 #1C0313 #2A041C #620941 #9A0F67

Accessibility & contrast

On white

18.54
#2A041C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A041C
18.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A041C#FFFFFF#000000##FFFFFF
##2A041C1.0018.541.1318.54
#FFFFFF18.541.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#080F1D
Deuteranopia (green-blind)
#14161B
Tritanopia (blue-blind)
#2E030E
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #2a041c;
/* rgb */ color: rgb(42, 4, 28);
/* oklch */ color: oklch(19.7% 0.071 346.1);
Tailwind
colors: {
  custom: {
    50: '#654858',
    500: '#2a041c',
    950: '#000000',
  },
}
SCSS
$custom: #2a041c;
$custom-light: #654858;
$custom-dark: #000000;
JSON
{
  "hex": "#2a041c",
  "rgb": {
    "r": 42,
    "g": 4,
    "b": 28
  },
  "hsl": {
    "h": 322.105,
    "s": 82.609,
    "l": 9.02
  },
  "oklch": {
    "l": 0.19731,
    "c": 0.0712,
    "h": 346.1
  },
  "luminance": 0.00663
}

Semantic roles & 50–950 ramp

primary
#2A041C
secondary
#1D6D3A
accent
#F9792F
background
#F6F4F5
surface
#EBE6E9
border
#C6C2C5
text
#060003
muted
#7A7778

Preview Lab

Preview with #2A041C

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

Preview Lab → · Contrast checker → · Palette generator →

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