#5F113F#5F113F

#5F113F is a dark, moderate pink. Relative luminance 0.032; OKLCH L 33.3% C 0.119 H 349.6°. Best body text is #FFFFFF at 12.82:1 contrast (WCAG AA passes).

Color values

HEX#5F113F
RGBrgb(95, 17, 63)
HSLhsl(325, 70%, 22%)
HSVhsv(325, 82%, 37%)
CMYKcmyk(0%, 82.1%, 33.7%, 62.7%)
CIE-LABlab(20.80, 38.41, -8.22)
CIE-LCHlch(20.80, 39.28, 347.92°)
OKLaboklab(33.31% 0.1175 -0.0215)
OKLCHoklch(33.31% 0.119 349.6)
XYZxyz(5.8173, 3.1934, 5.0117)
Luminance0.0319 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F113F #115F31
analogous
#58115F #5F113F #5F1118
triadic
#5F113F #3F5F11 #113F5F
tetradic
#5F113F #5F5811 #115F31 #11185F
square
#5F113F #5F5811 #115F31 #11185F
split-complementary
#5F113F #185F11 #115F58
monochromatic
#1A0511 #2B081D #5F113F #931A61 #C72484

Accessibility & contrast

On white

12.82
#5F113F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#5F113F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F113F
12.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F113F#FFFFFF#000000##FFFFFF
##5F113F1.0012.821.6412.82
#FFFFFF12.821.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E2940
Deuteranopia (green-blind)
#35373D
Tritanopia (blue-blind)
#670C26
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #5f113f;
/* rgb */ color: rgb(95, 17, 63);
/* oklch */ color: oklch(33.3% 0.119 349.6);
Tailwind
colors: {
  custom: {
    50: '#905874',
    500: '#5f113f',
    950: '#000000',
  },
}
SCSS
$custom: #5f113f;
$custom-light: #905874;
$custom-dark: #000000;
JSON
{
  "hex": "#5f113f",
  "rgb": {
    "r": 95,
    "g": 17,
    "b": 63
  },
  "hsl": {
    "h": 324.615,
    "s": 69.643,
    "l": 21.961
  },
  "oklch": {
    "l": 0.33308,
    "c": 0.11943,
    "h": 349.6
  },
  "luminance": 0.03193
}

Semantic roles & 50–950 ramp

primary
#5F113F
secondary
#34985D
accent
#EC843B
background
#F9F5F7
surface
#F1E9ED
border
#CBC5C8
text
#0D0408
muted
#7E797B

Preview Lab

Preview with #5F113F

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

Preview Lab → · Contrast checker → · Palette generator →

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