#3D172F#3D172F

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

Color values

HEX#3D172F
RGBrgb(61, 23, 47)
HSLhsl(322, 45%, 16%)
HSVhsv(322, 62%, 24%)
CMYKcmyk(0%, 62.3%, 23%, 76.1%)
CIE-LABlab(14.46, 22.10, -7.17)
CIE-LCHlch(14.46, 23.23, 342.03°)
OKLaboklab(27.15% 0.0659 -0.019)
OKLCHoklch(27.15% 0.069 343.9)
XYZxyz(2.7440, 1.8104, 2.8937)
Luminance0.0181 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D172F #173D25
analogous
#38173D #3D172F #3D171C
triadic
#3D172F #2F3D17 #172F3D
tetradic
#3D172F #3D3817 #173D25 #171C3D
square
#3D172F #3D3817 #173D25 #171C3D
split-complementary
#3D172F #1C3D17 #173D38
monochromatic
#160811 #160811 #3D172F #692851 #963973

Accessibility & contrast

On white

15.42
#3D172F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3D172F
15.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D172F#FFFFFF#000000##FFFFFF
##3D172F1.0015.421.3615.42
#FFFFFF15.421.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A2130
Deuteranopia (green-blind)
#24272E
Tritanopia (blue-blind)
#411720
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #3d172f;
/* rgb */ color: rgb(61, 23, 47);
/* oklch */ color: oklch(27.2% 0.069 343.9);
Tailwind
colors: {
  custom: {
    50: '#745667',
    500: '#3d172f',
    950: '#000000',
  },
}
SCSS
$custom: #3d172f;
$custom-light: #745667;
$custom-dark: #000000;
JSON
{
  "hex": "#3d172f",
  "rgb": {
    "r": 61,
    "g": 23,
    "b": 47
  },
  "hsl": {
    "h": 322.105,
    "s": 45.238,
    "l": 16.471
  },
  "oklch": {
    "l": 0.27152,
    "c": 0.06862,
    "h": 343.9
  },
  "luminance": 0.0181
}

Semantic roles & 50–950 ramp

primary
#3D172F
secondary
#3C7451
accent
#D58353
background
#F7F5F6
surface
#EDE9EB
border
#C8C5C6
text
#080306
muted
#7B787A

Preview Lab

Preview with #3D172F

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

Preview Lab → · Contrast checker → · Palette generator →

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