#3A162F#3A162F

#3A162F is a dark, moderate pink. Relative luminance 0.017; OKLCH L 26.5% C 0.068 H 340.6°. Best body text is #FFFFFF at 15.72:1 contrast (WCAG AA passes).

Color values

HEX#3A162F
RGBrgb(58, 22, 47)
HSLhsl(318, 45%, 16%)
HSVhsv(318, 62%, 23%)
CMYKcmyk(0%, 62.1%, 19%, 77.3%)
CIE-LABlab(13.70, 21.56, -8.37)
CIE-LCHlch(13.70, 23.13, 338.78°)
OKLaboklab(26.48% 0.0637 -0.0224)
OKLCHoklch(26.48% 0.068 340.6)
XYZxyz(2.5450, 1.6788, 2.8788)
Luminance0.0168 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A162F #163A21
analogous
#33163A #3A162F #3A161D
triadic
#3A162F #2F3A16 #162F3A
tetradic
#3A162F #3A3316 #163A21 #161D3A
square
#3A162F #3A3316 #163A21 #161D3A
split-complementary
#3A162F #1D3A16 #163A33
monochromatic
#160812 #160812 #3A162F #662753 #933877

Accessibility & contrast

On white

15.72
#3A162F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#3A162F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A162F
15.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A162F#FFFFFF#000000##FFFFFF
##3A162F1.0015.721.3415.72
#FFFFFF15.721.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#181F30
Deuteranopia (green-blind)
#22252E
Tritanopia (blue-blind)
#3E1720
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #3a162f;
/* rgb */ color: rgb(58, 22, 47);
/* oklch */ color: oklch(26.5% 0.068 340.6);
Tailwind
colors: {
  custom: {
    50: '#715567',
    500: '#3a162f',
    950: '#000000',
  },
}
SCSS
$custom: #3a162f;
$custom-light: #715567;
$custom-dark: #000000;
JSON
{
  "hex": "#3a162f",
  "rgb": {
    "r": 58,
    "g": 22,
    "b": 47
  },
  "hsl": {
    "h": 318.333,
    "s": 45,
    "l": 15.686
  },
  "oklch": {
    "l": 0.26482,
    "c": 0.06755,
    "h": 340.6
  },
  "luminance": 0.01679
}

Semantic roles & 50–950 ramp

primary
#3A162F
secondary
#3B714B
accent
#D57B53
background
#F6F5F6
surface
#ECE9EB
border
#C7C5C6
text
#080306
muted
#7B787A

Preview Lab

Preview with #3A162F

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

Preview Lab → · Contrast checker → · Palette generator →

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