#5F1746#5F1746

#5F1746 is a dark, moderate pink. Relative luminance 0.035; OKLCH L 34.2% C 0.116 H 344.9°. Best body text is #FFFFFF at 12.37:1 contrast (WCAG AA passes).

Color values

HEX#5F1746
RGBrgb(95, 23, 70)
HSLhsl(321, 61%, 23%)
HSVhsv(321, 76%, 37%)
CMYKcmyk(0%, 75.8%, 26.3%, 62.7%)
CIE-LABlab(21.90, 37.16, -11.36)
CIE-LCHlch(21.90, 38.85, 343.00°)
OKLaboklab(34.21% 0.1123 -0.0302)
OKLCHoklch(34.21% 0.116 344.9)
XYZxyz(6.1314, 3.4885, 6.1436)
Luminance0.0349 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F1746 #175F30
analogous
#54175F #5F1746 #5F1722
triadic
#5F1746 #465F17 #17465F
tetradic
#5F1746 #5F5417 #175F30 #17225F
square
#5F1746 #5F5417 #175F30 #17225F
split-complementary
#5F1746 #225F17 #175F54
monochromatic
#190612 #2E0B22 #5F1746 #90236A #C22F8F

Accessibility & contrast

On white

12.37
#5F1746 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#5F1746 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F1746
12.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F1746#FFFFFF#000000##FFFFFF
##5F17461.0012.371.7012.37
#FFFFFF12.371.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.371.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5f1746;
/* rgb */ color: rgb(95, 23, 70);
/* oklch */ color: oklch(34.2% 0.116 344.9);
Tailwind
colors: {
  custom: {
    50: '#8f5b79',
    500: '#5f1746',
    950: '#000000',
  },
}
SCSS
$custom: #5f1746;
$custom-light: #8f5b79;
$custom-dark: #000000;
JSON
{
  "hex": "#5f1746",
  "rgb": {
    "r": 95,
    "g": 23,
    "b": 70
  },
  "hsl": {
    "h": 320.833,
    "s": 61.017,
    "l": 23.137
  },
  "oklch": {
    "l": 0.34212,
    "c": 0.11629,
    "h": 344.9
  },
  "luminance": 0.03488
}

Semantic roles & 50–950 ramp

primary
#5F1746
secondary
#3C965B
accent
#E47B44
background
#F9F5F7
surface
#F1E9ED
border
#CBC5C8
text
#0D0409
muted
#7E797B

Preview Lab

Preview with #5F1746

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

Preview Lab → · Contrast checker → · Palette generator →

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