#3A152E#3A152E

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

Color values

HEX#3A152E
RGBrgb(58, 21, 46)
HSLhsl(319, 47%, 15%)
HSVhsv(319, 64%, 23%)
CMYKcmyk(0%, 63.8%, 20.7%, 77.3%)
CIE-LABlab(13.43, 21.96, -8.06)
CIE-LCHlch(13.43, 23.39, 339.85°)
OKLaboklab(26.27% 0.0652 -0.0215)
OKLCHoklch(26.27% 0.069 341.7)
XYZxyz(2.5063, 1.6333, 2.7675)
Luminance0.0163 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A152E #153A21
analogous
#33153A #3A152E #3A151C
triadic
#3A152E #2E3A15 #152E3A
tetradic
#3A152E #3A3315 #153A21 #151C3A
square
#3A152E #3A3315 #153A21 #151C3A
split-complementary
#3A152E #1C3A15 #153A33
monochromatic
#160812 #160812 #3A152E #672552 #943675

Accessibility & contrast

On white

15.83
#3A152E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3A152E
15.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A152E#FFFFFF#000000##FFFFFF
##3A152E1.0015.831.3315.83
#FFFFFF15.831.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#171F2F
Deuteranopia (green-blind)
#22252D
Tritanopia (blue-blind)
#3E151F
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #3a152e;
/* rgb */ color: rgb(58, 21, 46);
/* oklch */ color: oklch(26.3% 0.069 341.7);
Tailwind
colors: {
  custom: {
    50: '#725466',
    500: '#3a152e',
    950: '#000000',
  },
}
SCSS
$custom: #3a152e;
$custom-light: #725466;
$custom-dark: #000000;
JSON
{
  "hex": "#3a152e",
  "rgb": {
    "r": 58,
    "g": 21,
    "b": 46
  },
  "hsl": {
    "h": 319.459,
    "s": 46.835,
    "l": 15.49
  },
  "oklch": {
    "l": 0.26266,
    "c": 0.06865,
    "h": 341.7
  },
  "luminance": 0.01633
}

Semantic roles & 50–950 ramp

primary
#3A152E
secondary
#39714C
accent
#D67D51
background
#F7F4F6
surface
#EDE8EB
border
#C8C4C6
text
#080306
muted
#7B787A

Preview Lab

Preview with #3A152E

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

Preview Lab → · Contrast checker → · Palette generator →

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