#3A0C2A#3A0C2A

#3A0C2A is a very dark, moderate pink. Relative luminance 0.013; OKLCH L 24.8% C 0.081 H 344.6°. Best body text is #FFFFFF at 16.59:1 contrast (WCAG AA passes).

Color values

HEX#3A0C2A
RGBrgb(58, 12, 42)
HSLhsl(321, 66%, 14%)
HSVhsv(321, 79%, 23%)
CMYKcmyk(0%, 79.3%, 27.6%, 77.3%)
CIE-LABlab(11.48, 26.04, -8.11)
CIE-LCHlch(11.48, 27.28, 342.71°)
OKLaboklab(24.77% 0.0786 -0.0216)
OKLCHoklch(24.77% 0.081 344.6)
XYZxyz(2.2944, 1.3299, 2.3259)
Luminance0.0133 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A0C2A #0C3A1C
analogous
#330C3A #3A0C2A #3A0C13
triadic
#3A0C2A #2A3A0C #0C2A3A
tetradic
#3A0C2A #3A330C #0C3A1C #0C133A
square
#3A0C2A #3A330C #0C3A1C #0C133A
split-complementary
#3A0C2A #133A0C #0C3A33
monochromatic
#190512 #190512 #3A0C2A #6D164F #9F2173

Accessibility & contrast

On white

16.59
#3A0C2A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.27
#3A0C2A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A0C2A
16.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A0C2A#FFFFFF#000000##FFFFFF
##3A0C2A1.0016.591.2716.59
#FFFFFF16.591.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#111A2B
Deuteranopia (green-blind)
#1F2129
Tritanopia (blue-blind)
#3E0C19
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #3a0c2a;
/* rgb */ color: rgb(58, 12, 42);
/* oklch */ color: oklch(24.8% 0.081 344.6);
Tailwind
colors: {
  custom: {
    50: '#724f63',
    500: '#3a0c2a',
    950: '#000000',
  },
}
SCSS
$custom: #3a0c2a;
$custom-light: #724f63;
$custom-dark: #000000;
JSON
{
  "hex": "#3a0c2a",
  "rgb": {
    "r": 58,
    "g": 12,
    "b": 42
  },
  "hsl": {
    "h": 320.87,
    "s": 65.714,
    "l": 13.725
  },
  "oklch": {
    "l": 0.24767,
    "c": 0.08147,
    "h": 344.6
  },
  "luminance": 0.0133
}

Semantic roles & 50–950 ramp

primary
#3A0C2A
secondary
#2C7646
accent
#E97A3F
background
#F7F4F5
surface
#EDE7EA
border
#C8C3C6
text
#080205
muted
#7B7879

Preview Lab

Preview with #3A0C2A

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

Preview Lab → · Contrast checker → · Palette generator →

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