#5F1048#5F1048

#5F1048 is a dark, vivid pink. Relative luminance 0.033; OKLCH L 33.7% C 0.126 H 342.7°. Best body text is #FFFFFF at 12.69:1 contrast (WCAG AA passes).

Color values

HEX#5F1048
RGBrgb(95, 16, 72)
HSLhsl(317, 71%, 22%)
HSVhsv(317, 83%, 37%)
CMYKcmyk(0%, 83.2%, 24.2%, 62.7%)
CIE-LABlab(21.10, 39.98, -13.96)
CIE-LCHlch(21.10, 42.35, 340.75°)
OKLaboklab(33.66% 0.1205 -0.0374)
OKLCHoklch(33.66% 0.126 342.7)
XYZxyz(6.0745, 3.2720, 6.4413)
Luminance0.0327 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F1048 #105F27
analogous
#4F105F #5F1048 #5F1021
triadic
#5F1048 #485F10 #10485F
tetradic
#5F1048 #5F4F10 #105F27 #10215F
square
#5F1048 #5F4F10 #105F27 #10215F
split-complementary
#5F1048 #215F10 #105F4F
monochromatic
#1A0414 #2B0720 #5F1048 #931970 #C82297

Accessibility & contrast

On white

12.69
#5F1048 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#5F1048 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F1048
12.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F1048#FFFFFF#000000##FFFFFF
##5F10481.0012.691.6512.69
#FFFFFF12.691.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#192A49
Deuteranopia (green-blind)
#323746
Tritanopia (blue-blind)
#66112B
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #5f1048;
/* rgb */ color: rgb(95, 16, 72);
/* oklch */ color: oklch(33.7% 0.126 342.7);
Tailwind
colors: {
  custom: {
    50: '#90587b',
    500: '#5f1048',
    950: '#000000',
  },
}
SCSS
$custom: #5f1048;
$custom-light: #90587b;
$custom-dark: #000000;
JSON
{
  "hex": "#5f1048",
  "rgb": {
    "r": 95,
    "g": 16,
    "b": 72
  },
  "hsl": {
    "h": 317.468,
    "s": 71.171,
    "l": 21.765
  },
  "oklch": {
    "l": 0.33661,
    "c": 0.1262,
    "h": 342.7
  },
  "luminance": 0.03271
}

Semantic roles & 50–950 ramp

primary
#5F1048
secondary
#339850
accent
#EE6E3A
background
#F9F5F7
surface
#F1E9ED
border
#CBC5C8
text
#0D0409
muted
#7E797B

Preview Lab

Preview with #5F1048

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

Preview Lab → · Contrast checker → · Palette generator →

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