#3A031C#3A031C

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

Color values

HEX#3A031C
RGBrgb(58, 3, 28)
HSLhsl(333, 90%, 12%)
HSVhsv(333, 95%, 23%)
CMYKcmyk(0%, 94.8%, 51.7%, 77.3%)
CIE-LABlab(9.39, 28.30, -0.68)
CIE-LCHlch(9.39, 28.31, 358.62°)
OKLaboklab(23.04% 0.0872 -0.0015)
OKLCHoklch(23.04% 0.087 359)
XYZxyz(1.9872, 1.0488, 1.1962)
Luminance0.0105 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A031C #033A21
analogous
#3A0338 #3A031C #3A0503
triadic
#3A031C #1C3A03 #031C3A
tetradic
#3A031C #383A03 #033A21 #05033A
square
#3A031C #383A03 #033A21 #05033A
split-complementary
#3A031C #033A05 #03383A
monochromatic
#1D020E #1D020E #3A031C #740638 #AE0954

Accessibility & contrast

On white

17.36
#3A031C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3A031C
17.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A031C#FFFFFF#000000##FFFFFF
##3A031C1.0017.361.2117.36
#FFFFFF17.361.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.361.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3a031c;
/* rgb */ color: rgb(58, 3, 28);
/* oklch */ color: oklch(23.0% 0.087 359.0);
Tailwind
colors: {
  custom: {
    50: '#744a57',
    500: '#3a031c',
    950: '#000000',
  },
}
SCSS
$custom: #3a031c;
$custom-light: #744a57;
$custom-dark: #000000;
JSON
{
  "hex": "#3a031c",
  "rgb": {
    "r": 58,
    "g": 3,
    "b": 28
  },
  "hsl": {
    "h": 332.727,
    "s": 90.164,
    "l": 11.961
  },
  "oklch": {
    "l": 0.23037,
    "c": 0.08718,
    "h": 359
  },
  "luminance": 0.01049
}

Semantic roles & 50–950 ramp

primary
#3A031C
secondary
#1C7D51
accent
#FF9E29
background
#F7F4F5
surface
#EDE7E9
border
#C8C3C5
text
#090103
muted
#7B7778

Preview Lab

Preview with #3A031C

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

Preview Lab → · Contrast checker → · Palette generator →

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