#3A042B#3A042B

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

Color values

HEX#3A042B
RGBrgb(58, 4, 43)
HSLhsl(317, 87%, 12%)
HSVhsv(317, 93%, 23%)
CMYKcmyk(0%, 93.1%, 25.9%, 77.3%)
CIE-LABlab(10.27, 29.80, -10.73)
CIE-LCHlch(10.27, 31.68, 340.21°)
OKLaboklab(23.9% 0.0898 -0.0288)
OKLCHoklch(23.9% 0.094 342.2)
XYZxyz(2.2245, 1.1610, 2.3920)
Luminance0.0116 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A042B #043A13
analogous
#2E043A #3A042B #3A0410
triadic
#3A042B #2B3A04 #042B3A
tetradic
#3A042B #3A2E04 #043A13 #04103A
square
#3A042B #3A2E04 #043A13 #04103A
split-complementary
#3A042B #103A04 #043A2E
monochromatic
#1D0215 #1D0215 #3A042B #730855 #AD0C80

Accessibility & contrast

On white

17.04
#3A042B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3A042B
17.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A042B#FFFFFF#000000##FFFFFF
##3A042B1.0017.041.2317.04
#FFFFFF17.041.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#09162C
Deuteranopia (green-blind)
#1B1F2A
Tritanopia (blue-blind)
#3E0517
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #3a042b;
/* rgb */ color: rgb(58, 4, 43);
/* oklch */ color: oklch(23.9% 0.094 342.2);
Tailwind
colors: {
  custom: {
    50: '#734b64',
    500: '#3a042b',
    950: '#000000',
  },
}
SCSS
$custom: #3a042b;
$custom-light: #734b64;
$custom-dark: #000000;
JSON
{
  "hex": "#3a042b",
  "rgb": {
    "r": 58,
    "g": 4,
    "b": 43
  },
  "hsl": {
    "h": 316.667,
    "s": 87.097,
    "l": 12.157
  },
  "oklch": {
    "l": 0.23902,
    "c": 0.09436,
    "h": 342.2
  },
  "luminance": 0.01161
}

Semantic roles & 50–950 ramp

primary
#3A042B
secondary
#1E7C38
accent
#FD652B
background
#F7F4F6
surface
#EDE7EB
border
#C8C3C6
text
#080105
muted
#7B777A

Preview Lab

Preview with #3A042B

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

Preview Lab → · Contrast checker → · Palette generator →

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