#3A162C#3A162C

#3A162C is a dark, moderate pink. Relative luminance 0.017; OKLCH L 26.3% C 0.065 H 344.9°. Best body text is #FFFFFF at 15.78:1 contrast (WCAG AA passes).

Color values

HEX#3A162C
RGBrgb(58, 22, 44)
HSLhsl(323, 45%, 16%)
HSVhsv(323, 62%, 23%)
CMYKcmyk(0%, 62.1%, 24.1%, 77.3%)
CIE-LABlab(13.56, 21.00, -6.41)
CIE-LCHlch(13.56, 21.95, 343.04°)
OKLaboklab(26.33% 0.0628 -0.017)
OKLCHoklch(26.33% 0.065 344.9)
XYZxyz(2.4865, 1.6554, 2.5710)
Luminance0.0165 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A162C #163A24
analogous
#36163A #3A162C #3A161A
triadic
#3A162C #2C3A16 #162C3A
tetradic
#3A162C #3A3616 #163A24 #161A3A
square
#3A162C #3A3616 #163A24 #161A3A
split-complementary
#3A162C #1A3A16 #163A36
monochromatic
#160811 #160811 #3A162C #66274E #93386F

Accessibility & contrast

On white

15.78
#3A162C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3A162C
15.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A162C#FFFFFF#000000##FFFFFF
##3A162C1.0015.781.3315.78
#FFFFFF15.781.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.781.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3a162c;
/* rgb */ color: rgb(58, 22, 44);
/* oklch */ color: oklch(26.3% 0.065 344.9);
Tailwind
colors: {
  custom: {
    50: '#725565',
    500: '#3a162c',
    950: '#000000',
  },
}
SCSS
$custom: #3a162c;
$custom-light: #725565;
$custom-dark: #000000;
JSON
{
  "hex": "#3a162c",
  "rgb": {
    "r": 58,
    "g": 22,
    "b": 44
  },
  "hsl": {
    "h": 323.333,
    "s": 45,
    "l": 15.686
  },
  "oklch": {
    "l": 0.26334,
    "c": 0.06502,
    "h": 344.9
  },
  "luminance": 0.01655
}

Semantic roles & 50–950 ramp

primary
#3A162C
secondary
#3B7150
accent
#D58653
background
#F7F5F6
surface
#EDE8EB
border
#C8C4C6
text
#080305
muted
#7B787A

Preview Lab

Preview with #3A162C

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

Preview Lab → · Contrast checker → · Palette generator →

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