#5F1646#5F1646

#5F1646 is a dark, moderate pink. Relative luminance 0.034; OKLCH L 34.1% C 0.118 H 344.8°. Best body text is #FFFFFF at 12.43:1 contrast (WCAG AA passes).

Color values

HEX#5F1646
RGBrgb(95, 22, 70)
HSLhsl(321, 62%, 23%)
HSVhsv(321, 77%, 37%)
CMYKcmyk(0%, 76.8%, 26.3%, 62.7%)
CIE-LABlab(21.76, 37.55, -11.58)
CIE-LCHlch(21.76, 39.30, 342.87°)
OKLaboklab(34.11% 0.1135 -0.0308)
OKLCHoklch(34.11% 0.118 344.8)
XYZxyz(6.1120, 3.4496, 6.1371)
Luminance0.0345 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F1646 #165F2F
analogous
#53165F #5F1646 #5F1621
triadic
#5F1646 #465F16 #16465F
tetradic
#5F1646 #5F5316 #165F2F #16215F
square
#5F1646 #5F5316 #165F2F #16215F
split-complementary
#5F1646 #215F16 #165F53
monochromatic
#190612 #2D0A21 #5F1646 #91226B #C22D8F

Accessibility & contrast

On white

12.43
#5F1646 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#5F1646 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F1646
12.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F1646#FFFFFF#000000##FFFFFF
##5F16461.0012.431.6912.43
#FFFFFF12.431.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E2C47
Deuteranopia (green-blind)
#353944
Tritanopia (blue-blind)
#66152C
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #5f1646;
/* rgb */ color: rgb(95, 22, 70);
/* oklch */ color: oklch(34.1% 0.118 344.8);
Tailwind
colors: {
  custom: {
    50: '#8f5b79',
    500: '#5f1646',
    950: '#000000',
  },
}
SCSS
$custom: #5f1646;
$custom-light: #8f5b79;
$custom-dark: #000000;
JSON
{
  "hex": "#5f1646",
  "rgb": {
    "r": 95,
    "g": 22,
    "b": 70
  },
  "hsl": {
    "h": 320.548,
    "s": 62.393,
    "l": 22.941
  },
  "oklch": {
    "l": 0.34109,
    "c": 0.11763,
    "h": 344.8
  },
  "luminance": 0.03449
}

Semantic roles & 50–950 ramp

primary
#5F1646
secondary
#3B965A
accent
#E57A42
background
#F9F5F7
surface
#F1E9ED
border
#CBC5C8
text
#0D0409
muted
#7E797B

Preview Lab

Preview with #5F1646

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

Preview Lab → · Contrast checker → · Palette generator →

#5F1646 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva