#3A0631#3A0631

#3A0631 is a very dark, moderate pink. Relative luminance 0.013; OKLCH L 24.5% C 0.096 H 336.3°. Best body text is #FFFFFF at 16.79:1 contrast (WCAG AA passes).

Color values

HEX#3A0631
RGBrgb(58, 6, 49)
HSLhsl(310, 81%, 13%)
HSVhsv(310, 90%, 23%)
CMYKcmyk(0%, 89.7%, 15.5%, 77.3%)
CIE-LABlab(10.93, 29.87, -14.12)
CIE-LCHlch(10.93, 33.03, 334.70°)
OKLaboklab(24.49% 0.0878 -0.0385)
OKLCHoklch(24.49% 0.096 336.3)
XYZxyz(2.3645, 1.2518, 3.0222)
Luminance0.0125 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A0631 #063A0F
analogous
#29063A #3A0631 #3A0617
triadic
#3A0631 #313A06 #06313A
tetradic
#3A0631 #3A2906 #063A0F #06173A
square
#3A0631 #3A2906 #063A0F #06173A
split-complementary
#3A0631 #173A06 #063A29
monochromatic
#1C0317 #1C0317 #3A0631 #710C60 #A9118F

Accessibility & contrast

On white

16.79
#3A0631 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.25
#3A0631 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A0631
16.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A0631#FFFFFF#000000##FFFFFF
##3A06311.0016.791.2516.79
#FFFFFF16.791.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#071832
Deuteranopia (green-blind)
#1A2030
Tritanopia (blue-blind)
#3E0A1B
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #3a0631;
/* rgb */ color: rgb(58, 6, 49);
/* oklch */ color: oklch(24.5% 0.096 336.3);
Tailwind
colors: {
  custom: {
    50: '#734d69',
    500: '#3a0631',
    950: '#000000',
  },
}
SCSS
$custom: #3a0631;
$custom-light: #734d69;
$custom-dark: #000000;
JSON
{
  "hex": "#3a0631",
  "rgb": {
    "r": 58,
    "g": 6,
    "b": 49
  },
  "hsl": {
    "h": 310.385,
    "s": 81.25,
    "l": 12.549
  },
  "oklch": {
    "l": 0.24494,
    "c": 0.09589,
    "h": 336.3
  },
  "luminance": 0.01252
}

Semantic roles & 50–950 ramp

primary
#3A0631
secondary
#227A31
accent
#F85330
background
#F7F4F6
surface
#EDE7EB
border
#C8C3C6
text
#080106
muted
#7B777A

Preview Lab

Preview with #3A0631

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

Preview Lab → · Contrast checker → · Palette generator →

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