#5F1346#5F1346

#5F1346 is a dark, vivid pink. Relative luminance 0.033; OKLCH L 33.8% C 0.121 H 344.5°. Best body text is #FFFFFF at 12.59:1 contrast (WCAG AA passes).

Color values

HEX#5F1346
RGBrgb(95, 19, 70)
HSLhsl(320, 67%, 22%)
HSVhsv(320, 80%, 37%)
CMYKcmyk(0%, 80%, 26.3%, 62.7%)
CIE-LABlab(21.36, 38.68, -12.19)
CIE-LCHlch(21.36, 40.55, 342.51°)
OKLaboklab(33.82% 0.117 -0.0325)
OKLCHoklch(33.82% 0.121 344.5)
XYZxyz(6.0579, 3.3415, 6.1191)
Luminance0.0334 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F1346 #135F2C
analogous
#52135F #5F1346 #5F1320
triadic
#5F1346 #465F13 #13465F
tetradic
#5F1346 #5F5213 #135F2C #13205F
square
#5F1346 #5F5213 #135F2C #13205F
split-complementary
#5F1346 #205F13 #135F52
monochromatic
#1A0513 #2C0920 #5F1346 #921D6C #C52791

Accessibility & contrast

On white

12.59
#5F1346 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#5F1346 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F1346
12.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F1346#FFFFFF#000000##FFFFFF
##5F13461.0012.591.6712.59
#FFFFFF12.591.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C2B47
Deuteranopia (green-blind)
#333844
Tritanopia (blue-blind)
#66122B
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #5f1346;
/* rgb */ color: rgb(95, 19, 70);
/* oklch */ color: oklch(33.8% 0.121 344.5);
Tailwind
colors: {
  custom: {
    50: '#905a79',
    500: '#5f1346',
    950: '#000000',
  },
}
SCSS
$custom: #5f1346;
$custom-light: #905a79;
$custom-dark: #000000;
JSON
{
  "hex": "#5f1346",
  "rgb": {
    "r": 95,
    "g": 19,
    "b": 70
  },
  "hsl": {
    "h": 319.737,
    "s": 66.667,
    "l": 22.353
  },
  "oklch": {
    "l": 0.33819,
    "c": 0.12143,
    "h": 344.5
  },
  "luminance": 0.03341
}

Semantic roles & 50–950 ramp

primary
#5F1346
secondary
#379756
accent
#EA773E
background
#F9F5F7
surface
#F1E9ED
border
#CBC5C8
text
#0D0409
muted
#7E797B

Preview Lab

Preview with #5F1346

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

Preview Lab → · Contrast checker → · Palette generator →

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