#3A1127#3A1127

#3A1127 is a dark, moderate pink. Relative luminance 0.014; OKLCH L 25.3% C 0.071 H 350.1°. Best body text is #FFFFFF at 16.29:1 contrast (WCAG AA passes).

Color values

HEX#3A1127
RGBrgb(58, 17, 39)
HSLhsl(328, 55%, 15%)
HSVhsv(328, 71%, 23%)
CMYKcmyk(0%, 70.7%, 32.8%, 77.3%)
CIE-LABlab(12.27, 23.02, -4.70)
CIE-LCHlch(12.27, 23.49, 348.47°)
OKLaboklab(25.3% 0.0698 -0.0122)
OKLCHoklch(25.3% 0.071 350.1)
XYZxyz(2.3117, 1.4472, 2.0766)
Luminance0.0145 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A1127 #113A24
analogous
#39113A #3A1127 #3A1112
triadic
#3A1127 #273A11 #11273A
tetradic
#3A1127 #3A3911 #113A24 #11123A
square
#3A1127 #3A3911 #113A24 #11123A
split-complementary
#3A1127 #123A11 #113A39
monochromatic
#180710 #180710 #3A1127 #691F47 #992D67

Accessibility & contrast

On white

16.29
#3A1127 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#3A1127 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A1127
16.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A1127#FFFFFF#000000##FFFFFF
##3A11271.0016.291.2916.29
#FFFFFF16.291.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#161B28
Deuteranopia (green-blind)
#222326
Tritanopia (blue-blind)
#3F0F1A
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #3a1127;
/* rgb */ color: rgb(58, 17, 39);
/* oklch */ color: oklch(25.3% 0.071 350.1);
Tailwind
colors: {
  custom: {
    50: '#725261',
    500: '#3a1127',
    950: '#000000',
  },
}
SCSS
$custom: #3a1127;
$custom-light: #725261;
$custom-dark: #000000;
JSON
{
  "hex": "#3a1127",
  "rgb": {
    "r": 58,
    "g": 17,
    "b": 39
  },
  "hsl": {
    "h": 327.805,
    "s": 54.667,
    "l": 14.706
  },
  "oklch": {
    "l": 0.25299,
    "c": 0.07089,
    "h": 350.1
  },
  "luminance": 0.01447
}

Semantic roles & 50–950 ramp

primary
#3A1127
secondary
#337351
accent
#DE8E4A
background
#F7F4F5
surface
#EDE7E9
border
#C8C3C5
text
#080205
muted
#7B7879

Preview Lab

Preview with #3A1127

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

Preview Lab → · Contrast checker → · Palette generator →

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