#3A042D#3A042D

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

Color values

HEX#3A042D
RGBrgb(58, 4, 45)
HSLhsl(314, 87%, 12%)
HSVhsv(314, 93%, 23%)
CMYKcmyk(0%, 93.1%, 22.4%, 77.3%)
CIE-LABlab(10.38, 30.12, -12.04)
CIE-LCHlch(10.38, 32.43, 338.22°)
OKLaboklab(24.02% 0.0901 -0.0325)
OKLCHoklch(24.02% 0.096 340.1)
XYZxyz(2.2621, 1.1761, 2.5900)
Luminance0.0118 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A042D #043A11
analogous
#2C043A #3A042D #3A0412
triadic
#3A042D #2D3A04 #042D3A
tetradic
#3A042D #3A2C04 #043A11 #04123A
square
#3A042D #3A2C04 #043A11 #04123A
split-complementary
#3A042D #123A04 #043A2C
monochromatic
#1D0216 #1D0216 #3A042D #730859 #AD0C86

Accessibility & contrast

On white

17.00
#3A042D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3A042D
17.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A042D#FFFFFF#000000##FFFFFF
##3A042D1.0017.001.2417.00
#FFFFFF17.001.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF17.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#08172E
Deuteranopia (green-blind)
#1A1F2C
Tritanopia (blue-blind)
#3E0618
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #3a042d;
/* rgb */ color: rgb(58, 4, 45);
/* oklch */ color: oklch(24.0% 0.096 340.1);
Tailwind
colors: {
  custom: {
    50: '#734b66',
    500: '#3a042d',
    950: '#000000',
  },
}
SCSS
$custom: #3a042d;
$custom-light: #734b66;
$custom-dark: #000000;
JSON
{
  "hex": "#3a042d",
  "rgb": {
    "r": 58,
    "g": 4,
    "b": 45
  },
  "hsl": {
    "h": 314.444,
    "s": 87.097,
    "l": 12.157
  },
  "oklch": {
    "l": 0.2402,
    "c": 0.09584,
    "h": 340.1
  },
  "luminance": 0.01176
}

Semantic roles & 50–950 ramp

primary
#3A042D
secondary
#1E7C35
accent
#FD5D2B
background
#F7F4F6
surface
#EDE7EB
border
#C8C3C6
text
#080105
muted
#7B777A

Preview Lab

Preview with #3A042D

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

Preview Lab → · Contrast checker → · Palette generator →

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