#5F113A#5F113A

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

Color values

HEX#5F113A
RGBrgb(95, 17, 58)
HSLhsl(328, 70%, 22%)
HSVhsv(328, 82%, 37%)
CMYKcmyk(0%, 82.1%, 38.9%, 62.7%)
CIE-LABlab(20.60, 37.78, -5.06)
CIE-LCHlch(20.60, 38.12, 352.37°)
OKLaboklab(33.09% 0.116 -0.0129)
OKLCHoklch(33.09% 0.117 353.7)
XYZxyz(5.6839, 3.1400, 4.3089)
Luminance0.0314 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F113A #115F36
analogous
#5D115F #5F113A #5F1113
triadic
#5F113A #3A5F11 #113A5F
tetradic
#5F113A #5F5D11 #115F36 #11135F
square
#5F113A #5F5D11 #115F36 #11135F
split-complementary
#5F113A #135F11 #115F5D
monochromatic
#1A0510 #2B081A #5F113A #931A5A #C72479

Accessibility & contrast

On white

12.90
#5F113A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#5F113A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F113A
12.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F113A#FFFFFF#000000##FFFFFF
##5F113A1.0012.901.6312.90
#FFFFFF12.901.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#20293B
Deuteranopia (green-blind)
#363738
Tritanopia (blue-blind)
#670824
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #5f113a;
/* rgb */ color: rgb(95, 17, 58);
/* oklch */ color: oklch(33.1% 0.117 353.7);
Tailwind
colors: {
  custom: {
    50: '#905870',
    500: '#5f113a',
    950: '#000000',
  },
}
SCSS
$custom: #5f113a;
$custom-light: #905870;
$custom-dark: #000000;
JSON
{
  "hex": "#5f113a",
  "rgb": {
    "r": 95,
    "g": 17,
    "b": 58
  },
  "hsl": {
    "h": 328.462,
    "s": 69.643,
    "l": 21.961
  },
  "oklch": {
    "l": 0.3309,
    "c": 0.11674,
    "h": 353.7
  },
  "luminance": 0.03139
}

Semantic roles & 50–950 ramp

primary
#5F113A
secondary
#349863
accent
#EC8F3B
background
#F9F5F6
surface
#F1E9EC
border
#CBC5C7
text
#0D0407
muted
#7E797A

Preview Lab

Preview with #5F113A

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

Preview Lab → · Contrast checker → · Palette generator →

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