#3A152F#3A152F

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

Color values

HEX#3A152F
RGBrgb(58, 21, 47)
HSLhsl(318, 47%, 15%)
HSVhsv(318, 64%, 23%)
CMYKcmyk(0%, 63.8%, 19%, 77.3%)
CIE-LABlab(13.48, 22.15, -8.71)
CIE-LCHlch(13.48, 23.80, 338.53°)
OKLaboklab(26.32% 0.0655 -0.0233)
OKLCHoklch(26.32% 0.07 340.4)
XYZxyz(2.5262, 1.6413, 2.8725)
Luminance0.0164 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A152F #153A20
analogous
#32153A #3A152F #3A151C
triadic
#3A152F #2F3A15 #152F3A
tetradic
#3A152F #3A3215 #153A20 #151C3A
square
#3A152F #3A3215 #153A20 #151C3A
split-complementary
#3A152F #1C3A15 #153A32
monochromatic
#160812 #160812 #3A152F #672553 #943678

Accessibility & contrast

On white

15.81
#3A152F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3A152F
15.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A152F#FFFFFF#000000##FFFFFF
##3A152F1.0015.811.3315.81
#FFFFFF15.811.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#171F30
Deuteranopia (green-blind)
#21252E
Tritanopia (blue-blind)
#3E161F
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #3a152f;
/* rgb */ color: rgb(58, 21, 47);
/* oklch */ color: oklch(26.3% 0.070 340.4);
Tailwind
colors: {
  custom: {
    50: '#725467',
    500: '#3a152f',
    950: '#000000',
  },
}
SCSS
$custom: #3a152f;
$custom-light: #725467;
$custom-dark: #000000;
JSON
{
  "hex": "#3a152f",
  "rgb": {
    "r": 58,
    "g": 21,
    "b": 47
  },
  "hsl": {
    "h": 317.838,
    "s": 46.835,
    "l": 15.49
  },
  "oklch": {
    "l": 0.26317,
    "c": 0.06952,
    "h": 340.4
  },
  "luminance": 0.01641
}

Semantic roles & 50–950 ramp

primary
#3A152F
secondary
#39714A
accent
#D67951
background
#F7F4F6
surface
#EDE8EB
border
#C8C4C6
text
#080306
muted
#7B787A

Preview Lab

Preview with #3A152F

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

Preview Lab → · Contrast checker → · Palette generator →

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