#5F1644#5F1644

#5F1644 is a dark, moderate pink. Relative luminance 0.034; OKLCH L 34.0% C 0.116 H 346.4°. Best body text is #FFFFFF at 12.46:1 contrast (WCAG AA passes).

Color values

HEX#5F1644
RGBrgb(95, 22, 68)
HSLhsl(322, 62%, 23%)
HSVhsv(322, 77%, 37%)
CMYKcmyk(0%, 76.8%, 28.4%, 62.7%)
CIE-LABlab(21.67, 37.26, -10.35)
CIE-LCHlch(21.67, 38.67, 344.48°)
OKLaboklab(34.01% 0.1131 -0.0274)
OKLCHoklch(34.01% 0.116 346.4)
XYZxyz(6.0499, 3.4247, 5.8102)
Luminance0.0342 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F1644 #165F31
analogous
#55165F #5F1644 #5F161F
triadic
#5F1644 #445F16 #16445F
tetradic
#5F1644 #5F5516 #165F31 #161F5F
square
#5F1644 #5F5516 #165F31 #161F5F
split-complementary
#5F1644 #1F5F16 #165F55
monochromatic
#190612 #2D0A20 #5F1644 #912268 #C22D8B

Accessibility & contrast

On white

12.46
#5F1644 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#5F1644 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F1644
12.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F1644#FFFFFF#000000##FFFFFF
##5F16441.0012.461.6812.46
#FFFFFF12.461.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F2C45
Deuteranopia (green-blind)
#353842
Tritanopia (blue-blind)
#66142B
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #5f1644;
/* rgb */ color: rgb(95, 22, 68);
/* oklch */ color: oklch(34.0% 0.116 346.4);
Tailwind
colors: {
  custom: {
    50: '#905b78',
    500: '#5f1644',
    950: '#000000',
  },
}
SCSS
$custom: #5f1644;
$custom-light: #905b78;
$custom-dark: #000000;
JSON
{
  "hex": "#5f1644",
  "rgb": {
    "r": 95,
    "g": 22,
    "b": 68
  },
  "hsl": {
    "h": 322.192,
    "s": 62.393,
    "l": 22.941
  },
  "oklch": {
    "l": 0.34013,
    "c": 0.11632,
    "h": 346.4
  },
  "luminance": 0.03424
}

Semantic roles & 50–950 ramp

primary
#5F1644
secondary
#3B965D
accent
#E57F42
background
#F9F5F7
surface
#F1E9ED
border
#CBC5C8
text
#0D0408
muted
#7E797B

Preview Lab

Preview with #5F1644

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

Preview Lab → · Contrast checker → · Palette generator →

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