#3E172C#3E172C

#3E172C is a dark, moderate pink. Relative luminance 0.018; OKLCH L 27.2% C 0.067 H 349.0°. Best body text is #FFFFFF at 15.40:1 contrast (WCAG AA passes).

Color values

HEX#3E172C
RGBrgb(62, 23, 44)
HSLhsl(328, 46%, 17%)
HSVhsv(328, 63%, 24%)
CMYKcmyk(0%, 62.9%, 29%, 75.7%)
CIE-LABlab(14.51, 21.96, -4.91)
CIE-LCHlch(14.51, 22.50, 347.39°)
OKLaboklab(27.18% 0.0662 -0.0128)
OKLCHoklch(27.18% 0.067 349)
XYZxyz(2.7477, 1.8190, 2.5888)
Luminance0.0182 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E172C #173E29
analogous
#3D173E #3E172C #3E1719
triadic
#3E172C #2C3E17 #172C3E
tetradic
#3E172C #3E3D17 #173E29 #17193E
square
#3E172C #3E3D17 #173E29 #17193E
split-complementary
#3E172C #193E17 #173E3D
monochromatic
#160810 #160810 #3E172C #6B284C #97386B

Accessibility & contrast

On white

15.40
#3E172C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3E172C
15.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E172C#FFFFFF#000000##FFFFFF
##3E172C1.0015.401.3615.40
#FFFFFF15.401.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B202D
Deuteranopia (green-blind)
#26272B
Tritanopia (blue-blind)
#43161F
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #3e172c;
/* rgb */ color: rgb(62, 23, 44);
/* oklch */ color: oklch(27.2% 0.067 349.0);
Tailwind
colors: {
  custom: {
    50: '#755665',
    500: '#3e172c',
    950: '#000000',
  },
}
SCSS
$custom: #3e172c;
$custom-light: #755665;
$custom-dark: #000000;
JSON
{
  "hex": "#3e172c",
  "rgb": {
    "r": 62,
    "g": 23,
    "b": 44
  },
  "hsl": {
    "h": 327.692,
    "s": 45.882,
    "l": 16.667
  },
  "oklch": {
    "l": 0.27181,
    "c": 0.06745,
    "h": 349
  },
  "luminance": 0.01819
}

Semantic roles & 50–950 ramp

primary
#3E172C
secondary
#3C7556
accent
#D68F52
background
#F7F5F6
surface
#EDE9EB
border
#C8C5C6
text
#080305
muted
#7B787A

Preview Lab

Preview with #3E172C

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

Preview Lab → · Contrast checker → · Palette generator →

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