#3A162D#3A162D

#3A162D is a dark, moderate pink. Relative luminance 0.017; OKLCH L 26.4% C 0.066 H 343.4°. Best body text is #FFFFFF at 15.76:1 contrast (WCAG AA passes).

Color values

HEX#3A162D
RGBrgb(58, 22, 45)
HSLhsl(322, 45%, 16%)
HSVhsv(322, 62%, 23%)
CMYKcmyk(0%, 62.1%, 22.4%, 77.3%)
CIE-LABlab(13.61, 21.18, -7.06)
CIE-LCHlch(13.61, 22.33, 341.56°)
OKLaboklab(26.38% 0.0631 -0.0188)
OKLCHoklch(26.38% 0.066 343.4)
XYZxyz(2.5055, 1.6630, 2.6711)
Luminance0.0166 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A162D #163A23
analogous
#35163A #3A162D #3A161B
triadic
#3A162D #2D3A16 #162D3A
tetradic
#3A162D #3A3516 #163A23 #161B3A
square
#3A162D #3A3516 #163A23 #161B3A
split-complementary
#3A162D #1B3A16 #163A35
monochromatic
#160811 #160811 #3A162D #66274F #933872

Accessibility & contrast

On white

15.76
#3A162D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#3A162D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A162D
15.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A162D#FFFFFF#000000##FFFFFF
##3A162D1.0015.761.3315.76
#FFFFFF15.761.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#191F2E
Deuteranopia (green-blind)
#23252C
Tritanopia (blue-blind)
#3E161F
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #3a162d;
/* rgb */ color: rgb(58, 22, 45);
/* oklch */ color: oklch(26.4% 0.066 343.4);
Tailwind
colors: {
  custom: {
    50: '#725565',
    500: '#3a162d',
    950: '#000000',
  },
}
SCSS
$custom: #3a162d;
$custom-light: #725565;
$custom-dark: #000000;
JSON
{
  "hex": "#3a162d",
  "rgb": {
    "r": 58,
    "g": 22,
    "b": 45
  },
  "hsl": {
    "h": 321.667,
    "s": 45,
    "l": 15.686
  },
  "oklch": {
    "l": 0.26382,
    "c": 0.06584,
    "h": 343.4
  },
  "luminance": 0.01663
}

Semantic roles & 50–950 ramp

primary
#3A162D
secondary
#3B714E
accent
#D58253
background
#F7F5F6
surface
#EDE9EB
border
#C8C5C6
text
#080305
muted
#7B787A

Preview Lab

Preview with #3A162D

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

Preview Lab → · Contrast checker → · Palette generator →

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