#3A052F#3A052F

#3A052F is a very dark, moderate pink. Relative luminance 0.012; OKLCH L 24.3% C 0.096 H 338.2°. Best body text is #FFFFFF at 16.90:1 contrast (WCAG AA passes).

Color values

HEX#3A052F
RGBrgb(58, 5, 47)
HSLhsl(312, 84%, 12%)
HSVhsv(312, 91%, 23%)
CMYKcmyk(0%, 91.4%, 19%, 77.3%)
CIE-LABlab(10.66, 29.98, -13.08)
CIE-LCHlch(10.66, 32.71, 336.43°)
OKLaboklab(24.26% 0.089 -0.0355)
OKLCHoklch(24.26% 0.096 338.2)
XYZxyz(2.3123, 1.2135, 2.8012)
Luminance0.0121 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A052F #053A10
analogous
#2B053A #3A052F #3A0514
triadic
#3A052F #2F3A05 #052F3A
tetradic
#3A052F #3A2B05 #053A10 #05143A
square
#3A052F #3A2B05 #053A10 #05143A
split-complementary
#3A052F #143A05 #053A2B
monochromatic
#1C0217 #1C0217 #3A052F #720A5D #AB0F8A

Accessibility & contrast

On white

16.90
#3A052F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.24
#3A052F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A052F
16.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A052F#FFFFFF#000000##FFFFFF
##3A052F1.0016.901.2416.90
#FFFFFF16.901.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#071830
Deuteranopia (green-blind)
#1A202E
Tritanopia (blue-blind)
#3E0819
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #3a052f;
/* rgb */ color: rgb(58, 5, 47);
/* oklch */ color: oklch(24.3% 0.096 338.2);
Tailwind
colors: {
  custom: {
    50: '#734c67',
    500: '#3a052f',
    950: '#000000',
  },
}
SCSS
$custom: #3a052f;
$custom-light: #734c67;
$custom-dark: #000000;
JSON
{
  "hex": "#3a052f",
  "rgb": {
    "r": 58,
    "g": 5,
    "b": 47
  },
  "hsl": {
    "h": 312.453,
    "s": 84.127,
    "l": 12.353
  },
  "oklch": {
    "l": 0.24257,
    "c": 0.09581,
    "h": 338.2
  },
  "luminance": 0.01213
}

Semantic roles & 50–950 ramp

primary
#3A052F
secondary
#207B33
accent
#FA582D
background
#F7F4F6
surface
#EDE7EB
border
#C8C3C6
text
#080106
muted
#7B777A

Preview Lab

Preview with #3A052F

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

Preview Lab → · Contrast checker → · Palette generator →

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