#3A0C2F#3A0C2F

#3A0C2F is a dark, moderate pink. Relative luminance 0.014; OKLCH L 25.0% C 0.085 H 338.9°. Best body text is #FFFFFF at 16.49:1 contrast (WCAG AA passes).

Color values

HEX#3A0C2F
RGBrgb(58, 12, 47)
HSLhsl(314, 66%, 14%)
HSVhsv(314, 79%, 23%)
CMYKcmyk(0%, 79.3%, 19%, 77.3%)
CIE-LABlab(11.74, 26.89, -11.39)
CIE-LCHlch(11.74, 29.21, 337.05°)
OKLaboklab(25.04% 0.0797 -0.0308)
OKLCHoklch(25.04% 0.085 338.9)
XYZxyz(2.3895, 1.3679, 2.8270)
Luminance0.0137 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A0C2F #0C3A17
analogous
#2E0C3A #3A0C2F #3A0C18
triadic
#3A0C2F #2F3A0C #0C2F3A
tetradic
#3A0C2F #3A2E0C #0C3A17 #0C183A
square
#3A0C2F #3A2E0C #0C3A17 #0C183A
split-complementary
#3A0C2F #183A0C #0C3A2E
monochromatic
#190515 #190515 #3A0C2F #6D1658 #9F2181

Accessibility & contrast

On white

16.49
#3A0C2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.27
#3A0C2F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A0C2F
16.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A0C2F#FFFFFF#000000##FFFFFF
##3A0C2F1.0016.491.2716.49
#FFFFFF16.491.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E1A30
Deuteranopia (green-blind)
#1D222E
Tritanopia (blue-blind)
#3E0E1C
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #3a0c2f;
/* rgb */ color: rgb(58, 12, 47);
/* oklch */ color: oklch(25.0% 0.085 338.9);
Tailwind
colors: {
  custom: {
    50: '#724f67',
    500: '#3a0c2f',
    950: '#000000',
  },
}
SCSS
$custom: #3a0c2f;
$custom-light: #724f67;
$custom-dark: #000000;
JSON
{
  "hex": "#3a0c2f",
  "rgb": {
    "r": 58,
    "g": 12,
    "b": 47
  },
  "hsl": {
    "h": 314.348,
    "s": 65.714,
    "l": 13.725
  },
  "oklch": {
    "l": 0.25041,
    "c": 0.08543,
    "h": 338.9
  },
  "luminance": 0.01368
}

Semantic roles & 50–950 ramp

primary
#3A0C2F
secondary
#2C763D
accent
#E9683F
background
#F7F4F6
surface
#EDE7EB
border
#C8C3C6
text
#080206
muted
#7B787A

Preview Lab

Preview with #3A0C2F

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

Preview Lab → · Contrast checker → · Palette generator →

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