#5F113D#5F113D

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

Color values

HEX#5F113D
RGBrgb(95, 17, 61)
HSLhsl(326, 70%, 22%)
HSVhsv(326, 82%, 37%)
CMYKcmyk(0%, 82.1%, 35.8%, 62.7%)
CIE-LABlab(20.72, 38.16, -6.96)
CIE-LCHlch(20.72, 38.79, 349.66°)
OKLaboklab(33.22% 0.1169 -0.0181)
OKLCHoklch(33.22% 0.118 351.2)
XYZxyz(5.7624, 3.1714, 4.7227)
Luminance0.0317 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F113D #115F33
analogous
#5A115F #5F113D #5F1116
triadic
#5F113D #3D5F11 #113D5F
tetradic
#5F113D #5F5A11 #115F33 #11165F
square
#5F113D #5F5A11 #115F33 #11165F
split-complementary
#5F113D #165F11 #115F5A
monochromatic
#1A0511 #2B081C #5F113D #931A5E #C72480

Accessibility & contrast

On white

12.85
#5F113D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5F113D
12.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F113D#FFFFFF#000000##FFFFFF
##5F113D1.0012.851.6312.85
#FFFFFF12.851.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F293E
Deuteranopia (green-blind)
#35373B
Tritanopia (blue-blind)
#670A25
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #5f113d;
/* rgb */ color: rgb(95, 17, 61);
/* oklch */ color: oklch(33.2% 0.118 351.2);
Tailwind
colors: {
  custom: {
    50: '#905872',
    500: '#5f113d',
    950: '#000000',
  },
}
SCSS
$custom: #5f113d;
$custom-light: #905872;
$custom-dark: #000000;
JSON
{
  "hex": "#5f113d",
  "rgb": {
    "r": 95,
    "g": 17,
    "b": 61
  },
  "hsl": {
    "h": 326.154,
    "s": 69.643,
    "l": 21.961
  },
  "oklch": {
    "l": 0.33219,
    "c": 0.11831,
    "h": 351.2
  },
  "luminance": 0.03171
}

Semantic roles & 50–950 ramp

primary
#5F113D
secondary
#349860
accent
#EC893B
background
#F9F5F6
surface
#F1E9EC
border
#CBC5C7
text
#0D0408
muted
#7E797B

Preview Lab

Preview with #5F113D

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

Preview Lab → · Contrast checker → · Palette generator →

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