#3F152F#3F152F

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

Color values

HEX#3F152F
RGBrgb(63, 21, 47)
HSLhsl(323, 50%, 16%)
HSVhsv(323, 67%, 25%)
CMYKcmyk(0%, 66.7%, 25.4%, 75.3%)
CIE-LABlab(14.39, 23.99, -7.24)
CIE-LCHlch(14.39, 25.06, 343.22°)
OKLaboklab(27.18% 0.072 -0.0192)
OKLCHoklch(27.18% 0.075 345.1)
XYZxyz(2.8312, 1.7986, 2.8868)
Luminance0.0180 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F152F #153F25
analogous
#3A153F #3F152F #3F151A
triadic
#3F152F #2F3F15 #152F3F
tetradic
#3F152F #3F3A15 #153F25 #151A3F
square
#3F152F #3F3A15 #153F25 #151A3F
split-complementary
#3F152F #1A3F15 #153F3A
monochromatic
#170811 #170811 #3F152F #6D2451 #9B3473

Accessibility & contrast

On white

15.45
#3F152F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3F152F
15.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F152F#FFFFFF#000000##FFFFFF
##3F152F1.0015.451.3615.45
#FFFFFF15.451.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#192030
Deuteranopia (green-blind)
#25272E
Tritanopia (blue-blind)
#43151F
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #3f152f;
/* rgb */ color: rgb(63, 21, 47);
/* oklch */ color: oklch(27.2% 0.074 345.1);
Tailwind
colors: {
  custom: {
    50: '#765567',
    500: '#3f152f',
    950: '#000000',
  },
}
SCSS
$custom: #3f152f;
$custom-light: #765567;
$custom-dark: #000000;
JSON
{
  "hex": "#3f152f",
  "rgb": {
    "r": 63,
    "g": 21,
    "b": 47
  },
  "hsl": {
    "h": 322.857,
    "s": 50,
    "l": 16.471
  },
  "oklch": {
    "l": 0.27176,
    "c": 0.0745,
    "h": 345.1
  },
  "luminance": 0.01798
}

Semantic roles & 50–950 ramp

primary
#3F152F
secondary
#397751
accent
#DA834E
background
#F7F5F6
surface
#EDE9EB
border
#C8C5C6
text
#090306
muted
#7B787A

Preview Lab

Preview with #3F152F

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

Preview Lab → · Contrast checker → · Palette generator →

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