#3A031F#3A031F

#3A031F is a very dark, moderate pink. Relative luminance 0.011; OKLCH L 23.2% C 0.089 H 355.4°. Best body text is #FFFFFF at 17.32:1 contrast (WCAG AA passes).

Color values

HEX#3A031F
RGBrgb(58, 3, 31)
HSLhsl(329, 90%, 12%)
HSVhsv(329, 95%, 23%)
CMYKcmyk(0%, 94.8%, 46.6%, 77.3%)
CIE-LABlab(9.51, 28.64, -2.81)
CIE-LCHlch(9.51, 28.78, 354.40°)
OKLaboklab(23.17% 0.0883 -0.007)
OKLCHoklch(23.17% 0.089 355.4)
XYZxyz(2.0250, 1.0639, 1.3948)
Luminance0.0106 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A031F #033A1E
analogous
#3A033A #3A031F #3A0303
triadic
#3A031F #1F3A03 #031F3A
tetradic
#3A031F #3A3A03 #033A1E #03033A
square
#3A031F #3A3A03 #033A1E #03033A
split-complementary
#3A031F #033A03 #033A3A
monochromatic
#1D0210 #1D0210 #3A031F #74063E #AE095D

Accessibility & contrast

On white

17.32
#3A031F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#3A031F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A031F
17.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A031F#FFFFFF#000000##FFFFFF
##3A031F1.0017.321.2117.32
#FFFFFF17.321.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F1420
Deuteranopia (green-blind)
#1E1E1E
Tritanopia (blue-blind)
#400010
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #3a031f;
/* rgb */ color: rgb(58, 3, 31);
/* oklch */ color: oklch(23.2% 0.089 355.4);
Tailwind
colors: {
  custom: {
    50: '#744a5a',
    500: '#3a031f',
    950: '#000000',
  },
}
SCSS
$custom: #3a031f;
$custom-light: #744a5a;
$custom-dark: #000000;
JSON
{
  "hex": "#3a031f",
  "rgb": {
    "r": 58,
    "g": 3,
    "b": 31
  },
  "hsl": {
    "h": 329.455,
    "s": 90.164,
    "l": 11.961
  },
  "oklch": {
    "l": 0.23165,
    "c": 0.08856,
    "h": 355.4
  },
  "luminance": 0.01064
}

Semantic roles & 50–950 ramp

primary
#3A031F
secondary
#1C7D4C
accent
#FF9229
background
#F7F4F5
surface
#EDE7E9
border
#C8C3C5
text
#080103
muted
#7B7778

Preview Lab

Preview with #3A031F

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

Preview Lab → · Contrast checker → · Palette generator →

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