#3E172A#3E172A

#3E172A is a dark, moderate pink. Relative luminance 0.018; OKLCH L 27.1% C 0.066 H 352.0°. Best body text is #FFFFFF at 15.43:1 contrast (WCAG AA passes).

Color values

HEX#3E172A
RGBrgb(62, 23, 42)
HSLhsl(331, 46%, 17%)
HSVhsv(331, 63%, 24%)
CMYKcmyk(0%, 62.9%, 32.3%, 75.7%)
CIE-LABlab(14.42, 21.63, -3.58)
CIE-LCHlch(14.42, 21.92, 350.59°)
OKLaboklab(27.09% 0.0655 -0.0092)
OKLCHoklch(27.09% 0.066 352)
XYZxyz(2.7110, 1.8043, 2.3955)
Luminance0.0180 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E172A #173E2B
analogous
#3E173E #3E172A #3E1817
triadic
#3E172A #2A3E17 #172A3E
tetradic
#3E172A #3E3E17 #173E2B #18173E
square
#3E172A #3E3E17 #173E2B #18173E
split-complementary
#3E172A #173E18 #173E3E
monochromatic
#16080F #16080F #3E172A #6B2848 #973866

Accessibility & contrast

On white

15.43
#3E172A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#3E172A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E172A
15.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E172A#FFFFFF#000000##FFFFFF
##3E172A1.0015.431.3615.43
#FFFFFF15.431.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C202B
Deuteranopia (green-blind)
#262729
Tritanopia (blue-blind)
#43151E
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #3e172a;
/* rgb */ color: rgb(62, 23, 42);
/* oklch */ color: oklch(27.1% 0.066 352.0);
Tailwind
colors: {
  custom: {
    50: '#755663',
    500: '#3e172a',
    950: '#000000',
  },
}
SCSS
$custom: #3e172a;
$custom-light: #755663;
$custom-dark: #000000;
JSON
{
  "hex": "#3e172a",
  "rgb": {
    "r": 62,
    "g": 23,
    "b": 42
  },
  "hsl": {
    "h": 330.769,
    "s": 45.882,
    "l": 16.667
  },
  "oklch": {
    "l": 0.27093,
    "c": 0.06614,
    "h": 352
  },
  "luminance": 0.01804
}

Semantic roles & 50–950 ramp

primary
#3E172A
secondary
#3C7559
accent
#D69652
background
#F7F5F5
surface
#EDE9EA
border
#C8C5C6
text
#080305
muted
#7B7879

Preview Lab

Preview with #3E172A

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

Preview Lab → · Contrast checker → · Palette generator →

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