#3A0418#3A0418

#3A0418 is a very dark, moderate pink. Relative luminance 0.011; OKLCH L 23.0% C 0.084 H 4.4°. Best body text is #FFFFFF at 17.35:1 contrast (WCAG AA passes).

Color values

HEX#3A0418
RGBrgb(58, 4, 24)
HSLhsl(338, 87%, 12%)
HSVhsv(338, 93%, 23%)
CMYKcmyk(0%, 93.1%, 58.6%, 77.3%)
CIE-LABlab(9.42, 27.38, 2.45)
CIE-LCHlch(9.42, 27.49, 5.12°)
OKLaboklab(23.01% 0.0839 0.0065)
OKLCHoklch(23.01% 0.084 4.4)
XYZxyz(1.9534, 1.0526, 0.9643)
Luminance0.0105 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A0418 #043A26
analogous
#3A0433 #3A0418 #3A0B04
triadic
#3A0418 #183A04 #04183A
tetradic
#3A0418 #333A04 #043A26 #0B043A
square
#3A0418 #333A04 #043A26 #0B043A
split-complementary
#3A0418 #043A0B #04333A
monochromatic
#1D020C #1D020C #3A0418 #730830 #AD0C47

Accessibility & contrast

On white

17.35
#3A0418 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3A0418
17.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A0418#FFFFFF#000000##FFFFFF
##3A04181.0017.351.2117.35
#FFFFFF17.351.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#121318
Deuteranopia (green-blind)
#201E17
Tritanopia (blue-blind)
#40000C
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #3a0418;
/* rgb */ color: rgb(58, 4, 24);
/* oklch */ color: oklch(23.0% 0.084 4.4);
Tailwind
colors: {
  custom: {
    50: '#744a54',
    500: '#3a0418',
    950: '#000000',
  },
}
SCSS
$custom: #3a0418;
$custom-light: #744a54;
$custom-dark: #000000;
JSON
{
  "hex": "#3a0418",
  "rgb": {
    "r": 58,
    "g": 4,
    "b": 24
  },
  "hsl": {
    "h": 337.778,
    "s": 87.097,
    "l": 12.157
  },
  "oklch": {
    "l": 0.23013,
    "c": 0.08413,
    "h": 4.4
  },
  "luminance": 0.01052
}

Semantic roles & 50–950 ramp

primary
#3A0418
secondary
#1E7C59
accent
#FDAF2B
background
#F7F4F4
surface
#EDE7E7
border
#C8C3C3
text
#090102
muted
#7B7778

Preview Lab

Preview with #3A0418

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

Preview Lab → · Contrast checker → · Palette generator →

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