#5F113E#5F113E

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

Color values

HEX#5F113E
RGBrgb(95, 17, 62)
HSLhsl(325, 70%, 22%)
HSVhsv(325, 82%, 37%)
CMYKcmyk(0%, 82.1%, 34.7%, 62.7%)
CIE-LABlab(20.76, 38.28, -7.59)
CIE-LCHlch(20.76, 39.03, 348.78°)
OKLaboklab(33.26% 0.1172 -0.0198)
OKLCHoklch(33.26% 0.119 350.4)
XYZxyz(5.7896, 3.1823, 4.8658)
Luminance0.0318 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F113E #115F32
analogous
#59115F #5F113E #5F1117
triadic
#5F113E #3E5F11 #113E5F
tetradic
#5F113E #5F5911 #115F32 #11175F
square
#5F113E #5F5911 #115F32 #11175F
split-complementary
#5F113E #175F11 #115F59
monochromatic
#1A0511 #2B081C #5F113E #931A60 #C72482

Accessibility & contrast

On white

12.83
#5F113E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5F113E
12.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F113E#FFFFFF#000000##FFFFFF
##5F113E1.0012.831.6412.83
#FFFFFF12.831.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F293F
Deuteranopia (green-blind)
#35373C
Tritanopia (blue-blind)
#670B26
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #5f113e;
/* rgb */ color: rgb(95, 17, 62);
/* oklch */ color: oklch(33.3% 0.119 350.4);
Tailwind
colors: {
  custom: {
    50: '#905873',
    500: '#5f113e',
    950: '#000000',
  },
}
SCSS
$custom: #5f113e;
$custom-light: #905873;
$custom-dark: #000000;
JSON
{
  "hex": "#5f113e",
  "rgb": {
    "r": 95,
    "g": 17,
    "b": 62
  },
  "hsl": {
    "h": 325.385,
    "s": 69.643,
    "l": 21.961
  },
  "oklch": {
    "l": 0.33263,
    "c": 0.11886,
    "h": 350.4
  },
  "luminance": 0.03182
}

Semantic roles & 50–950 ramp

primary
#5F113E
secondary
#34985E
accent
#EC863B
background
#F9F5F6
surface
#F1E9EC
border
#CBC5C7
text
#0D0408
muted
#7E797B

Preview Lab

Preview with #5F113E

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

Preview Lab → · Contrast checker → · Palette generator →

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