#5F1950#5F1950

#5F1950 is a dark, vivid pink. Relative luminance 0.037; OKLCH L 34.9% C 0.121 H 337.7°. Best body text is #FFFFFF at 12.06:1 contrast (WCAG AA passes).

Color values

HEX#5F1950
RGBrgb(95, 25, 80)
HSLhsl(313, 58%, 24%)
HSVhsv(313, 74%, 37%)
CMYKcmyk(0%, 73.7%, 15.8%, 62.7%)
CIE-LABlab(22.68, 37.90, -16.94)
CIE-LCHlch(22.68, 41.51, 335.92°)
OKLaboklab(34.94% 0.1118 -0.0459)
OKLCHoklch(34.94% 0.121 337.7)
XYZxyz(6.5150, 3.7079, 7.9604)
Luminance0.0371 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F1950 #195F28
analogous
#4B195F #5F1950 #5F192D
triadic
#5F1950 #505F19 #19505F
tetradic
#5F1950 #5F4B19 #195F28 #192D5F
square
#5F1950 #5F4B19 #195F28 #192D5F
split-complementary
#5F1950 #2D5F19 #195F4B
monochromatic
#180614 #2F0C27 #5F1950 #8F2679 #C032A2

Accessibility & contrast

On white

12.06
#5F1950 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#5F1950 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F1950
12.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F1950#FFFFFF#000000##FFFFFF
##5F19501.0012.061.7412.06
#FFFFFF12.061.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B2F52
Deuteranopia (green-blind)
#323A4E
Tritanopia (blue-blind)
#641C32
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #5f1950;
/* rgb */ color: rgb(95, 25, 80);
/* oklch */ color: oklch(34.9% 0.121 337.7);
Tailwind
colors: {
  custom: {
    50: '#8f5d81',
    500: '#5f1950',
    950: '#000000',
  },
}
SCSS
$custom: #5f1950;
$custom-light: #8f5d81;
$custom-dark: #000000;
JSON
{
  "hex": "#5f1950",
  "rgb": {
    "r": 95,
    "g": 25,
    "b": 80
  },
  "hsl": {
    "h": 312.857,
    "s": 58.333,
    "l": 23.529
  },
  "oklch": {
    "l": 0.34938,
    "c": 0.12082,
    "h": 337.7
  },
  "luminance": 0.03707
}

Semantic roles & 50–950 ramp

primary
#5F1950
secondary
#3F9551
accent
#E26846
background
#F9F5F7
surface
#F1E9EE
border
#CBC5C9
text
#0D040A
muted
#7E797C

Preview Lab

Preview with #5F1950

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

Preview Lab → · Contrast checker → · Palette generator →

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