#3A022D#3A022D

#3A022D is a very dark, moderate pink. Relative luminance 0.011; OKLCH L 23.8% C 0.099 H 339.9°. Best body text is #FFFFFF at 17.12:1 contrast (WCAG AA passes).

Color values

HEX#3A022D
RGBrgb(58, 2, 45)
HSLhsl(314, 93%, 12%)
HSVhsv(314, 97%, 23%)
CMYKcmyk(0%, 96.6%, 22.4%, 77.3%)
CIE-LABlab(10.05, 31.07, -12.55)
CIE-LCHlch(10.05, 33.51, 338.01°)
OKLaboklab(23.78% 0.093 -0.034)
OKLCHoklch(23.78% 0.099 339.9)
XYZxyz(2.2404, 1.1327, 2.5828)
Luminance0.0113 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A022D #023A0F
analogous
#2B023A #3A022D #3A0211
triadic
#3A022D #2D3A02 #022D3A
tetradic
#3A022D #3A2B02 #023A0F #02113A
square
#3A022D #3A2B02 #023A0F #02113A
split-complementary
#3A022D #113A02 #023A2B
monochromatic
#1E0117 #1E0117 #3A022D #75045B #B00689

Accessibility & contrast

On white

17.12
#3A022D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3A022D
17.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A022D#FFFFFF#000000##FFFFFF
##3A022D1.0017.121.2317.12
#FFFFFF17.121.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#06162E
Deuteranopia (green-blind)
#1A1F2C
Tritanopia (blue-blind)
#3E0417
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #3a022d;
/* rgb */ color: rgb(58, 2, 45);
/* oklch */ color: oklch(23.8% 0.099 339.9);
Tailwind
colors: {
  custom: {
    50: '#734a66',
    500: '#3a022d',
    950: '#000000',
  },
}
SCSS
$custom: #3a022d;
$custom-light: #734a66;
$custom-dark: #000000;
JSON
{
  "hex": "#3a022d",
  "rgb": {
    "r": 58,
    "g": 2,
    "b": 45
  },
  "hsl": {
    "h": 313.929,
    "s": 93.333,
    "l": 11.765
  },
  "oklch": {
    "l": 0.23784,
    "c": 0.09906,
    "h": 339.9
  },
  "luminance": 0.01132
}

Semantic roles & 50–950 ramp

primary
#3A022D
secondary
#1A7D31
accent
#FF5B29
background
#F7F4F6
surface
#EDE7EB
border
#C8C3C6
text
#080105
muted
#7B777A

Preview Lab

Preview with #3A022D

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

Preview Lab → · Contrast checker → · Palette generator →

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