#5F1850#5F1850

#5F1850 is a dark, vivid pink. Relative luminance 0.037; OKLCH L 34.8% C 0.122 H 337.6°. Best body text is #FFFFFF at 12.12:1 contrast (WCAG AA passes).

Color values

HEX#5F1850
RGBrgb(95, 24, 80)
HSLhsl(313, 60%, 23%)
HSVhsv(313, 75%, 37%)
CMYKcmyk(0%, 74.7%, 15.8%, 62.7%)
CIE-LABlab(22.53, 38.31, -17.16)
CIE-LCHlch(22.53, 41.98, 335.86°)
OKLaboklab(34.83% 0.113 -0.0466)
OKLCHoklch(34.83% 0.122 337.6)
XYZxyz(6.4940, 3.6659, 7.9534)
Luminance0.0367 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F1850 #185F27
analogous
#4A185F #5F1850 #5F182C
triadic
#5F1850 #505F18 #18505F
tetradic
#5F1850 #5F4A18 #185F27 #182C5F
square
#5F1850 #5F4A18 #185F27 #182C5F
split-complementary
#5F1850 #2C5F18 #185F4A
monochromatic
#180615 #2E0C27 #5F1850 #902479 #C131A2

Accessibility & contrast

On white

12.12
#5F1850 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#5F1850 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F1850
12.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F1850#FFFFFF#000000##FFFFFF
##5F18501.0012.121.7312.12
#FFFFFF12.121.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.121.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5f1850;
/* rgb */ color: rgb(95, 24, 80);
/* oklch */ color: oklch(34.8% 0.122 337.6);
Tailwind
colors: {
  custom: {
    50: '#8f5c81',
    500: '#5f1850',
    950: '#000000',
  },
}
SCSS
$custom: #5f1850;
$custom-light: #8f5c81;
$custom-dark: #000000;
JSON
{
  "hex": "#5f1850",
  "rgb": {
    "r": 95,
    "g": 24,
    "b": 80
  },
  "hsl": {
    "h": 312.676,
    "s": 59.664,
    "l": 23.333
  },
  "oklch": {
    "l": 0.34831,
    "c": 0.12221,
    "h": 337.6
  },
  "luminance": 0.03665
}

Semantic roles & 50–950 ramp

primary
#5F1850
secondary
#3D9550
accent
#E36645
background
#F9F5F7
surface
#F1E9EE
border
#CBC5C9
text
#0D040A
muted
#7E797C

Preview Lab

Preview with #5F1850

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

Preview Lab → · Contrast checker → · Palette generator →

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