#3A0718#3A0718

#3A0718 is a very dark, moderate pink. Relative luminance 0.011; OKLCH L 23.4% C 0.080 H 6.0°. Best body text is #FFFFFF at 17.17:1 contrast (WCAG AA passes).

Color values

HEX#3A0718
RGBrgb(58, 7, 24)
HSLhsl(340, 78%, 13%)
HSVhsv(340, 88%, 23%)
CMYKcmyk(0%, 87.9%, 58.6%, 77.3%)
CIE-LABlab(9.94, 25.92, 3.18)
CIE-LCHlch(9.94, 26.12, 7.00°)
OKLaboklab(23.39% 0.0792 0.0083)
OKLCHoklch(23.39% 0.08 6)
XYZxyz(1.9859, 1.1177, 0.9751)
Luminance0.0112 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A0718 #073A29
analogous
#3A0731 #3A0718 #3A0F07
triadic
#3A0718 #183A07 #07183A
tetradic
#3A0718 #313A07 #073A29 #0F073A
square
#3A0718 #313A07 #073A29 #0F073A
split-complementary
#3A0718 #073A0F #07313A
monochromatic
#1B030B #1B030B #3A0718 #710E2F #A71445

Accessibility & contrast

On white

17.17
#3A0718 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#3A0718 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A0718
17.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A0718#FFFFFF#000000##FFFFFF
##3A07181.0017.171.2217.17
#FFFFFF17.171.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#141518
Deuteranopia (green-blind)
#211F17
Tritanopia (blue-blind)
#40000E
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #3a0718;
/* rgb */ color: rgb(58, 7, 24);
/* oklch */ color: oklch(23.4% 0.080 6.0);
Tailwind
colors: {
  custom: {
    50: '#744c54',
    500: '#3a0718',
    950: '#000000',
  },
}
SCSS
$custom: #3a0718;
$custom-light: #744c54;
$custom-dark: #000000;
JSON
{
  "hex": "#3a0718",
  "rgb": {
    "r": 58,
    "g": 7,
    "b": 24
  },
  "hsl": {
    "h": 340,
    "s": 78.462,
    "l": 12.745
  },
  "oklch": {
    "l": 0.23391,
    "c": 0.07961,
    "h": 6
  },
  "luminance": 0.01117
}

Semantic roles & 50–950 ramp

primary
#3A0718
secondary
#23795D
accent
#F5B433
background
#F7F4F4
surface
#EDE7E7
border
#C8C3C3
text
#090102
muted
#7B7778

Preview Lab

Preview with #3A0718

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

Preview Lab → · Contrast checker → · Palette generator →

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