#5F1248#5F1248

#5F1248 is a dark, vivid pink. Relative luminance 0.033; OKLCH L 33.8% C 0.124 H 342.9°. Best body text is #FFFFFF at 12.60:1 contrast (WCAG AA passes).

Color values

HEX#5F1248
RGBrgb(95, 18, 72)
HSLhsl(318, 68%, 22%)
HSVhsv(318, 81%, 37%)
CMYKcmyk(0%, 81.1%, 24.2%, 62.7%)
CIE-LABlab(21.33, 39.32, -13.60)
CIE-LCHlch(21.33, 41.61, 340.92°)
OKLaboklab(33.83% 0.1185 -0.0364)
OKLCHoklch(33.83% 0.124 342.9)
XYZxyz(6.1055, 3.3340, 6.4516)
Luminance0.0333 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F1248 #125F29
analogous
#50125F #5F1248 #5F1222
triadic
#5F1248 #485F12 #12485F
tetradic
#5F1248 #5F5012 #125F29 #12225F
square
#5F1248 #5F5012 #125F29 #12225F
split-complementary
#5F1248 #225F12 #125F50
monochromatic
#1A0513 #2C0821 #5F1248 #921C6F #C62596

Accessibility & contrast

On white

12.60
#5F1248 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5F1248
12.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F1248#FFFFFF#000000##FFFFFF
##5F12481.0012.601.6712.60
#FFFFFF12.601.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A2B49
Deuteranopia (green-blind)
#323846
Tritanopia (blue-blind)
#66122B
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #5f1248;
/* rgb */ color: rgb(95, 18, 72);
/* oklch */ color: oklch(33.8% 0.124 342.9);
Tailwind
colors: {
  custom: {
    50: '#90597b',
    500: '#5f1248',
    950: '#000000',
  },
}
SCSS
$custom: #5f1248;
$custom-light: #90597b;
$custom-dark: #000000;
JSON
{
  "hex": "#5f1248",
  "rgb": {
    "r": 95,
    "g": 18,
    "b": 72
  },
  "hsl": {
    "h": 317.922,
    "s": 68.142,
    "l": 22.157
  },
  "oklch": {
    "l": 0.3383,
    "c": 0.12396,
    "h": 342.9
  },
  "luminance": 0.03333
}

Semantic roles & 50–950 ramp

primary
#5F1248
secondary
#369753
accent
#EB713D
background
#F9F5F7
surface
#F1E9ED
border
#CBC5C8
text
#0D0409
muted
#7E797B

Preview Lab

Preview with #5F1248

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

Preview Lab → · Contrast checker → · Palette generator →

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