#3A051F#3A051F

#3A051F is a very dark, moderate pink. Relative luminance 0.011; OKLCH L 23.4% C 0.085 H 356.2°. Best body text is #FFFFFF at 17.19:1 contrast (WCAG AA passes).

Color values

HEX#3A051F
RGBrgb(58, 5, 31)
HSLhsl(331, 84%, 12%)
HSVhsv(331, 91%, 23%)
CMYKcmyk(0%, 91.4%, 46.6%, 77.3%)
CIE-LABlab(9.86, 27.66, -2.30)
CIE-LCHlch(9.86, 27.76, 355.25°)
OKLaboklab(23.42% 0.0851 -0.0057)
OKLCHoklch(23.42% 0.085 356.2)
XYZxyz(2.0467, 1.1073, 1.4020)
Luminance0.0111 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A051F #053A20
analogous
#3A053A #3A051F #3A0505
triadic
#3A051F #1F3A05 #051F3A
tetradic
#3A051F #3A3A05 #053A20 #05053A
square
#3A051F #3A3A05 #053A20 #05053A
split-complementary
#3A051F #053A05 #053A3A
monochromatic
#1C020F #1C020F #3A051F #720A3D #AB0F5B

Accessibility & contrast

On white

17.19
#3A051F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#3A051F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A051F
17.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A051F#FFFFFF#000000##FFFFFF
##3A051F1.0017.191.2217.19
#FFFFFF17.191.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#101520
Deuteranopia (green-blind)
#1F1F1E
Tritanopia (blue-blind)
#400011
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #3a051f;
/* rgb */ color: rgb(58, 5, 31);
/* oklch */ color: oklch(23.4% 0.085 356.2);
Tailwind
colors: {
  custom: {
    50: '#734b5a',
    500: '#3a051f',
    950: '#000000',
  },
}
SCSS
$custom: #3a051f;
$custom-light: #734b5a;
$custom-dark: #000000;
JSON
{
  "hex": "#3a051f",
  "rgb": {
    "r": 58,
    "g": 5,
    "b": 31
  },
  "hsl": {
    "h": 330.566,
    "s": 84.127,
    "l": 12.353
  },
  "oklch": {
    "l": 0.23415,
    "c": 0.08532,
    "h": 356.2
  },
  "luminance": 0.01107
}

Semantic roles & 50–950 ramp

primary
#3A051F
secondary
#207B4E
accent
#FA962D
background
#F7F4F5
surface
#EDE7E9
border
#C8C3C5
text
#080103
muted
#7B7778

Preview Lab

Preview with #3A051F

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

Preview Lab → · Contrast checker → · Palette generator →

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