#3A102E#3A102E

#3A102E is a dark, moderate pink. Relative luminance 0.015; OKLCH L 25.5% C 0.078 H 340.6°. Best body text is #FFFFFF at 16.24:1 contrast (WCAG AA passes).

Color values

HEX#3A102E
RGBrgb(58, 16, 46)
HSLhsl(317, 57%, 15%)
HSVhsv(317, 72%, 23%)
CMYKcmyk(0%, 72.4%, 20.7%, 77.3%)
CIE-LABlab(12.40, 24.75, -9.64)
CIE-LCHlch(12.40, 26.56, 338.71°)
OKLaboklab(25.51% 0.0735 -0.0259)
OKLCHoklch(25.51% 0.078 340.6)
XYZxyz(2.4234, 1.4676, 2.7399)
Luminance0.0147 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A102E #103A1C
analogous
#31103A #3A102E #3A1019
triadic
#3A102E #2E3A10 #102E3A
tetradic
#3A102E #3A3110 #103A1C #10193A
square
#3A102E #3A3110 #103A1C #10193A
split-complementary
#3A102E #193A10 #103A31
monochromatic
#180713 #180713 #3A102E #6A1D54 #9A2A7A

Accessibility & contrast

On white

16.24
#3A102E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#3A102E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A102E
16.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A102E#FFFFFF#000000##FFFFFF
##3A102E1.0016.241.2916.24
#FFFFFF16.241.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#131C2F
Deuteranopia (green-blind)
#1F232D
Tritanopia (blue-blind)
#3E111D
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #3a102e;
/* rgb */ color: rgb(58, 16, 46);
/* oklch */ color: oklch(25.5% 0.078 340.6);
Tailwind
colors: {
  custom: {
    50: '#725166',
    500: '#3a102e',
    950: '#000000',
  },
}
SCSS
$custom: #3a102e;
$custom-light: #725166;
$custom-dark: #000000;
JSON
{
  "hex": "#3a102e",
  "rgb": {
    "r": 58,
    "g": 16,
    "b": 46
  },
  "hsl": {
    "h": 317.143,
    "s": 56.757,
    "l": 14.51
  },
  "oklch": {
    "l": 0.25505,
    "c": 0.07797,
    "h": 340.6
  },
  "luminance": 0.01467
}

Semantic roles & 50–950 ramp

primary
#3A102E
secondary
#327445
accent
#E07348
background
#F7F4F6
surface
#EDE7EB
border
#C8C3C6
text
#080206
muted
#7B787A

Preview Lab

Preview with #3A102E

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

Preview Lab → · Contrast checker → · Palette generator →

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