#3A042C#3A042C

#3A042C is a very dark, moderate pink. Relative luminance 0.012; OKLCH L 24.0% C 0.095 H 341.2°. Best body text is #FFFFFF at 17.02:1 contrast (WCAG AA passes).

Color values

HEX#3A042C
RGBrgb(58, 4, 44)
HSLhsl(316, 87%, 12%)
HSVhsv(316, 93%, 23%)
CMYKcmyk(0%, 93.1%, 24.1%, 77.3%)
CIE-LABlab(10.32, 29.96, -11.38)
CIE-LCHlch(10.32, 32.05, 339.19°)
OKLaboklab(23.96% 0.09 -0.0307)
OKLCHoklch(23.96% 0.095 341.2)
XYZxyz(2.2430, 1.1685, 2.4898)
Luminance0.0117 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A042C #043A12
analogous
#2D043A #3A042C #3A0411
triadic
#3A042C #2C3A04 #042C3A
tetradic
#3A042C #3A2D04 #043A12 #04113A
square
#3A042C #3A2D04 #043A12 #04113A
split-complementary
#3A042C #113A04 #043A2D
monochromatic
#1D0216 #1D0216 #3A042C #730857 #AD0C83

Accessibility & contrast

On white

17.02
#3A042C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3A042C
17.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A042C#FFFFFF#000000##FFFFFF
##3A042C1.0017.021.2317.02
#FFFFFF17.021.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#08172D
Deuteranopia (green-blind)
#1B1F2B
Tritanopia (blue-blind)
#3E0517
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #3a042c;
/* rgb */ color: rgb(58, 4, 44);
/* oklch */ color: oklch(24.0% 0.095 341.2);
Tailwind
colors: {
  custom: {
    50: '#734b65',
    500: '#3a042c',
    950: '#000000',
  },
}
SCSS
$custom: #3a042c;
$custom-light: #734b65;
$custom-dark: #000000;
JSON
{
  "hex": "#3a042c",
  "rgb": {
    "r": 58,
    "g": 4,
    "b": 44
  },
  "hsl": {
    "h": 315.556,
    "s": 87.097,
    "l": 12.157
  },
  "oklch": {
    "l": 0.2396,
    "c": 0.09509,
    "h": 341.2
  },
  "luminance": 0.01168
}

Semantic roles & 50–950 ramp

primary
#3A042C
secondary
#1E7C36
accent
#FD612B
background
#F7F4F6
surface
#EDE7EB
border
#C8C3C6
text
#080105
muted
#7B777A

Preview Lab

Preview with #3A042C

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

Preview Lab → · Contrast checker → · Palette generator →

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