#3F172D#3F172D

#3F172D is a dark, moderate pink. Relative luminance 0.019; OKLCH L 27.4% C 0.069 H 348.5°. Best body text is #FFFFFF at 15.31:1 contrast (WCAG AA passes).

Color values

HEX#3F172D
RGBrgb(63, 23, 45)
HSLhsl(327, 47%, 17%)
HSVhsv(327, 63%, 25%)
CMYKcmyk(0%, 63.5%, 28.6%, 75.3%)
CIE-LABlab(14.73, 22.51, -5.28)
CIE-LCHlch(14.73, 23.12, 346.80°)
OKLaboklab(27.4% 0.0679 -0.0138)
OKLCHoklch(27.4% 0.069 348.5)
XYZxyz(2.8300, 1.8593, 2.6919)
Luminance0.0186 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F172D #173F29
analogous
#3D173F #3F172D #3F1719
triadic
#3F172D #2D3F17 #172D3F
tetradic
#3F172D #3F3D17 #173F29 #17193F
square
#3F172D #3F3D17 #173F29 #17193F
split-complementary
#3F172D #193F17 #173F3D
monochromatic
#160810 #160810 #3F172D #6C274D #99386D

Accessibility & contrast

On white

15.31
#3F172D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3F172D
15.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F172D#FFFFFF#000000##FFFFFF
##3F172D1.0015.311.3715.31
#FFFFFF15.311.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B212E
Deuteranopia (green-blind)
#26282C
Tritanopia (blue-blind)
#441620
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #3f172d;
/* rgb */ color: rgb(63, 23, 45);
/* oklch */ color: oklch(27.4% 0.069 348.5);
Tailwind
colors: {
  custom: {
    50: '#765665',
    500: '#3f172d',
    950: '#000000',
  },
}
SCSS
$custom: #3f172d;
$custom-light: #765665;
$custom-dark: #000000;
JSON
{
  "hex": "#3f172d",
  "rgb": {
    "r": 63,
    "g": 23,
    "b": 45
  },
  "hsl": {
    "h": 327,
    "s": 46.512,
    "l": 16.863
  },
  "oklch": {
    "l": 0.27398,
    "c": 0.06926,
    "h": 348.5
  },
  "luminance": 0.01859
}

Semantic roles & 50–950 ramp

primary
#3F172D
secondary
#3C7656
accent
#D68D52
background
#F7F5F6
surface
#EDE9EB
border
#C8C5C6
text
#090305
muted
#7B787A

Preview Lab

Preview with #3F172D

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

Preview Lab → · Contrast checker → · Palette generator →

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