#3A042E#3A042E

#3A042E is a very dark, moderate pink. Relative luminance 0.012; OKLCH L 24.1% C 0.097 H 339.1°. Best body text is #FFFFFF at 16.98:1 contrast (WCAG AA passes).

Color values

HEX#3A042E
RGBrgb(58, 4, 46)
HSLhsl(313, 87%, 12%)
HSVhsv(313, 93%, 23%)
CMYKcmyk(0%, 93.1%, 20.7%, 77.3%)
CIE-LABlab(10.44, 30.28, -12.69)
CIE-LCHlch(10.44, 32.83, 337.27°)
OKLaboklab(24.08% 0.0903 -0.0344)
OKLCHoklch(24.08% 0.097 339.1)
XYZxyz(2.2815, 1.1839, 2.6926)
Luminance0.0118 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A042E #043A10
analogous
#2B043A #3A042E #3A0413
triadic
#3A042E #2E3A04 #042E3A
tetradic
#3A042E #3A2B04 #043A10 #04133A
square
#3A042E #3A2B04 #043A10 #04133A
split-complementary
#3A042E #133A04 #043A2B
monochromatic
#1D0217 #1D0217 #3A042E #73085B #AD0C89

Accessibility & contrast

On white

16.98
#3A042E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.24
#3A042E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A042E
16.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A042E#FFFFFF#000000##FFFFFF
##3A042E1.0016.981.2416.98
#FFFFFF16.981.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#07172F
Deuteranopia (green-blind)
#1A1F2D
Tritanopia (blue-blind)
#3E0618
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #3a042e;
/* rgb */ color: rgb(58, 4, 46);
/* oklch */ color: oklch(24.1% 0.097 339.1);
Tailwind
colors: {
  custom: {
    50: '#734c66',
    500: '#3a042e',
    950: '#000000',
  },
}
SCSS
$custom: #3a042e;
$custom-light: #734c66;
$custom-dark: #000000;
JSON
{
  "hex": "#3a042e",
  "rgb": {
    "r": 58,
    "g": 4,
    "b": 46
  },
  "hsl": {
    "h": 313.333,
    "s": 87.097,
    "l": 12.157
  },
  "oklch": {
    "l": 0.2408,
    "c": 0.09659,
    "h": 339.1
  },
  "luminance": 0.01184
}

Semantic roles & 50–950 ramp

primary
#3A042E
secondary
#1E7C33
accent
#FD592B
background
#F7F4F6
surface
#EDE7EB
border
#C8C3C6
text
#080106
muted
#7B777A

Preview Lab

Preview with #3A042E

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

Preview Lab → · Contrast checker → · Palette generator →

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