#5F1348#5F1348

#5F1348 is a dark, vivid pink. Relative luminance 0.034; OKLCH L 33.9% C 0.123 H 343.0°. Best body text is #FFFFFF at 12.55:1 contrast (WCAG AA passes).

Color values

HEX#5F1348
RGBrgb(95, 19, 72)
HSLhsl(318, 67%, 22%)
HSVhsv(318, 80%, 37%)
CMYKcmyk(0%, 80%, 24.2%, 62.7%)
CIE-LABlab(21.46, 38.97, -13.41)
CIE-LCHlch(21.46, 41.21, 341.01°)
OKLaboklab(33.92% 0.1174 -0.0359)
OKLCHoklch(33.92% 0.123 343)
XYZxyz(6.1221, 3.3672, 6.4571)
Luminance0.0337 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F1348 #135F2A
analogous
#50135F #5F1348 #5F1322
triadic
#5F1348 #485F13 #13485F
tetradic
#5F1348 #5F5013 #135F2A #13225F
square
#5F1348 #5F5013 #135F2A #13225F
split-complementary
#5F1348 #225F13 #135F50
monochromatic
#1A0513 #2C0921 #5F1348 #921D6F #C52795

Accessibility & contrast

On white

12.55
#5F1348 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#5F1348 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F1348
12.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F1348#FFFFFF#000000##FFFFFF
##5F13481.0012.551.6712.55
#FFFFFF12.551.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B2B49
Deuteranopia (green-blind)
#333846
Tritanopia (blue-blind)
#66132C
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #5f1348;
/* rgb */ color: rgb(95, 19, 72);
/* oklch */ color: oklch(33.9% 0.123 343.0);
Tailwind
colors: {
  custom: {
    50: '#905a7b',
    500: '#5f1348',
    950: '#000000',
  },
}
SCSS
$custom: #5f1348;
$custom-light: #905a7b;
$custom-dark: #000000;
JSON
{
  "hex": "#5f1348",
  "rgb": {
    "r": 95,
    "g": 19,
    "b": 72
  },
  "hsl": {
    "h": 318.158,
    "s": 66.667,
    "l": 22.353
  },
  "oklch": {
    "l": 0.33919,
    "c": 0.12277,
    "h": 343
  },
  "luminance": 0.03367
}

Semantic roles & 50–950 ramp

primary
#5F1348
secondary
#379754
accent
#EA723E
background
#F9F5F7
surface
#F1E9ED
border
#CBC5C8
text
#0D0409
muted
#7E797B

Preview Lab

Preview with #5F1348

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

Preview Lab → · Contrast checker → · Palette generator →

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