#3A0318#3A0318

#3A0318 is a very dark, moderate pink. Relative luminance 0.010; OKLCH L 22.9% C 0.086 H 3.9°. Best body text is #FFFFFF at 17.41:1 contrast (WCAG AA passes).

Color values

HEX#3A0318
RGBrgb(58, 3, 24)
HSLhsl(337, 90%, 12%)
HSVhsv(337, 95%, 23%)
CMYKcmyk(0%, 94.8%, 58.6%, 77.3%)
CIE-LABlab(9.25, 27.88, 2.20)
CIE-LCHlch(9.25, 27.97, 4.51°)
OKLaboklab(22.88% 0.0855 0.0059)
OKLCHoklch(22.88% 0.086 3.9)
XYZxyz(1.9425, 1.0309, 0.9607)
Luminance0.0103 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A0318 #033A25
analogous
#3A0334 #3A0318 #3A0A03
triadic
#3A0318 #183A03 #03183A
tetradic
#3A0318 #343A03 #033A25 #0A033A
square
#3A0318 #343A03 #033A25 #0A033A
split-complementary
#3A0318 #033A0A #03343A
monochromatic
#1D020C #1D020C #3A0318 #740630 #AE0948

Accessibility & contrast

On white

17.41
#3A0318 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3A0318
17.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A0318#FFFFFF#000000##FFFFFF
##3A03181.0017.411.2117.41
#FFFFFF17.411.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.411.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3a0318;
/* rgb */ color: rgb(58, 3, 24);
/* oklch */ color: oklch(22.9% 0.086 3.9);
Tailwind
colors: {
  custom: {
    50: '#744a54',
    500: '#3a0318',
    950: '#000000',
  },
}
SCSS
$custom: #3a0318;
$custom-light: #744a54;
$custom-dark: #000000;
JSON
{
  "hex": "#3a0318",
  "rgb": {
    "r": 58,
    "g": 3,
    "b": 24
  },
  "hsl": {
    "h": 337.091,
    "s": 90.164,
    "l": 11.961
  },
  "oklch": {
    "l": 0.22884,
    "c": 0.08572,
    "h": 3.9
  },
  "luminance": 0.01031
}

Semantic roles & 50–950 ramp

primary
#3A0318
secondary
#1C7D58
accent
#FFAD29
background
#F7F4F4
surface
#EDE7E7
border
#C8C3C3
text
#090102
muted
#7B7778

Preview Lab

Preview with #3A0318

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

Preview Lab → · Contrast checker → · Palette generator →

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