#3A0831#3A0831

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

Color values

HEX#3A0831
RGBrgb(58, 8, 49)
HSLhsl(311, 76%, 13%)
HSVhsv(311, 86%, 23%)
CMYKcmyk(0%, 86.2%, 15.5%, 77.3%)
CIE-LABlab(11.24, 28.98, -13.64)
CIE-LCHlch(11.24, 32.03, 334.81°)
OKLaboklab(24.72% 0.0852 -0.0372)
OKLCHoklch(24.72% 0.093 336.4)
XYZxyz(2.3862, 1.2952, 3.0295)
Luminance0.0129 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A0831 #083A11
analogous
#2A083A #3A0831 #3A0818
triadic
#3A0831 #313A08 #08313A
tetradic
#3A0831 #3A2A08 #083A11 #08183A
square
#3A0831 #3A2A08 #083A11 #08183A
split-complementary
#3A0831 #183A08 #083A2A
monochromatic
#1B0417 #1B0417 #3A0831 #700F5E #A6178C

Accessibility & contrast

On white

16.68
#3A0831 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#3A0831 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A0831
16.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A0831#FFFFFF#000000##FFFFFF
##3A08311.0016.681.2616.68
#FFFFFF16.681.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.681.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3a0831;
/* rgb */ color: rgb(58, 8, 49);
/* oklch */ color: oklch(24.7% 0.093 336.4);
Tailwind
colors: {
  custom: {
    50: '#724e69',
    500: '#3a0831',
    950: '#000000',
  },
}
SCSS
$custom: #3a0831;
$custom-light: #724e69;
$custom-dark: #000000;
JSON
{
  "hex": "#3a0831",
  "rgb": {
    "r": 58,
    "g": 8,
    "b": 49
  },
  "hsl": {
    "h": 310.8,
    "s": 75.758,
    "l": 12.941
  },
  "oklch": {
    "l": 0.24716,
    "c": 0.09293,
    "h": 336.4
  },
  "luminance": 0.01295
}

Semantic roles & 50–950 ramp

primary
#3A0831
secondary
#257934
accent
#F25735
background
#F7F4F6
surface
#EDE7EB
border
#C8C3C6
text
#080206
muted
#7B787A

Preview Lab

Preview with #3A0831

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

Preview Lab → · Contrast checker → · Palette generator →

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