#3A0421#3A0421

#3A0421 is a very dark, moderate pink. Relative luminance 0.011; OKLCH L 23.4% C 0.088 H 353.4°. Best body text is #FFFFFF at 17.22:1 contrast (WCAG AA passes).

Color values

HEX#3A0421
RGBrgb(58, 4, 33)
HSLhsl(328, 87%, 12%)
HSVhsv(328, 93%, 23%)
CMYKcmyk(0%, 93.1%, 43.1%, 77.3%)
CIE-LABlab(9.77, 28.40, -3.95)
CIE-LCHlch(9.77, 28.67, 352.08°)
OKLaboklab(23.38% 0.0874 -0.0101)
OKLCHoklch(23.38% 0.088 353.4)
XYZxyz(2.0630, 1.0964, 1.5415)
Luminance0.0110 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A0421 #043A1D
analogous
#38043A #3A0421 #3A0406
triadic
#3A0421 #213A04 #04213A
tetradic
#3A0421 #3A3804 #043A1D #04063A
square
#3A0421 #3A3804 #043A1D #04063A
split-complementary
#3A0421 #063A04 #043A38
monochromatic
#1D0210 #1D0210 #3A0421 #730842 #AD0C62

Accessibility & contrast

On white

17.22
#3A0421 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#3A0421 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A0421
17.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A0421#FFFFFF#000000##FFFFFF
##3A04211.0017.221.2217.22
#FFFFFF17.221.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F1522
Deuteranopia (green-blind)
#1E1F20
Tritanopia (blue-blind)
#3F0011
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #3a0421;
/* rgb */ color: rgb(58, 4, 33);
/* oklch */ color: oklch(23.4% 0.088 353.4);
Tailwind
colors: {
  custom: {
    50: '#734b5c',
    500: '#3a0421',
    950: '#000000',
  },
}
SCSS
$custom: #3a0421;
$custom-light: #734b5c;
$custom-dark: #000000;
JSON
{
  "hex": "#3a0421",
  "rgb": {
    "r": 58,
    "g": 4,
    "b": 33
  },
  "hsl": {
    "h": 327.778,
    "s": 87.097,
    "l": 12.157
  },
  "oklch": {
    "l": 0.23381,
    "c": 0.08795,
    "h": 353.4
  },
  "luminance": 0.01096
}

Semantic roles & 50–950 ramp

primary
#3A0421
secondary
#1E7C49
accent
#FD8C2B
background
#F7F4F5
surface
#EDE7E9
border
#C8C3C5
text
#080104
muted
#7B7779

Preview Lab

Preview with #3A0421

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

Preview Lab → · Contrast checker → · Palette generator →

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