#3A152D#3A152D

#3A152D is a dark, moderate pink. Relative luminance 0.016; OKLCH L 26.2% C 0.068 H 343.1°. Best body text is #FFFFFF at 15.85:1 contrast (WCAG AA passes).

Color values

HEX#3A152D
RGBrgb(58, 21, 45)
HSLhsl(321, 47%, 15%)
HSVhsv(321, 64%, 23%)
CMYKcmyk(0%, 63.8%, 22.4%, 77.3%)
CIE-LABlab(13.38, 21.78, -7.40)
CIE-LCHlch(13.38, 23.00, 341.22°)
OKLaboklab(26.22% 0.0649 -0.0197)
OKLCHoklch(26.22% 0.068 343.1)
XYZxyz(2.4868, 1.6255, 2.6649)
Luminance0.0163 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A152D #153A22
analogous
#34153A #3A152D #3A151A
triadic
#3A152D #2D3A15 #152D3A
tetradic
#3A152D #3A3415 #153A22 #151A3A
square
#3A152D #3A3415 #153A22 #151A3A
split-complementary
#3A152D #1A3A15 #153A34
monochromatic
#160811 #160811 #3A152D #672550 #943673

Accessibility & contrast

On white

15.85
#3A152D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3A152D
15.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A152D#FFFFFF#000000##FFFFFF
##3A152D1.0015.851.3315.85
#FFFFFF15.851.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#181F2E
Deuteranopia (green-blind)
#22252C
Tritanopia (blue-blind)
#3E151F
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #3a152d;
/* rgb */ color: rgb(58, 21, 45);
/* oklch */ color: oklch(26.2% 0.068 343.1);
Tailwind
colors: {
  custom: {
    50: '#725465',
    500: '#3a152d',
    950: '#000000',
  },
}
SCSS
$custom: #3a152d;
$custom-light: #725465;
$custom-dark: #000000;
JSON
{
  "hex": "#3a152d",
  "rgb": {
    "r": 58,
    "g": 21,
    "b": 45
  },
  "hsl": {
    "h": 321.081,
    "s": 46.835,
    "l": 15.49
  },
  "oklch": {
    "l": 0.26216,
    "c": 0.06781,
    "h": 343.1
  },
  "luminance": 0.01625
}

Semantic roles & 50–950 ramp

primary
#3A152D
secondary
#39714D
accent
#D68051
background
#F7F4F6
surface
#EDE8EB
border
#C8C4C6
text
#080305
muted
#7B787A

Preview Lab

Preview with #3A152D

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

Preview Lab → · Contrast checker → · Palette generator →

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