#3A0518#3A0518

#3A0518 is a very dark, moderate pink. Relative luminance 0.011; OKLCH L 23.1% C 0.083 H 4.9°. Best body text is #FFFFFF at 17.29:1 contrast (WCAG AA passes).

Color values

HEX#3A0518
RGBrgb(58, 5, 24)
HSLhsl(338, 84%, 12%)
HSVhsv(338, 91%, 23%)
CMYKcmyk(0%, 91.4%, 58.6%, 77.3%)
CIE-LABlab(9.60, 26.88, 2.70)
CIE-LCHlch(9.60, 27.02, 5.74°)
OKLaboklab(23.14% 0.0823 0.0071)
OKLCHoklch(23.14% 0.083 4.9)
XYZxyz(1.9642, 1.0743, 0.9679)
Luminance0.0107 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A0518 #053A27
analogous
#3A0532 #3A0518 #3A0D05
triadic
#3A0518 #183A05 #05183A
tetradic
#3A0518 #323A05 #053A27 #0D053A
square
#3A0518 #323A05 #053A27 #0D053A
split-complementary
#3A0518 #053A0D #05323A
monochromatic
#1C020C #1C020C #3A0518 #720A2F #AB0F47

Accessibility & contrast

On white

17.29
#3A0518 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3A0518
17.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A0518#FFFFFF#000000##FFFFFF
##3A05181.0017.291.2117.29
#FFFFFF17.291.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#121418
Deuteranopia (green-blind)
#201E17
Tritanopia (blue-blind)
#40000D
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #3a0518;
/* rgb */ color: rgb(58, 5, 24);
/* oklch */ color: oklch(23.1% 0.083 4.9);
Tailwind
colors: {
  custom: {
    50: '#744b54',
    500: '#3a0518',
    950: '#000000',
  },
}
SCSS
$custom: #3a0518;
$custom-light: #744b54;
$custom-dark: #000000;
JSON
{
  "hex": "#3a0518",
  "rgb": {
    "r": 58,
    "g": 5,
    "b": 24
  },
  "hsl": {
    "h": 338.491,
    "s": 84.127,
    "l": 12.353
  },
  "oklch": {
    "l": 0.2314,
    "c": 0.08259,
    "h": 4.9
  },
  "luminance": 0.01074
}

Semantic roles & 50–950 ramp

primary
#3A0518
secondary
#207B5A
accent
#FAB12D
background
#F7F4F4
surface
#EDE7E7
border
#C8C3C3
text
#090102
muted
#7B7778

Preview Lab

Preview with #3A0518

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

Preview Lab → · Contrast checker → · Palette generator →

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