#3A071F#3A071F

#3A071F is a very dark, moderate pink. Relative luminance 0.011; OKLCH L 23.7% C 0.082 H 356.9°. Best body text is #FFFFFF at 17.07:1 contrast (WCAG AA passes).

Color values

HEX#3A071F
RGBrgb(58, 7, 31)
HSLhsl(332, 78%, 13%)
HSVhsv(332, 88%, 23%)
CMYKcmyk(0%, 87.9%, 46.6%, 77.3%)
CIE-LABlab(10.19, 26.71, -1.80)
CIE-LCHlch(10.19, 26.77, 356.14°)
OKLaboklab(23.66% 0.0821 -0.0044)
OKLCHoklch(23.66% 0.082 356.9)
XYZxyz(2.0684, 1.1507, 1.4092)
Luminance0.0115 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A071F #073A22
analogous
#3A0738 #3A071F #3A0907
triadic
#3A071F #1F3A07 #071F3A
tetradic
#3A071F #383A07 #073A22 #09073A
square
#3A071F #383A07 #073A22 #09073A
split-complementary
#3A071F #073A09 #07383A
monochromatic
#1B030F #1B030F #3A071F #710E3C #A71459

Accessibility & contrast

On white

17.07
#3A071F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3A071F
17.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A071F#FFFFFF#000000##FFFFFF
##3A071F1.0017.071.2317.07
#FFFFFF17.071.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#121620
Deuteranopia (green-blind)
#201F1E
Tritanopia (blue-blind)
#400212
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #3a071f;
/* rgb */ color: rgb(58, 7, 31);
/* oklch */ color: oklch(23.7% 0.082 356.9);
Tailwind
colors: {
  custom: {
    50: '#734c5a',
    500: '#3a071f',
    950: '#000000',
  },
}
SCSS
$custom: #3a071f;
$custom-light: #734c5a;
$custom-dark: #000000;
JSON
{
  "hex": "#3a071f",
  "rgb": {
    "r": 58,
    "g": 7,
    "b": 31
  },
  "hsl": {
    "h": 331.765,
    "s": 78.462,
    "l": 12.745
  },
  "oklch": {
    "l": 0.23659,
    "c": 0.08222,
    "h": 356.9
  },
  "luminance": 0.0115
}

Semantic roles & 50–950 ramp

primary
#3A071F
secondary
#237951
accent
#F59A33
background
#F7F4F5
surface
#EDE7E9
border
#C8C3C5
text
#080103
muted
#7B7778

Preview Lab

Preview with #3A071F

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

Preview Lab → · Contrast checker → · Palette generator →

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