#5F1050#5F1050

#5F1050 is a dark, vivid pink. Relative luminance 0.034; OKLCH L 34.1% C 0.132 H 337.2°. Best body text is #FFFFFF at 12.53:1 contrast (WCAG AA passes).

Color values

HEX#5F1050
RGBrgb(95, 16, 80)
HSLhsl(311, 71%, 22%)
HSVhsv(311, 83%, 37%)
CMYKcmyk(0%, 83.2%, 15.8%, 62.7%)
CIE-LABlab(21.52, 41.20, -18.75)
CIE-LCHlch(21.52, 45.27, 335.53°)
OKLaboklab(34.1% 0.1216 -0.051)
OKLCHoklch(34.1% 0.132 337.2)
XYZxyz(6.3527, 3.3833, 7.9063)
Luminance0.0338 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F1050 #105F1F
analogous
#47105F #5F1050 #5F1029
triadic
#5F1050 #505F10 #10505F
tetradic
#5F1050 #5F4710 #105F1F #10295F
square
#5F1050 #5F4710 #105F1F #10295F
split-complementary
#5F1050 #295F10 #105F47
monochromatic
#1A0416 #2B0724 #5F1050 #93197C #C822A8

Accessibility & contrast

On white

12.53
#5F1050 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#5F1050 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F1050
12.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F1050#FFFFFF#000000##FFFFFF
##5F10501.0012.531.6812.53
#FFFFFF12.531.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#132C52
Deuteranopia (green-blind)
#2F384E
Tritanopia (blue-blind)
#65152F
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #5f1050;
/* rgb */ color: rgb(95, 16, 80);
/* oklch */ color: oklch(34.1% 0.132 337.2);
Tailwind
colors: {
  custom: {
    50: '#905981',
    500: '#5f1050',
    950: '#000000',
  },
}
SCSS
$custom: #5f1050;
$custom-light: #905981;
$custom-dark: #000000;
JSON
{
  "hex": "#5f1050",
  "rgb": {
    "r": 95,
    "g": 16,
    "b": 80
  },
  "hsl": {
    "h": 311.392,
    "s": 71.171,
    "l": 21.765
  },
  "oklch": {
    "l": 0.34097,
    "c": 0.13191,
    "h": 337.2
  },
  "luminance": 0.03383
}

Semantic roles & 50–950 ramp

primary
#5F1050
secondary
#339846
accent
#EE5C3A
background
#F9F5F7
surface
#F1E9EE
border
#CBC5C9
text
#0D040A
muted
#7E797C

Preview Lab

Preview with #5F1050

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

Preview Lab → · Contrast checker → · Palette generator →

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