#3A0417#3A0417

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

Color values

HEX#3A0417
RGBrgb(58, 4, 23)
HSLhsl(339, 87%, 12%)
HSVhsv(339, 93%, 23%)
CMYKcmyk(0%, 93.1%, 60.3%, 77.3%)
CIE-LABlab(9.39, 27.28, 3.16)
CIE-LCHlch(9.39, 27.47, 6.62°)
OKLaboklab(22.98% 0.0834 0.0083)
OKLCHoklch(22.98% 0.084 5.7)
XYZxyz(1.9432, 1.0485, 0.9105)
Luminance0.0105 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A0417 #043A27
analogous
#3A0432 #3A0417 #3A0C04
triadic
#3A0417 #173A04 #04173A
tetradic
#3A0417 #323A04 #043A27 #0C043A
square
#3A0417 #323A04 #043A27 #0C043A
split-complementary
#3A0417 #043A0C #04323A
monochromatic
#1D020B #1D020B #3A0417 #73082E #AD0C44

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3A0417#FFFFFF#000000##FFFFFF
##3A04171.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)
#121317
Deuteranopia (green-blind)
#201E16
Tritanopia (blue-blind)
#40000C
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #3a0417;
/* rgb */ color: rgb(58, 4, 23);
/* oklch */ color: oklch(23.0% 0.084 5.7);
Tailwind
colors: {
  custom: {
    50: '#744a53',
    500: '#3a0417',
    950: '#000000',
  },
}
SCSS
$custom: #3a0417;
$custom-light: #744a53;
$custom-dark: #000000;
JSON
{
  "hex": "#3a0417",
  "rgb": {
    "r": 58,
    "g": 4,
    "b": 23
  },
  "hsl": {
    "h": 338.889,
    "s": 87.097,
    "l": 12.157
  },
  "oklch": {
    "l": 0.22978,
    "c": 0.08385,
    "h": 5.7
  },
  "luminance": 0.01048
}

Semantic roles & 50–950 ramp

primary
#3A0417
secondary
#1E7C5B
accent
#FDB32B
background
#F7F4F4
surface
#EDE7E7
border
#C8C3C3
text
#090102
muted
#7B7778

Preview Lab

Preview with #3A0417

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

Preview Lab → · Contrast checker → · Palette generator →

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