#5F114B#5F114B

#5F114B is a dark, vivid pink. Relative luminance 0.033; OKLCH L 33.9% C 0.127 H 340.7°. Best body text is #FFFFFF at 12.59:1 contrast (WCAG AA passes).

Color values

HEX#5F114B
RGBrgb(95, 17, 75)
HSLhsl(315, 70%, 22%)
HSVhsv(315, 82%, 37%)
CMYKcmyk(0%, 82.1%, 21.1%, 62.7%)
CIE-LABlab(21.37, 40.11, -15.60)
CIE-LCHlch(21.37, 43.03, 338.75°)
OKLaboklab(33.9% 0.12 -0.0421)
OKLCHoklch(33.9% 0.127 340.7)
XYZxyz(6.1900, 3.3424, 6.9744)
Luminance0.0334 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F114B #115F25
analogous
#4C115F #5F114B #5F1124
triadic
#5F114B #4B5F11 #114B5F
tetradic
#5F114B #5F4C11 #115F25 #11245F
square
#5F114B #5F4C11 #115F25 #11245F
split-complementary
#5F114B #245F11 #115F4C
monochromatic
#1A0514 #2B0822 #5F114B #931A74 #C7249D

Accessibility & contrast

On white

12.59
#5F114B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#5F114B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F114B
12.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F114B#FFFFFF#000000##FFFFFF
##5F114B1.0012.591.6712.59
#FFFFFF12.591.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#182B4D
Deuteranopia (green-blind)
#313849
Tritanopia (blue-blind)
#65132D
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #5f114b;
/* rgb */ color: rgb(95, 17, 75);
/* oklch */ color: oklch(33.9% 0.127 340.7);
Tailwind
colors: {
  custom: {
    50: '#90597d',
    500: '#5f114b',
    950: '#000000',
  },
}
SCSS
$custom: #5f114b;
$custom-light: #90597d;
$custom-dark: #000000;
JSON
{
  "hex": "#5f114b",
  "rgb": {
    "r": 95,
    "g": 17,
    "b": 75
  },
  "hsl": {
    "h": 315.385,
    "s": 69.643,
    "l": 21.961
  },
  "oklch": {
    "l": 0.33901,
    "c": 0.12719,
    "h": 340.7
  },
  "luminance": 0.03342
}

Semantic roles & 50–950 ramp

primary
#5F114B
secondary
#34984E
accent
#EC693B
background
#F9F5F7
surface
#F1E9EE
border
#CBC5C9
text
#0D0409
muted
#7E797B

Preview Lab

Preview with #5F114B

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

Preview Lab → · Contrast checker → · Palette generator →

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