#3A172E#3A172E

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

Color values

HEX#3A172E
RGBrgb(58, 23, 46)
HSLhsl(321, 43%, 16%)
HSVhsv(321, 60%, 23%)
CMYKcmyk(0%, 60.3%, 20.7%, 77.3%)
CIE-LABlab(13.88, 20.76, -7.37)
CIE-LCHlch(13.88, 22.03, 340.46°)
OKLaboklab(26.6% 0.0616 -0.0196)
OKLCHoklch(26.6% 0.065 342.3)
XYZxyz(2.5445, 1.7098, 2.7802)
Luminance0.0171 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A172E #173A23
analogous
#34173A #3A172E #3A171C
triadic
#3A172E #2E3A17 #172E3A
tetradic
#3A172E #3A3417 #173A23 #171C3A
square
#3A172E #3A3417 #173A23 #171C3A
split-complementary
#3A172E #1C3A17 #173A34
monochromatic
#160911 #160911 #3A172E #662851 #923A74

Accessibility & contrast

On white

15.65
#3A172E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3A172E
15.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A172E#FFFFFF#000000##FFFFFF
##3A172E1.0015.651.3415.65
#FFFFFF15.651.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#19202F
Deuteranopia (green-blind)
#23252D
Tritanopia (blue-blind)
#3E1720
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #3a172e;
/* rgb */ color: rgb(58, 23, 46);
/* oklch */ color: oklch(26.6% 0.065 342.3);
Tailwind
colors: {
  custom: {
    50: '#715666',
    500: '#3a172e',
    950: '#000000',
  },
}
SCSS
$custom: #3a172e;
$custom-light: #715666;
$custom-dark: #000000;
JSON
{
  "hex": "#3a172e",
  "rgb": {
    "r": 58,
    "g": 23,
    "b": 46
  },
  "hsl": {
    "h": 320.571,
    "s": 43.21,
    "l": 15.882
  },
  "oklch": {
    "l": 0.26602,
    "c": 0.06466,
    "h": 342.3
  },
  "luminance": 0.0171
}

Semantic roles & 50–950 ramp

primary
#3A172E
secondary
#3C714E
accent
#D38055
background
#F6F5F6
surface
#ECE9EB
border
#C7C5C6
text
#080306
muted
#7B787A

Preview Lab

Preview with #3A172E

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

Preview Lab → · Contrast checker → · Palette generator →

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