#5F1340#5F1340

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

Color values

HEX#5F1340
RGBrgb(95, 19, 64)
HSLhsl(324, 67%, 22%)
HSVhsv(324, 80%, 37%)
CMYKcmyk(0%, 80%, 32.6%, 62.7%)
CIE-LABlab(21.09, 37.85, -8.47)
CIE-LCHlch(21.09, 38.78, 347.38°)
OKLaboklab(33.53% 0.1156 -0.0222)
OKLCHoklch(33.53% 0.118 349.1)
XYZxyz(5.8779, 3.2695, 5.1710)
Luminance0.0327 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F1340 #135F32
analogous
#58135F #5F1340 #5F131A
triadic
#5F1340 #405F13 #13405F
tetradic
#5F1340 #5F5813 #135F32 #131A5F
square
#5F1340 #5F5813 #135F32 #131A5F
split-complementary
#5F1340 #1A5F13 #135F58
monochromatic
#1A0511 #2C091E #5F1340 #921D62 #C52785

Accessibility & contrast

On white

12.70
#5F1340 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#5F1340 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F1340
12.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F1340#FFFFFF#000000##FFFFFF
##5F13401.0012.701.6512.70
#FFFFFF12.701.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F2A41
Deuteranopia (green-blind)
#35373E
Tritanopia (blue-blind)
#660F27
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #5f1340;
/* rgb */ color: rgb(95, 19, 64);
/* oklch */ color: oklch(33.5% 0.118 349.1);
Tailwind
colors: {
  custom: {
    50: '#905974',
    500: '#5f1340',
    950: '#000000',
  },
}
SCSS
$custom: #5f1340;
$custom-light: #905974;
$custom-dark: #000000;
JSON
{
  "hex": "#5f1340",
  "rgb": {
    "r": 95,
    "g": 19,
    "b": 64
  },
  "hsl": {
    "h": 324.474,
    "s": 66.667,
    "l": 22.353
  },
  "oklch": {
    "l": 0.33534,
    "c": 0.11766,
    "h": 349.1
  },
  "luminance": 0.03269
}

Semantic roles & 50–950 ramp

primary
#5F1340
secondary
#37975E
accent
#EA843E
background
#F9F5F7
surface
#F1E9ED
border
#CBC5C8
text
#0D0408
muted
#7E797B

Preview Lab

Preview with #5F1340

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

Preview Lab → · Contrast checker → · Palette generator →

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