#5F1140#5F1140

#5F1140 is a dark, vivid pink. Relative luminance 0.032; OKLCH L 33.4% C 0.120 H 348.8°. Best body text is #FFFFFF at 12.80:1 contrast (WCAG AA passes).

Color values

HEX#5F1140
RGBrgb(95, 17, 64)
HSLhsl(324, 70%, 22%)
HSVhsv(324, 82%, 37%)
CMYKcmyk(0%, 82.1%, 32.6%, 62.7%)
CIE-LABlab(20.85, 38.55, -8.85)
CIE-LCHlch(20.85, 39.55, 347.07°)
OKLaboklab(33.35% 0.1177 -0.0232)
OKLCHoklch(33.35% 0.12 348.8)
XYZxyz(5.8455, 3.2046, 5.1602)
Luminance0.0320 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F1140 #115F30
analogous
#57115F #5F1140 #5F1119
triadic
#5F1140 #405F11 #11405F
tetradic
#5F1140 #5F5711 #115F30 #11195F
square
#5F1140 #5F5711 #115F30 #11195F
split-complementary
#5F1140 #195F11 #115F57
monochromatic
#1A0511 #2B081D #5F1140 #931A63 #C72486

Accessibility & contrast

On white

12.80
#5F1140 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#5F1140 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F1140
12.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F1140#FFFFFF#000000##FFFFFF
##5F11401.0012.801.6412.80
#FFFFFF12.801.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E2941
Deuteranopia (green-blind)
#35373E
Tritanopia (blue-blind)
#660C27
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #5f1140;
/* rgb */ color: rgb(95, 17, 64);
/* oklch */ color: oklch(33.4% 0.120 348.8);
Tailwind
colors: {
  custom: {
    50: '#905874',
    500: '#5f1140',
    950: '#000000',
  },
}
SCSS
$custom: #5f1140;
$custom-light: #905874;
$custom-dark: #000000;
JSON
{
  "hex": "#5f1140",
  "rgb": {
    "r": 95,
    "g": 17,
    "b": 64
  },
  "hsl": {
    "h": 323.846,
    "s": 69.643,
    "l": 21.961
  },
  "oklch": {
    "l": 0.33354,
    "c": 0.12001,
    "h": 348.8
  },
  "luminance": 0.03204
}

Semantic roles & 50–950 ramp

primary
#5F1140
secondary
#34985C
accent
#EC823B
background
#F9F5F7
surface
#F1E9ED
border
#CBC5C8
text
#0D0408
muted
#7E797B

Preview Lab

Preview with #5F1140

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

Preview Lab → · Contrast checker → · Palette generator →

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