#5F1640#5F1640

#5F1640 is a dark, moderate pink. Relative luminance 0.034; OKLCH L 33.8% C 0.114 H 349.6°. Best body text is #FFFFFF at 12.53:1 contrast (WCAG AA passes).

Color values

HEX#5F1640
RGBrgb(95, 22, 64)
HSLhsl(325, 62%, 23%)
HSVhsv(325, 77%, 37%)
CMYKcmyk(0%, 76.8%, 32.6%, 62.7%)
CIE-LABlab(21.50, 36.71, -7.86)
CIE-LCHlch(21.50, 37.54, 347.91°)
OKLaboklab(33.83% 0.112 -0.0205)
OKLCHoklch(33.83% 0.114 349.6)
XYZxyz(5.9319, 3.3775, 5.1890)
Luminance0.0338 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F1640 #165F35
analogous
#59165F #5F1640 #5F161C
triadic
#5F1640 #405F16 #16405F
tetradic
#5F1640 #5F5916 #165F35 #161C5F
square
#5F1640 #5F5916 #165F35 #161C5F
split-complementary
#5F1640 #1C5F16 #165F59
monochromatic
#190611 #2D0A1F #5F1640 #912261 #C22D83

Accessibility & contrast

On white

12.53
#5F1640 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5F1640
12.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F1640#FFFFFF#000000##FFFFFF
##5F16401.0012.531.6812.53
#FFFFFF12.531.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#212B41
Deuteranopia (green-blind)
#36383E
Tritanopia (blue-blind)
#661228
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #5f1640;
/* rgb */ color: rgb(95, 22, 64);
/* oklch */ color: oklch(33.8% 0.114 349.6);
Tailwind
colors: {
  custom: {
    50: '#905b74',
    500: '#5f1640',
    950: '#000000',
  },
}
SCSS
$custom: #5f1640;
$custom-light: #905b74;
$custom-dark: #000000;
JSON
{
  "hex": "#5f1640",
  "rgb": {
    "r": 95,
    "g": 22,
    "b": 64
  },
  "hsl": {
    "h": 325.479,
    "s": 62.393,
    "l": 22.941
  },
  "oklch": {
    "l": 0.33829,
    "c": 0.11386,
    "h": 349.6
  },
  "luminance": 0.03377
}

Semantic roles & 50–950 ramp

primary
#5F1640
secondary
#3B9662
accent
#E58842
background
#F9F5F7
surface
#F1E9ED
border
#CBC5C8
text
#0D0408
muted
#7E797B

Preview Lab

Preview with #5F1640

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

Preview Lab → · Contrast checker → · Palette generator →

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