#5F114A#5F114A

#5F114A is a dark, vivid pink. Relative luminance 0.033; OKLCH L 33.8% C 0.126 H 341.4°. Best body text is #FFFFFF at 12.61:1 contrast (WCAG AA passes).

Color values

HEX#5F114A
RGBrgb(95, 17, 74)
HSLhsl(316, 70%, 22%)
HSVhsv(316, 82%, 37%)
CMYKcmyk(0%, 82.1%, 22.1%, 62.7%)
CIE-LABlab(21.32, 39.95, -15.00)
CIE-LCHlch(21.32, 42.68, 339.43°)
OKLaboklab(33.85% 0.1199 -0.0404)
OKLCHoklch(33.85% 0.126 341.4)
XYZxyz(6.1560, 3.3288, 6.7956)
Luminance0.0333 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F114A #115F26
analogous
#4D115F #5F114A #5F1123
triadic
#5F114A #4A5F11 #114A5F
tetradic
#5F114A #5F4D11 #115F26 #11235F
square
#5F114A #5F4D11 #115F26 #11235F
split-complementary
#5F114A #235F11 #115F4D
monochromatic
#1A0514 #2B0822 #5F114A #931A72 #C7249B

Accessibility & contrast

On white

12.61
#5F114A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5F114A
12.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F114A#FFFFFF#000000##FFFFFF
##5F114A1.0012.611.6712.61
#FFFFFF12.611.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#182B4C
Deuteranopia (green-blind)
#313848
Tritanopia (blue-blind)
#65132C
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #5f114a;
/* rgb */ color: rgb(95, 17, 74);
/* oklch */ color: oklch(33.8% 0.126 341.4);
Tailwind
colors: {
  custom: {
    50: '#90597c',
    500: '#5f114a',
    950: '#000000',
  },
}
SCSS
$custom: #5f114a;
$custom-light: #90597c;
$custom-dark: #000000;
JSON
{
  "hex": "#5f114a",
  "rgb": {
    "r": 95,
    "g": 17,
    "b": 74
  },
  "hsl": {
    "h": 316.154,
    "s": 69.643,
    "l": 21.961
  },
  "oklch": {
    "l": 0.33848,
    "c": 0.12649,
    "h": 341.4
  },
  "luminance": 0.03328
}

Semantic roles & 50–950 ramp

primary
#5F114A
secondary
#34984F
accent
#EC6B3B
background
#F9F5F7
surface
#F1E9EE
border
#CBC5C9
text
#0D0409
muted
#7E797B

Preview Lab

Preview with #5F114A

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

Preview Lab → · Contrast checker → · Palette generator →

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