#5F134A#5F134A

#5F134A is a dark, vivid pink. Relative luminance 0.034; OKLCH L 34.0% C 0.124 H 341.5°. Best body text is #FFFFFF at 12.51:1 contrast (WCAG AA passes).

Color values

HEX#5F134A
RGBrgb(95, 19, 74)
HSLhsl(317, 67%, 22%)
HSVhsv(317, 80%, 37%)
CMYKcmyk(0%, 80%, 22.1%, 62.7%)
CIE-LABlab(21.56, 39.27, -14.62)
CIE-LCHlch(21.56, 41.90, 339.58°)
OKLaboklab(34.02% 0.1178 -0.0393)
OKLCHoklch(34.02% 0.124 341.5)
XYZxyz(6.1884, 3.3937, 6.8064)
Luminance0.0339 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F134A #135F28
analogous
#4E135F #5F134A #5F1324
triadic
#5F134A #4A5F13 #134A5F
tetradic
#5F134A #5F4E13 #135F28 #13245F
square
#5F134A #5F4E13 #135F28 #13245F
split-complementary
#5F134A #245F13 #135F4E
monochromatic
#1A0514 #2C0922 #5F134A #921D72 #C52799

Accessibility & contrast

On white

12.51
#5F134A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#5F134A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F134A
12.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F134A#FFFFFF#000000##FFFFFF
##5F134A1.0012.511.6812.51
#FFFFFF12.511.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A2C4B
Deuteranopia (green-blind)
#323848
Tritanopia (blue-blind)
#65142D
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #5f134a;
/* rgb */ color: rgb(95, 19, 74);
/* oklch */ color: oklch(34.0% 0.124 341.5);
Tailwind
colors: {
  custom: {
    50: '#8f5a7c',
    500: '#5f134a',
    950: '#000000',
  },
}
SCSS
$custom: #5f134a;
$custom-light: #8f5a7c;
$custom-dark: #000000;
JSON
{
  "hex": "#5f134a",
  "rgb": {
    "r": 95,
    "g": 19,
    "b": 74
  },
  "hsl": {
    "h": 316.579,
    "s": 66.667,
    "l": 22.353
  },
  "oklch": {
    "l": 0.34022,
    "c": 0.12416,
    "h": 341.5
  },
  "luminance": 0.03393
}

Semantic roles & 50–950 ramp

primary
#5F134A
secondary
#379751
accent
#EA6E3E
background
#F9F5F7
surface
#F1E9EE
border
#CBC5C9
text
#0D0409
muted
#7E797B

Preview Lab

Preview with #5F134A

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

Preview Lab → · Contrast checker → · Palette generator →

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