#3A102C#3A102C

#3A102C is a dark, moderate pink. Relative luminance 0.015; OKLCH L 25.4% C 0.076 H 343.1°. Best body text is #FFFFFF at 16.27:1 contrast (WCAG AA passes).

Color values

HEX#3A102C
RGBrgb(58, 16, 44)
HSLhsl(320, 57%, 15%)
HSVhsv(320, 72%, 23%)
CMYKcmyk(0%, 72.4%, 24.1%, 77.3%)
CIE-LABlab(12.30, 24.39, -8.33)
CIE-LCHlch(12.30, 25.78, 341.15°)
OKLaboklab(25.4% 0.073 -0.0222)
OKLCHoklch(25.4% 0.076 343.1)
XYZxyz(2.3849, 1.4522, 2.5371)
Luminance0.0145 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A102C #103A1E
analogous
#33103A #3A102C #3A1017
triadic
#3A102C #2C3A10 #102C3A
tetradic
#3A102C #3A3310 #103A1E #10173A
square
#3A102C #3A3310 #103A1E #10173A
split-complementary
#3A102C #173A10 #103A33
monochromatic
#180712 #180712 #3A102C #6A1D50 #9A2A75

Accessibility & contrast

On white

16.27
#3A102C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3A102C
16.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A102C#FFFFFF#000000##FFFFFF
##3A102C1.0016.271.2916.27
#FFFFFF16.271.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#131C2D
Deuteranopia (green-blind)
#20232B
Tritanopia (blue-blind)
#3E101C
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #3a102c;
/* rgb */ color: rgb(58, 16, 44);
/* oklch */ color: oklch(25.4% 0.076 343.1);
Tailwind
colors: {
  custom: {
    50: '#725165',
    500: '#3a102c',
    950: '#000000',
  },
}
SCSS
$custom: #3a102c;
$custom-light: #725165;
$custom-dark: #000000;
JSON
{
  "hex": "#3a102c",
  "rgb": {
    "r": 58,
    "g": 16,
    "b": 44
  },
  "hsl": {
    "h": 320,
    "s": 56.757,
    "l": 14.51
  },
  "oklch": {
    "l": 0.25399,
    "c": 0.07634,
    "h": 343.1
  },
  "luminance": 0.01452
}

Semantic roles & 50–950 ramp

primary
#3A102C
secondary
#327448
accent
#E07B48
background
#F7F4F6
surface
#EDE7EB
border
#C8C3C6
text
#080205
muted
#7B787A

Preview Lab

Preview with #3A102C

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

Preview Lab → · Contrast checker → · Palette generator →

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