#3F172E#3F172E

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

Color values

HEX#3F172E
RGBrgb(63, 23, 46)
HSLhsl(326, 47%, 17%)
HSVhsv(326, 63%, 25%)
CMYKcmyk(0%, 63.5%, 27%, 75.3%)
CIE-LABlab(14.77, 22.68, -5.94)
CIE-LCHlch(14.77, 23.45, 345.33°)
OKLaboklab(27.44% 0.0682 -0.0156)
OKLCHoklch(27.44% 0.07 347.1)
XYZxyz(2.8495, 1.8671, 2.7945)
Luminance0.0187 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F172E #173F28
analogous
#3C173F #3F172E #3F171A
triadic
#3F172E #2E3F17 #172E3F
tetradic
#3F172E #3F3C17 #173F28 #171A3F
square
#3F172E #3F3C17 #173F28 #171A3F
split-complementary
#3F172E #1A3F17 #173F3C
monochromatic
#160810 #160810 #3F172E #6C274F #99386F

Accessibility & contrast

On white

15.29
#3F172E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3F172E
15.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F172E#FFFFFF#000000##FFFFFF
##3F172E1.0015.291.3715.29
#FFFFFF15.291.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.291.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3f172e;
/* rgb */ color: rgb(63, 23, 46);
/* oklch */ color: oklch(27.4% 0.070 347.1);
Tailwind
colors: {
  custom: {
    50: '#765666',
    500: '#3f172e',
    950: '#000000',
  },
}
SCSS
$custom: #3f172e;
$custom-light: #765666;
$custom-dark: #000000;
JSON
{
  "hex": "#3f172e",
  "rgb": {
    "r": 63,
    "g": 23,
    "b": 46
  },
  "hsl": {
    "h": 325.5,
    "s": 46.512,
    "l": 16.863
  },
  "oklch": {
    "l": 0.27444,
    "c": 0.06998,
    "h": 347.1
  },
  "luminance": 0.01867
}

Semantic roles & 50–950 ramp

primary
#3F172E
secondary
#3C7655
accent
#D68A52
background
#F7F5F6
surface
#EDE9EB
border
#C8C5C6
text
#090306
muted
#7B787A

Preview Lab

Preview with #3F172E

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

Preview Lab → · Contrast checker → · Palette generator →

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