#3A042A#3A042A

#3A042A is a very dark, moderate pink. Relative luminance 0.012; OKLCH L 23.8% C 0.094 H 343.3°. Best body text is #FFFFFF at 17.06:1 contrast (WCAG AA passes).

Color values

HEX#3A042A
RGBrgb(58, 4, 42)
HSLhsl(318, 87%, 12%)
HSVhsv(318, 93%, 23%)
CMYKcmyk(0%, 93.1%, 27.6%, 77.3%)
CIE-LABlab(10.21, 29.65, -10.07)
CIE-LCHlch(10.21, 31.31, 341.25°)
OKLaboklab(23.85% 0.0897 -0.027)
OKLCHoklch(23.85% 0.094 343.3)
XYZxyz(2.2063, 1.1538, 2.2965)
Luminance0.0115 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A042A #043A14
analogous
#2F043A #3A042A #3A040F
triadic
#3A042A #2A3A04 #042A3A
tetradic
#3A042A #3A2F04 #043A14 #040F3A
square
#3A042A #3A2F04 #043A14 #040F3A
split-complementary
#3A042A #0F3A04 #043A2F
monochromatic
#1D0215 #1D0215 #3A042A #730853 #AD0C7D

Accessibility & contrast

On white

17.06
#3A042A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#3A042A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A042A
17.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A042A#FFFFFF#000000##FFFFFF
##3A042A1.0017.061.2317.06
#FFFFFF17.061.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A162B
Deuteranopia (green-blind)
#1C1F29
Tritanopia (blue-blind)
#3E0416
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #3a042a;
/* rgb */ color: rgb(58, 4, 42);
/* oklch */ color: oklch(23.8% 0.094 343.3);
Tailwind
colors: {
  custom: {
    50: '#734b63',
    500: '#3a042a',
    950: '#000000',
  },
}
SCSS
$custom: #3a042a;
$custom-light: #734b63;
$custom-dark: #000000;
JSON
{
  "hex": "#3a042a",
  "rgb": {
    "r": 58,
    "g": 4,
    "b": 42
  },
  "hsl": {
    "h": 317.778,
    "s": 87.097,
    "l": 12.157
  },
  "oklch": {
    "l": 0.23845,
    "c": 0.09364,
    "h": 343.3
  },
  "luminance": 0.01154
}

Semantic roles & 50–950 ramp

primary
#3A042A
secondary
#1E7C3A
accent
#FD692B
background
#F7F4F5
surface
#EDE7EA
border
#C8C3C6
text
#080105
muted
#7B7779

Preview Lab

Preview with #3A042A

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

Preview Lab → · Contrast checker → · Palette generator →

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