#5F1440#5F1440

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

Color values

HEX#5F1440
RGBrgb(95, 20, 64)
HSLhsl(325, 65%, 23%)
HSVhsv(325, 79%, 37%)
CMYKcmyk(0%, 78.9%, 32.6%, 62.7%)
CIE-LABlab(21.22, 37.48, -8.28)
CIE-LCHlch(21.22, 38.38, 347.55°)
OKLaboklab(33.63% 0.1144 -0.0217)
OKLCHoklch(33.63% 0.116 349.3)
XYZxyz(5.8952, 3.3040, 5.1768)
Luminance0.0330 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F1440 #145F33
analogous
#58145F #5F1440 #5F141B
triadic
#5F1440 #405F14 #14405F
tetradic
#5F1440 #5F5814 #145F33 #141B5F
square
#5F1440 #5F5814 #145F33 #141B5F
split-complementary
#5F1440 #1B5F14 #145F58
monochromatic
#190511 #2C091E #5F1440 #921F62 #C42984

Accessibility & contrast

On white

12.65
#5F1440 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5F1440
12.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F1440#FFFFFF#000000##FFFFFF
##5F14401.0012.651.6612.65
#FFFFFF12.651.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#202B41
Deuteranopia (green-blind)
#36383E
Tritanopia (blue-blind)
#661028
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #5f1440;
/* rgb */ color: rgb(95, 20, 64);
/* oklch */ color: oklch(33.6% 0.116 349.3);
Tailwind
colors: {
  custom: {
    50: '#905a74',
    500: '#5f1440',
    950: '#000000',
  },
}
SCSS
$custom: #5f1440;
$custom-light: #905a74;
$custom-dark: #000000;
JSON
{
  "hex": "#5f1440",
  "rgb": {
    "r": 95,
    "g": 20,
    "b": 64
  },
  "hsl": {
    "h": 324.8,
    "s": 65.217,
    "l": 22.549
  },
  "oklch": {
    "l": 0.33629,
    "c": 0.11643,
    "h": 349.3
  },
  "luminance": 0.03303
}

Semantic roles & 50–950 ramp

primary
#5F1440
secondary
#38975F
accent
#E88540
background
#F9F5F7
surface
#F1E9ED
border
#CBC5C8
text
#0D0408
muted
#7E797B

Preview Lab

Preview with #5F1440

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

Preview Lab → · Contrast checker → · Palette generator →

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