#5F1038#5F1038

#5F1038 is a dark, moderate pink. Relative luminance 0.031; OKLCH L 32.9% C 0.117 H 355.1°. Best body text is #FFFFFF at 12.98:1 contrast (WCAG AA passes).

Color values

HEX#5F1038
RGBrgb(95, 16, 56)
HSLhsl(330, 71%, 22%)
HSVhsv(330, 83%, 37%)
CMYKcmyk(0%, 83.2%, 41.1%, 62.7%)
CIE-LABlab(20.40, 37.88, -3.95)
CIE-LCHlch(20.40, 38.09, 354.04°)
OKLaboklab(32.92% 0.1164 -0.0099)
OKLCHoklch(32.92% 0.117 355.1)
XYZxyz(5.6188, 3.0897, 4.0411)
Luminance0.0309 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F1038 #105F37
analogous
#5F105F #5F1038 #5F1011
triadic
#5F1038 #385F10 #10385F
tetradic
#5F1038 #5F5F10 #105F37 #10115F
square
#5F1038 #5F5F10 #105F37 #10115F
split-complementary
#5F1038 #115F10 #105F5F
monochromatic
#1A040F #2B0719 #5F1038 #931957 #C82276

Accessibility & contrast

On white

12.98
#5F1038 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#5F1038 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F1038
12.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F1038#FFFFFF#000000##FFFFFF
##5F10381.0012.981.6212.98
#FFFFFF12.981.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#202839
Deuteranopia (green-blind)
#363636
Tritanopia (blue-blind)
#670622
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #5f1038;
/* rgb */ color: rgb(95, 16, 56);
/* oklch */ color: oklch(32.9% 0.117 355.1);
Tailwind
colors: {
  custom: {
    50: '#90586e',
    500: '#5f1038',
    950: '#000000',
  },
}
SCSS
$custom: #5f1038;
$custom-light: #90586e;
$custom-dark: #000000;
JSON
{
  "hex": "#5f1038",
  "rgb": {
    "r": 95,
    "g": 16,
    "b": 56
  },
  "hsl": {
    "h": 329.62,
    "s": 71.171,
    "l": 21.765
  },
  "oklch": {
    "l": 0.32921,
    "c": 0.11686,
    "h": 355.1
  },
  "luminance": 0.03089
}

Semantic roles & 50–950 ramp

primary
#5F1038
secondary
#339865
accent
#EE933A
background
#F9F5F6
surface
#F1E9EB
border
#CBC5C6
text
#0D0407
muted
#7E797A

Preview Lab

Preview with #5F1038

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

Preview Lab → · Contrast checker → · Palette generator →

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