#3E172E#3E172E

#3E172E is a dark, moderate pink. Relative luminance 0.018; OKLCH L 27.3% C 0.069 H 346.2°. Best body text is #FFFFFF at 15.36:1 contrast (WCAG AA passes).

Color values

HEX#3E172E
RGBrgb(62, 23, 46)
HSLhsl(325, 46%, 17%)
HSVhsv(325, 63%, 24%)
CMYKcmyk(0%, 62.9%, 25.8%, 75.7%)
CIE-LABlab(14.59, 22.30, -6.23)
CIE-LCHlch(14.59, 23.15, 344.40°)
OKLaboklab(27.27% 0.0669 -0.0164)
OKLCHoklch(27.27% 0.069 346.2)
XYZxyz(2.7862, 1.8344, 2.7916)
Luminance0.0183 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E172E #173E27
analogous
#3B173E #3E172E #3E171B
triadic
#3E172E #2E3E17 #172E3E
tetradic
#3E172E #3E3B17 #173E27 #171B3E
square
#3E172E #3E3B17 #173E27 #171B3E
split-complementary
#3E172E #1B3E17 #173E3B
monochromatic
#160811 #160811 #3E172E #6B284F #973870

Accessibility & contrast

On white

15.36
#3E172E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#3E172E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E172E
15.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E172E#FFFFFF#000000##FFFFFF
##3E172E1.0015.361.3715.36
#FFFFFF15.361.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B212F
Deuteranopia (green-blind)
#25272D
Tritanopia (blue-blind)
#421620
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #3e172e;
/* rgb */ color: rgb(62, 23, 46);
/* oklch */ color: oklch(27.3% 0.069 346.2);
Tailwind
colors: {
  custom: {
    50: '#755666',
    500: '#3e172e',
    950: '#000000',
  },
}
SCSS
$custom: #3e172e;
$custom-light: #755666;
$custom-dark: #000000;
JSON
{
  "hex": "#3e172e",
  "rgb": {
    "r": 62,
    "g": 23,
    "b": 46
  },
  "hsl": {
    "h": 324.615,
    "s": 45.882,
    "l": 16.667
  },
  "oklch": {
    "l": 0.27273,
    "c": 0.06891,
    "h": 346.2
  },
  "luminance": 0.01834
}

Semantic roles & 50–950 ramp

primary
#3E172E
secondary
#3C7553
accent
#D68852
background
#F7F5F6
surface
#EDE9EB
border
#C8C5C6
text
#080306
muted
#7B787A

Preview Lab

Preview with #3E172E

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

Preview Lab → · Contrast checker → · Palette generator →

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