#5F1341#5F1341

#5F1341 is a dark, moderate pink. Relative luminance 0.033; OKLCH L 33.6% C 0.118 H 348.3°. Best body text is #FFFFFF at 12.68:1 contrast (WCAG AA passes).

Color values

HEX#5F1341
RGBrgb(95, 19, 65)
HSLhsl(324, 67%, 22%)
HSVhsv(324, 80%, 37%)
CMYKcmyk(0%, 80%, 31.6%, 62.7%)
CIE-LABlab(21.14, 37.98, -9.10)
CIE-LCHlch(21.14, 39.05, 346.53°)
OKLaboklab(33.58% 0.1158 -0.0239)
OKLCHoklch(33.58% 0.118 348.3)
XYZxyz(5.9066, 3.2810, 5.3222)
Luminance0.0328 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F1341 #135F31
analogous
#57135F #5F1341 #5F131B
triadic
#5F1341 #415F13 #13415F
tetradic
#5F1341 #5F5713 #135F31 #131B5F
square
#5F1341 #5F5713 #135F31 #131B5F
split-complementary
#5F1341 #1B5F13 #135F57
monochromatic
#1A0511 #2C091E #5F1341 #921D64 #C52787

Accessibility & contrast

On white

12.68
#5F1341 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#5F1341 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F1341
12.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F1341#FFFFFF#000000##FFFFFF
##5F13411.0012.681.6612.68
#FFFFFF12.681.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F2A42
Deuteranopia (green-blind)
#35383F
Tritanopia (blue-blind)
#660F28
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #5f1341;
/* rgb */ color: rgb(95, 19, 65);
/* oklch */ color: oklch(33.6% 0.118 348.3);
Tailwind
colors: {
  custom: {
    50: '#905975',
    500: '#5f1341',
    950: '#000000',
  },
}
SCSS
$custom: #5f1341;
$custom-light: #905975;
$custom-dark: #000000;
JSON
{
  "hex": "#5f1341",
  "rgb": {
    "r": 95,
    "g": 19,
    "b": 65
  },
  "hsl": {
    "h": 323.684,
    "s": 66.667,
    "l": 22.353
  },
  "oklch": {
    "l": 0.3358,
    "c": 0.11825,
    "h": 348.3
  },
  "luminance": 0.0328
}

Semantic roles & 50–950 ramp

primary
#5F1341
secondary
#37975D
accent
#EA823E
background
#F9F5F7
surface
#F1E9ED
border
#CBC5C8
text
#0D0408
muted
#7E797B

Preview Lab

Preview with #5F1341

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

Preview Lab → · Contrast checker → · Palette generator →

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