#3C172F#3C172F

#3C172F is a dark, moderate pink. Relative luminance 0.018; OKLCH L 27.0% C 0.068 H 342.9°. Best body text is #FFFFFF at 15.49:1 contrast (WCAG AA passes).

Color values

HEX#3C172F
RGBrgb(60, 23, 47)
HSLhsl(321, 45%, 16%)
HSVhsv(321, 62%, 24%)
CMYKcmyk(0%, 61.7%, 21.7%, 76.5%)
CIE-LABlab(14.28, 21.72, -7.46)
CIE-LCHlch(14.28, 22.96, 341.05°)
OKLaboklab(26.98% 0.0646 -0.0198)
OKLCHoklch(26.98% 0.068 342.9)
XYZxyz(2.6830, 1.7789, 2.8908)
Luminance0.0178 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C172F #173C24
analogous
#37173C #3C172F #3C171D
triadic
#3C172F #2F3C17 #172F3C
tetradic
#3C172F #3C3717 #173C24 #171D3C
square
#3C172F #3C3717 #173C24 #171D3C
split-complementary
#3C172F #1D3C17 #173C37
monochromatic
#160811 #160811 #3C172F #682852 #943974

Accessibility & contrast

On white

15.49
#3C172F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3C172F
15.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C172F#FFFFFF#000000##FFFFFF
##3C172F1.0015.491.3615.49
#FFFFFF15.491.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A2030
Deuteranopia (green-blind)
#24262E
Tritanopia (blue-blind)
#401720
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #3c172f;
/* rgb */ color: rgb(60, 23, 47);
/* oklch */ color: oklch(27.0% 0.068 342.9);
Tailwind
colors: {
  custom: {
    50: '#735667',
    500: '#3c172f',
    950: '#000000',
  },
}
SCSS
$custom: #3c172f;
$custom-light: #735667;
$custom-dark: #000000;
JSON
{
  "hex": "#3c172f",
  "rgb": {
    "r": 60,
    "g": 23,
    "b": 47
  },
  "hsl": {
    "h": 321.081,
    "s": 44.578,
    "l": 16.275
  },
  "oklch": {
    "l": 0.26984,
    "c": 0.06759,
    "h": 342.9
  },
  "luminance": 0.01779
}

Semantic roles & 50–950 ramp

primary
#3C172F
secondary
#3C734F
accent
#D48154
background
#F7F5F6
surface
#EDE9EB
border
#C8C5C6
text
#080306
muted
#7B787A

Preview Lab

Preview with #3C172F

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

Preview Lab → · Contrast checker → · Palette generator →

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