#3A0731#3A0731

#3A0731 is a very dark, moderate pink. Relative luminance 0.013; OKLCH L 24.6% C 0.094 H 336.4°. Best body text is #FFFFFF at 16.74:1 contrast (WCAG AA passes).

Color values

HEX#3A0731
RGBrgb(58, 7, 49)
HSLhsl(311, 78%, 13%)
HSVhsv(311, 88%, 23%)
CMYKcmyk(0%, 87.9%, 15.5%, 77.3%)
CIE-LABlab(11.09, 29.42, -13.87)
CIE-LCHlch(11.09, 32.53, 334.75°)
OKLaboklab(24.61% 0.0865 -0.0378)
OKLCHoklch(24.61% 0.094 336.4)
XYZxyz(2.3753, 1.2735, 3.0258)
Luminance0.0127 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A0731 #073A10
analogous
#29073A #3A0731 #3A0717
triadic
#3A0731 #313A07 #07313A
tetradic
#3A0731 #3A2907 #073A10 #07173A
square
#3A0731 #3A2907 #073A10 #07173A
split-complementary
#3A0731 #173A07 #073A29
monochromatic
#1B0317 #1B0317 #3A0731 #710E5F #A7148D

Accessibility & contrast

On white

16.74
#3A0731 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3A0731
16.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A0731#FFFFFF#000000##FFFFFF
##3A07311.0016.741.2516.74
#FFFFFF16.741.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#081932
Deuteranopia (green-blind)
#1A2030
Tritanopia (blue-blind)
#3E0B1B
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #3a0731;
/* rgb */ color: rgb(58, 7, 49);
/* oklch */ color: oklch(24.6% 0.094 336.4);
Tailwind
colors: {
  custom: {
    50: '#734d69',
    500: '#3a0731',
    950: '#000000',
  },
}
SCSS
$custom: #3a0731;
$custom-light: #734d69;
$custom-dark: #000000;
JSON
{
  "hex": "#3a0731",
  "rgb": {
    "r": 58,
    "g": 7,
    "b": 49
  },
  "hsl": {
    "h": 310.588,
    "s": 78.462,
    "l": 12.745
  },
  "oklch": {
    "l": 0.24606,
    "c": 0.09439,
    "h": 336.4
  },
  "luminance": 0.01273
}

Semantic roles & 50–950 ramp

primary
#3A0731
secondary
#237933
accent
#F55533
background
#F7F4F6
surface
#EDE7EB
border
#C8C3C6
text
#080206
muted
#7B787A

Preview Lab

Preview with #3A0731

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

Preview Lab → · Contrast checker → · Palette generator →

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