#3A102F#3A102F

#3A102F is a dark, moderate pink. Relative luminance 0.015; OKLCH L 25.6% C 0.079 H 339.4°. Best body text is #FFFFFF at 16.22:1 contrast (WCAG AA passes).

Color values

HEX#3A102F
RGBrgb(58, 16, 47)
HSLhsl(316, 57%, 15%)
HSVhsv(316, 72%, 23%)
CMYKcmyk(0%, 72.4%, 19%, 77.3%)
CIE-LABlab(12.45, 24.93, -10.29)
CIE-LCHlch(12.45, 26.97, 337.57°)
OKLaboklab(25.56% 0.0738 -0.0277)
OKLCHoklch(25.56% 0.079 339.4)
XYZxyz(2.4434, 1.4756, 2.8449)
Luminance0.0147 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A102F #103A1B
analogous
#30103A #3A102F #3A101A
triadic
#3A102F #2F3A10 #102F3A
tetradic
#3A102F #3A3010 #103A1B #101A3A
square
#3A102F #3A3010 #103A1B #101A3A
split-complementary
#3A102F #1A3A10 #103A30
monochromatic
#180713 #180713 #3A102F #6A1D56 #9A2A7D

Accessibility & contrast

On white

16.22
#3A102F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#3A102F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A102F
16.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A102F#FFFFFF#000000##FFFFFF
##3A102F1.0016.221.3016.22
#FFFFFF16.221.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#121C30
Deuteranopia (green-blind)
#1F232E
Tritanopia (blue-blind)
#3E111D
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #3a102f;
/* rgb */ color: rgb(58, 16, 47);
/* oklch */ color: oklch(25.6% 0.079 339.4);
Tailwind
colors: {
  custom: {
    50: '#725167',
    500: '#3a102f',
    950: '#000000',
  },
}
SCSS
$custom: #3a102f;
$custom-light: #725167;
$custom-dark: #000000;
JSON
{
  "hex": "#3a102f",
  "rgb": {
    "r": 58,
    "g": 16,
    "b": 47
  },
  "hsl": {
    "h": 315.714,
    "s": 56.757,
    "l": 14.51
  },
  "oklch": {
    "l": 0.25559,
    "c": 0.07882,
    "h": 339.4
  },
  "luminance": 0.01475
}

Semantic roles & 50–950 ramp

primary
#3A102F
secondary
#327443
accent
#E07048
background
#F7F4F6
surface
#EDE7EB
border
#C8C3C6
text
#080206
muted
#7B787A

Preview Lab

Preview with #3A102F

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

Preview Lab → · Contrast checker → · Palette generator →

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