#5F113C#5F113C

#5F113C is a dark, moderate pink. Relative luminance 0.032; OKLCH L 33.2% C 0.118 H 352.0°. Best body text is #FFFFFF at 12.87:1 contrast (WCAG AA passes).

Color values

HEX#5F113C
RGBrgb(95, 17, 60)
HSLhsl(327, 70%, 22%)
HSVhsv(327, 82%, 37%)
CMYKcmyk(0%, 82.1%, 36.8%, 62.7%)
CIE-LABlab(20.68, 38.03, -6.33)
CIE-LCHlch(20.68, 38.55, 350.55°)
OKLaboklab(33.17% 0.1166 -0.0163)
OKLCHoklch(33.17% 0.118 352)
XYZxyz(5.7357, 3.1607, 4.5821)
Luminance0.0316 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F113C #115F34
analogous
#5B115F #5F113C #5F1115
triadic
#5F113C #3C5F11 #113C5F
tetradic
#5F113C #5F5B11 #115F34 #11155F
square
#5F113C #5F5B11 #115F34 #11155F
split-complementary
#5F113C #155F11 #115F5B
monochromatic
#1A0510 #2B081B #5F113C #931A5D #C7247E

Accessibility & contrast

On white

12.87
#5F113C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5F113C
12.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F113C#FFFFFF#000000##FFFFFF
##5F113C1.0012.871.6312.87
#FFFFFF12.871.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F293D
Deuteranopia (green-blind)
#36373A
Tritanopia (blue-blind)
#670A25
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #5f113c;
/* rgb */ color: rgb(95, 17, 60);
/* oklch */ color: oklch(33.2% 0.118 352.0);
Tailwind
colors: {
  custom: {
    50: '#905871',
    500: '#5f113c',
    950: '#000000',
  },
}
SCSS
$custom: #5f113c;
$custom-light: #905871;
$custom-dark: #000000;
JSON
{
  "hex": "#5f113c",
  "rgb": {
    "r": 95,
    "g": 17,
    "b": 60
  },
  "hsl": {
    "h": 326.923,
    "s": 69.643,
    "l": 21.961
  },
  "oklch": {
    "l": 0.33175,
    "c": 0.11777,
    "h": 352
  },
  "luminance": 0.0316
}

Semantic roles & 50–950 ramp

primary
#5F113C
secondary
#349861
accent
#EC8B3B
background
#F9F5F6
surface
#F1E9EC
border
#CBC5C7
text
#0D0407
muted
#7E797A

Preview Lab

Preview with #5F113C

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

Preview Lab → · Contrast checker → · Palette generator →

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