#5F113B#5F113B

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

Color values

HEX#5F113B
RGBrgb(95, 17, 59)
HSLhsl(328, 70%, 22%)
HSVhsv(328, 82%, 37%)
CMYKcmyk(0%, 82.1%, 37.9%, 62.7%)
CIE-LABlab(20.64, 37.91, -5.70)
CIE-LCHlch(20.64, 38.33, 351.45°)
OKLaboklab(33.13% 0.1163 -0.0146)
OKLCHoklch(33.13% 0.117 352.8)
XYZxyz(5.7095, 3.1503, 4.4442)
Luminance0.0315 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F113B #115F35
analogous
#5C115F #5F113B #5F1114
triadic
#5F113B #3B5F11 #113B5F
tetradic
#5F113B #5F5C11 #115F35 #11145F
square
#5F113B #5F5C11 #115F35 #11145F
split-complementary
#5F113B #145F11 #115F5C
monochromatic
#1A0510 #2B081B #5F113B #931A5B #C7247B

Accessibility & contrast

On white

12.88
#5F113B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5F113B
12.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F113B#FFFFFF#000000##FFFFFF
##5F113B1.0012.881.6312.88
#FFFFFF12.881.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#20293C
Deuteranopia (green-blind)
#363739
Tritanopia (blue-blind)
#670924
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #5f113b;
/* rgb */ color: rgb(95, 17, 59);
/* oklch */ color: oklch(33.1% 0.117 352.8);
Tailwind
colors: {
  custom: {
    50: '#905870',
    500: '#5f113b',
    950: '#000000',
  },
}
SCSS
$custom: #5f113b;
$custom-light: #905870;
$custom-dark: #000000;
JSON
{
  "hex": "#5f113b",
  "rgb": {
    "r": 95,
    "g": 17,
    "b": 59
  },
  "hsl": {
    "h": 327.692,
    "s": 69.643,
    "l": 21.961
  },
  "oklch": {
    "l": 0.33133,
    "c": 0.11725,
    "h": 352.8
  },
  "luminance": 0.0315
}

Semantic roles & 50–950 ramp

primary
#5F113B
secondary
#349862
accent
#EC8D3B
background
#F9F5F6
surface
#F1E9EC
border
#CBC5C7
text
#0D0407
muted
#7E797A

Preview Lab

Preview with #5F113B

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

Preview Lab → · Contrast checker → · Palette generator →

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