#3A031B#3A031B

#3A031B is a very dark, moderate pink. Relative luminance 0.010; OKLCH L 23.0% C 0.087 H 0.3°. Best body text is #FFFFFF at 17.37:1 contrast (WCAG AA passes).

Color values

HEX#3A031B
RGBrgb(58, 3, 27)
HSLhsl(334, 90%, 12%)
HSVhsv(334, 95%, 23%)
CMYKcmyk(0%, 94.8%, 53.4%, 77.3%)
CIE-LABlab(9.35, 28.19, 0.03)
CIE-LCHlch(9.35, 28.19, 0.07°)
OKLaboklab(23% 0.0868 0.0004)
OKLCHoklch(23% 0.087 0.3)
XYZxyz(1.9755, 1.0441, 1.1342)
Luminance0.0104 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A031B #033A22
analogous
#3A0337 #3A031B #3A0603
triadic
#3A031B #1B3A03 #031B3A
tetradic
#3A031B #373A03 #033A22 #06033A
square
#3A031B #373A03 #033A22 #06033A
split-complementary
#3A031B #033A06 #03373A
monochromatic
#1D020E #1D020E #3A031B #740636 #AE0951

Accessibility & contrast

On white

17.37
#3A031B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3A031B
17.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A031B#FFFFFF#000000##FFFFFF
##3A031B1.0017.371.2117.37
#FFFFFF17.371.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#10131C
Deuteranopia (green-blind)
#1F1E1A
Tritanopia (blue-blind)
#40000D
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #3a031b;
/* rgb */ color: rgb(58, 3, 27);
/* oklch */ color: oklch(23.0% 0.087 0.3);
Tailwind
colors: {
  custom: {
    50: '#744a57',
    500: '#3a031b',
    950: '#000000',
  },
}
SCSS
$custom: #3a031b;
$custom-light: #744a57;
$custom-dark: #000000;
JSON
{
  "hex": "#3a031b",
  "rgb": {
    "r": 58,
    "g": 3,
    "b": 27
  },
  "hsl": {
    "h": 333.818,
    "s": 90.164,
    "l": 11.961
  },
  "oklch": {
    "l": 0.22997,
    "c": 0.08677,
    "h": 0.3
  },
  "luminance": 0.01044
}

Semantic roles & 50–950 ramp

primary
#3A031B
secondary
#1C7D53
accent
#FFA229
background
#F7F4F5
surface
#EDE7E9
border
#C8C3C5
text
#090103
muted
#7B7778

Preview Lab

Preview with #3A031B

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

Preview Lab → · Contrast checker → · Palette generator →

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