#3A162B#3A162B

#3A162B is a dark, moderate pink. Relative luminance 0.016; OKLCH L 26.3% C 0.064 H 346.4°. Best body text is #FFFFFF at 15.79:1 contrast (WCAG AA passes).

Color values

HEX#3A162B
RGBrgb(58, 22, 43)
HSLhsl(325, 45%, 16%)
HSVhsv(325, 62%, 23%)
CMYKcmyk(0%, 62.1%, 25.9%, 77.3%)
CIE-LABlab(13.52, 20.82, -5.74)
CIE-LCHlch(13.52, 21.60, 344.58°)
OKLaboklab(26.29% 0.0624 -0.0151)
OKLCHoklch(26.29% 0.064 346.4)
XYZxyz(2.4679, 1.6480, 2.4731)
Luminance0.0165 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A162B #163A25
analogous
#37163A #3A162B #3A1619
triadic
#3A162B #2B3A16 #162B3A
tetradic
#3A162B #3A3716 #163A25 #16193A
square
#3A162B #3A3716 #163A25 #16193A
split-complementary
#3A162B #193A16 #163A37
monochromatic
#160810 #160810 #3A162B #66274C #93386D

Accessibility & contrast

On white

15.79
#3A162B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3A162B
15.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A162B#FFFFFF#000000##FFFFFF
##3A162B1.0015.791.3315.79
#FFFFFF15.791.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#191F2C
Deuteranopia (green-blind)
#23252A
Tritanopia (blue-blind)
#3E151E
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #3a162b;
/* rgb */ color: rgb(58, 22, 43);
/* oklch */ color: oklch(26.3% 0.064 346.4);
Tailwind
colors: {
  custom: {
    50: '#725564',
    500: '#3a162b',
    950: '#000000',
  },
}
SCSS
$custom: #3a162b;
$custom-light: #725564;
$custom-dark: #000000;
JSON
{
  "hex": "#3a162b",
  "rgb": {
    "r": 58,
    "g": 22,
    "b": 43
  },
  "hsl": {
    "h": 325,
    "s": 45,
    "l": 15.686
  },
  "oklch": {
    "l": 0.26286,
    "c": 0.06424,
    "h": 346.4
  },
  "luminance": 0.01648
}

Semantic roles & 50–950 ramp

primary
#3A162B
secondary
#3B7151
accent
#D58953
background
#F7F5F5
surface
#EDE8EA
border
#C8C4C6
text
#080305
muted
#7B7879

Preview Lab

Preview with #3A162B

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

Preview Lab → · Contrast checker → · Palette generator →

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