#5F1940#5F1940

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

Color values

HEX#5F1940
RGBrgb(95, 25, 64)
HSLhsl(327, 58%, 24%)
HSVhsv(327, 74%, 37%)
CMYKcmyk(0%, 73.7%, 32.6%, 62.7%)
CIE-LABlab(21.94, 35.47, -7.19)
CIE-LCHlch(21.94, 36.19, 348.54°)
OKLaboklab(34.15% 0.1081 -0.0187)
OKLCHoklch(34.15% 0.11 350.2)
XYZxyz(5.9927, 3.4990, 5.2093)
Luminance0.0350 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F1940 #195F38
analogous
#5B195F #5F1940 #5F191D
triadic
#5F1940 #405F19 #19405F
tetradic
#5F1940 #5F5B19 #195F38 #191D5F
square
#5F1940 #5F5B19 #195F38 #191D5F
split-complementary
#5F1940 #1D5F19 #195F5B
monochromatic
#180610 #2F0C1F #5F1940 #8F2661 #C03281

Accessibility & contrast

On white

12.36
#5F1940 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5F1940
12.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F1940#FFFFFF#000000##FFFFFF
##5F19401.0012.361.7012.36
#FFFFFF12.361.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#232D41
Deuteranopia (green-blind)
#37393E
Tritanopia (blue-blind)
#66152A
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #5f1940;
/* rgb */ color: rgb(95, 25, 64);
/* oklch */ color: oklch(34.2% 0.110 350.2);
Tailwind
colors: {
  custom: {
    50: '#8f5c74',
    500: '#5f1940',
    950: '#000000',
  },
}
SCSS
$custom: #5f1940;
$custom-light: #8f5c74;
$custom-dark: #000000;
JSON
{
  "hex": "#5f1940",
  "rgb": {
    "r": 95,
    "g": 25,
    "b": 64
  },
  "hsl": {
    "h": 326.571,
    "s": 58.333,
    "l": 23.529
  },
  "oklch": {
    "l": 0.34154,
    "c": 0.10972,
    "h": 350.2
  },
  "luminance": 0.03498
}

Semantic roles & 50–950 ramp

primary
#5F1940
secondary
#3F9565
accent
#E28B46
background
#F9F5F7
surface
#F1E9ED
border
#CBC5C8
text
#0D0408
muted
#7E797B

Preview Lab

Preview with #5F1940

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

Preview Lab → · Contrast checker → · Palette generator →

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