#5F1E4E#5F1E4E

#5F1E4E is a dark, moderate pink. Relative luminance 0.039; OKLCH L 35.4% C 0.112 H 339.5°. Best body text is #FFFFFF at 11.78:1 contrast (WCAG AA passes).

Color values

HEX#5F1E4E
RGBrgb(95, 30, 78)
HSLhsl(316, 52%, 25%)
HSVhsv(316, 68%, 37%)
CMYKcmyk(0%, 68.4%, 17.9%, 62.7%)
CIE-LABlab(23.38, 35.35, -14.51)
CIE-LCHlch(23.38, 38.21, 337.68°)
OKLaboklab(35.41% 0.1048 -0.0391)
OKLCHoklch(35.41% 0.112 339.5)
XYZxyz(6.5589, 3.9121, 7.6159)
Luminance0.0391 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F1E4E #1E5F2F
analogous
#501E5F #5F1E4E #5F1E2E
triadic
#5F1E4E #4E5F1E #1E4E5F
tetradic
#5F1E4E #5F501E #1E5F2F #1E2E5F
square
#5F1E4E #5F501E #1E5F2F #1E2E5F
split-complementary
#5F1E4E #2E5F1E #1E5F50
monochromatic
#170713 #300F28 #5F1E4E #8E2D74 #BC3B9A

Accessibility & contrast

On white

11.78
#5F1E4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#5F1E4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F1E4E
11.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F1E4E#FFFFFF#000000##FFFFFF
##5F1E4E1.0011.781.7811.78
#FFFFFF11.781.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#21314F
Deuteranopia (green-blind)
#353B4C
Tritanopia (blue-blind)
#652033
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #5f1e4e;
/* rgb */ color: rgb(95, 30, 78);
/* oklch */ color: oklch(35.4% 0.112 339.5);
Tailwind
colors: {
  custom: {
    50: '#8f5f7f',
    500: '#5f1e4e',
    950: '#000000',
  },
}
SCSS
$custom: #5f1e4e;
$custom-light: #8f5f7f;
$custom-dark: #000000;
JSON
{
  "hex": "#5f1e4e",
  "rgb": {
    "r": 95,
    "g": 30,
    "b": 78
  },
  "hsl": {
    "h": 315.692,
    "s": 52,
    "l": 24.51
  },
  "oklch": {
    "l": 0.35413,
    "c": 0.11181,
    "h": 339.5
  },
  "luminance": 0.03912
}

Semantic roles & 50–950 ramp

primary
#5F1E4E
secondary
#45945A
accent
#DB724C
background
#F9F5F7
surface
#F1E9EE
border
#CBC5C9
text
#0D050A
muted
#7E797C

Preview Lab

Preview with #5F1E4E

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

Preview Lab → · Contrast checker → · Palette generator →

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