#3A022F#3A022F

#3A022F is a very dark, moderate pink. Relative luminance 0.011; OKLCH L 23.9% C 0.101 H 338.0°. Best body text is #FFFFFF at 17.08:1 contrast (WCAG AA passes).

Color values

HEX#3A022F
RGBrgb(58, 2, 47)
HSLhsl(312, 93%, 12%)
HSVhsv(312, 97%, 23%)
CMYKcmyk(0%, 96.6%, 19%, 77.3%)
CIE-LABlab(10.17, 31.39, -13.84)
CIE-LCHlch(10.17, 34.31, 336.20°)
OKLaboklab(23.91% 0.0932 -0.0377)
OKLCHoklch(23.91% 0.101 338)
XYZxyz(2.2798, 1.1484, 2.7904)
Luminance0.0115 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A022F #023A0D
analogous
#29023A #3A022F #3A0213
triadic
#3A022F #2F3A02 #022F3A
tetradic
#3A022F #3A2902 #023A0D #02133A
square
#3A022F #3A2902 #023A0D #02133A
split-complementary
#3A022F #133A02 #023A29
monochromatic
#1E0118 #1E0118 #3A022F #75045F #B0068F

Accessibility & contrast

On white

17.08
#3A022F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#3A022F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A022F
17.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A022F#FFFFFF#000000##FFFFFF
##3A022F1.0017.081.2317.08
#FFFFFF17.081.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#041630
Deuteranopia (green-blind)
#191F2E
Tritanopia (blue-blind)
#3E0518
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #3a022f;
/* rgb */ color: rgb(58, 2, 47);
/* oklch */ color: oklch(23.9% 0.101 338.0);
Tailwind
colors: {
  custom: {
    50: '#734b67',
    500: '#3a022f',
    950: '#000000',
  },
}
SCSS
$custom: #3a022f;
$custom-light: #734b67;
$custom-dark: #000000;
JSON
{
  "hex": "#3a022f",
  "rgb": {
    "r": 58,
    "g": 2,
    "b": 47
  },
  "hsl": {
    "h": 311.786,
    "s": 93.333,
    "l": 11.765
  },
  "oklch": {
    "l": 0.23909,
    "c": 0.10056,
    "h": 338
  },
  "luminance": 0.01148
}

Semantic roles & 50–950 ramp

primary
#3A022F
secondary
#1A7D2E
accent
#FF5329
background
#F7F4F6
surface
#EDE7EB
border
#C8C3C6
text
#080106
muted
#7B777A

Preview Lab

Preview with #3A022F

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

Preview Lab → · Contrast checker → · Palette generator →

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