#3A152B#3A152B

#3A152B is a dark, moderate pink. Relative luminance 0.016; OKLCH L 26.1% C 0.066 H 346.0°. Best body text is #FFFFFF at 15.89:1 contrast (WCAG AA passes).

Color values

HEX#3A152B
RGBrgb(58, 21, 43)
HSLhsl(324, 47%, 15%)
HSVhsv(324, 64%, 23%)
CMYKcmyk(0%, 63.8%, 25.9%, 77.3%)
CIE-LABlab(13.29, 21.42, -6.09)
CIE-LCHlch(13.29, 22.26, 344.14°)
OKLaboklab(26.12% 0.0642 -0.0161)
OKLCHoklch(26.12% 0.066 346)
XYZxyz(2.4492, 1.6105, 2.4669)
Luminance0.0161 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A152B #153A24
analogous
#36153A #3A152B #3A1519
triadic
#3A152B #2B3A15 #152B3A
tetradic
#3A152B #3A3615 #153A24 #15193A
square
#3A152B #3A3615 #153A24 #15193A
split-complementary
#3A152B #193A15 #153A36
monochromatic
#160811 #160811 #3A152B #67254C #94366E

Accessibility & contrast

On white

15.89
#3A152B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#3A152B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A152B
15.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A152B#FFFFFF#000000##FFFFFF
##3A152B1.0015.891.3215.89
#FFFFFF15.891.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#181E2C
Deuteranopia (green-blind)
#23242A
Tritanopia (blue-blind)
#3E141E
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #3a152b;
/* rgb */ color: rgb(58, 21, 43);
/* oklch */ color: oklch(26.1% 0.066 346.0);
Tailwind
colors: {
  custom: {
    50: '#725464',
    500: '#3a152b',
    950: '#000000',
  },
}
SCSS
$custom: #3a152b;
$custom-light: #725464;
$custom-dark: #000000;
JSON
{
  "hex": "#3a152b",
  "rgb": {
    "r": 58,
    "g": 21,
    "b": 43
  },
  "hsl": {
    "h": 324.324,
    "s": 46.835,
    "l": 15.49
  },
  "oklch": {
    "l": 0.26118,
    "c": 0.06621,
    "h": 346
  },
  "luminance": 0.0161
}

Semantic roles & 50–950 ramp

primary
#3A152B
secondary
#397150
accent
#D68751
background
#F7F4F5
surface
#EDE8EA
border
#C8C4C6
text
#080305
muted
#7B7879

Preview Lab

Preview with #3A152B

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

Preview Lab → · Contrast checker → · Palette generator →

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