#3A041F#3A041F

#3A041F is a very dark, moderate pink. Relative luminance 0.011; OKLCH L 23.3% C 0.087 H 355.8°. Best body text is #FFFFFF at 17.26:1 contrast (WCAG AA passes).

Color values

HEX#3A041F
RGBrgb(58, 4, 31)
HSLhsl(330, 87%, 12%)
HSVhsv(330, 93%, 23%)
CMYKcmyk(0%, 93.1%, 46.6%, 77.3%)
CIE-LABlab(9.69, 28.15, -2.55)
CIE-LCHlch(9.69, 28.26, 354.82°)
OKLaboklab(23.29% 0.0867 -0.0064)
OKLCHoklch(23.29% 0.087 355.8)
XYZxyz(2.0358, 1.0856, 1.3984)
Luminance0.0109 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A041F #043A1F
analogous
#3A043A #3A041F #3A0404
triadic
#3A041F #1F3A04 #041F3A
tetradic
#3A041F #3A3A04 #043A1F #04043A
square
#3A041F #3A3A04 #043A1F #04043A
split-complementary
#3A041F #043A04 #043A3A
monochromatic
#1D020F #1D020F #3A041F #73083E #AD0C5C

Accessibility & contrast

On white

17.26
#3A041F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#3A041F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A041F
17.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A041F#FFFFFF#000000##FFFFFF
##3A041F1.0017.261.2217.26
#FFFFFF17.261.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F1420
Deuteranopia (green-blind)
#1F1E1E
Tritanopia (blue-blind)
#400010
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #3a041f;
/* rgb */ color: rgb(58, 4, 31);
/* oklch */ color: oklch(23.3% 0.087 355.8);
Tailwind
colors: {
  custom: {
    50: '#744b5a',
    500: '#3a041f',
    950: '#000000',
  },
}
SCSS
$custom: #3a041f;
$custom-light: #744b5a;
$custom-dark: #000000;
JSON
{
  "hex": "#3a041f",
  "rgb": {
    "r": 58,
    "g": 4,
    "b": 31
  },
  "hsl": {
    "h": 330,
    "s": 87.097,
    "l": 12.157
  },
  "oklch": {
    "l": 0.23291,
    "c": 0.08692,
    "h": 355.8
  },
  "luminance": 0.01085
}

Semantic roles & 50–950 ramp

primary
#3A041F
secondary
#1E7C4D
accent
#FD942B
background
#F7F4F5
surface
#EDE7E9
border
#C8C3C5
text
#080103
muted
#7B7778

Preview Lab

Preview with #3A041F

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

Preview Lab → · Contrast checker → · Palette generator →

#3A041F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva