#5F1548#5F1548

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

Color values

HEX#5F1548
RGBrgb(95, 21, 72)
HSLhsl(319, 64%, 23%)
HSVhsv(319, 78%, 37%)
CMYKcmyk(0%, 77.9%, 24.2%, 62.7%)
CIE-LABlab(21.72, 38.23, -13.01)
CIE-LCHlch(21.72, 40.39, 341.21°)
OKLaboklab(34.11% 0.1151 -0.0348)
OKLCHoklch(34.11% 0.12 343.2)
XYZxyz(6.1574, 3.4377, 6.4689)
Luminance0.0344 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F1548 #155F2C
analogous
#51155F #5F1548 #5F1523
triadic
#5F1548 #485F15 #15485F
tetradic
#5F1548 #5F5115 #155F2C #15235F
square
#5F1548 #5F5115 #155F2C #15235F
split-complementary
#5F1548 #235F15 #155F51
monochromatic
#190613 #2D0A22 #5F1548 #91206E #C32B94

Accessibility & contrast

On white

12.45
#5F1548 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#5F1548 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F1548
12.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F1548#FFFFFF#000000##FFFFFF
##5F15481.0012.451.6912.45
#FFFFFF12.451.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D2C49
Deuteranopia (green-blind)
#333846
Tritanopia (blue-blind)
#66152C
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #5f1548;
/* rgb */ color: rgb(95, 21, 72);
/* oklch */ color: oklch(34.1% 0.120 343.2);
Tailwind
colors: {
  custom: {
    50: '#8f5a7b',
    500: '#5f1548',
    950: '#000000',
  },
}
SCSS
$custom: #5f1548;
$custom-light: #8f5a7b;
$custom-dark: #000000;
JSON
{
  "hex": "#5f1548",
  "rgb": {
    "r": 95,
    "g": 21,
    "b": 72
  },
  "hsl": {
    "h": 318.649,
    "s": 63.793,
    "l": 22.745
  },
  "oklch": {
    "l": 0.34108,
    "c": 0.12029,
    "h": 343.2
  },
  "luminance": 0.03437
}

Semantic roles & 50–950 ramp

primary
#5F1548
secondary
#3A9656
accent
#E77541
background
#F9F5F7
surface
#F1E9ED
border
#CBC5C8
text
#0D0409
muted
#7E797B

Preview Lab

Preview with #5F1548

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

Preview Lab → · Contrast checker → · Palette generator →

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