#3A042F#3A042F

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

Color values

HEX#3A042F
RGBrgb(58, 4, 47)
HSLhsl(312, 87%, 12%)
HSVhsv(312, 93%, 23%)
CMYKcmyk(0%, 93.1%, 19%, 77.3%)
CIE-LABlab(10.50, 30.44, -13.33)
CIE-LCHlch(10.50, 33.23, 336.35°)
OKLaboklab(24.14% 0.0904 -0.0362)
OKLCHoklch(24.14% 0.097 338.1)
XYZxyz(2.3015, 1.1918, 2.7976)
Luminance0.0119 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A042F #043A0F
analogous
#2A043A #3A042F #3A0414
triadic
#3A042F #2F3A04 #042F3A
tetradic
#3A042F #3A2A04 #043A0F #04143A
square
#3A042F #3A2A04 #043A0F #04143A
split-complementary
#3A042F #143A04 #043A2A
monochromatic
#1D0217 #1D0217 #3A042F #73085D #AD0C8C

Accessibility & contrast

On white

16.96
#3A042F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3A042F
16.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A042F#FFFFFF#000000##FFFFFF
##3A042F1.0016.961.2416.96
#FFFFFF16.961.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#061730
Deuteranopia (green-blind)
#1A1F2E
Tritanopia (blue-blind)
#3E0719
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #3a042f;
/* rgb */ color: rgb(58, 4, 47);
/* oklch */ color: oklch(24.1% 0.097 338.1);
Tailwind
colors: {
  custom: {
    50: '#734c67',
    500: '#3a042f',
    950: '#000000',
  },
}
SCSS
$custom: #3a042f;
$custom-light: #734c67;
$custom-dark: #000000;
JSON
{
  "hex": "#3a042f",
  "rgb": {
    "r": 58,
    "g": 4,
    "b": 47
  },
  "hsl": {
    "h": 312.222,
    "s": 87.097,
    "l": 12.157
  },
  "oklch": {
    "l": 0.24142,
    "c": 0.09736,
    "h": 338.1
  },
  "luminance": 0.01192
}

Semantic roles & 50–950 ramp

primary
#3A042F
secondary
#1E7C31
accent
#FD552B
background
#F7F4F6
surface
#EDE7EB
border
#C8C3C6
text
#080106
muted
#7B777A

Preview Lab

Preview with #3A042F

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

Preview Lab → · Contrast checker → · Palette generator →

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