#5F134D#5F134D

#5F134D is a dark, vivid pink. Relative luminance 0.034; OKLCH L 34.2% C 0.126 H 339.4°. Best body text is #FFFFFF at 12.45:1 contrast (WCAG AA passes).

Color values

HEX#5F134D
RGBrgb(95, 19, 77)
HSLhsl(314, 67%, 22%)
HSVhsv(314, 80%, 37%)
CMYKcmyk(0%, 80%, 18.9%, 62.7%)
CIE-LABlab(21.71, 39.73, -16.42)
CIE-LCHlch(21.71, 42.99, 337.54°)
OKLaboklab(34.18% 0.1183 -0.0444)
OKLCHoklch(34.18% 0.126 339.4)
XYZxyz(6.2919, 3.4351, 7.3514)
Luminance0.0343 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F134D #135F25
analogous
#4B135F #5F134D #5F1327
triadic
#5F134D #4D5F13 #134D5F
tetradic
#5F134D #5F4B13 #135F25 #13275F
square
#5F134D #5F4B13 #135F25 #13275F
split-complementary
#5F134D #275F13 #135F4B
monochromatic
#1A0515 #2C0924 #5F134D #921D76 #C527A0

Accessibility & contrast

On white

12.45
#5F134D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#5F134D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F134D
12.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F134D#FFFFFF#000000##FFFFFF
##5F134D1.0012.451.6912.45
#FFFFFF12.451.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#182C4F
Deuteranopia (green-blind)
#31384B
Tritanopia (blue-blind)
#65162E
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #5f134d;
/* rgb */ color: rgb(95, 19, 77);
/* oklch */ color: oklch(34.2% 0.126 339.4);
Tailwind
colors: {
  custom: {
    50: '#8f5a7f',
    500: '#5f134d',
    950: '#000000',
  },
}
SCSS
$custom: #5f134d;
$custom-light: #8f5a7f;
$custom-dark: #000000;
JSON
{
  "hex": "#5f134d",
  "rgb": {
    "r": 95,
    "g": 19,
    "b": 77
  },
  "hsl": {
    "h": 314.211,
    "s": 66.667,
    "l": 22.353
  },
  "oklch": {
    "l": 0.34182,
    "c": 0.12632,
    "h": 339.4
  },
  "luminance": 0.03434
}

Semantic roles & 50–950 ramp

primary
#5F134D
secondary
#37974E
accent
#EA673E
background
#F9F5F7
surface
#F1E9EE
border
#CBC5C9
text
#0D040A
muted
#7E797C

Preview Lab

Preview with #5F134D

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

Preview Lab → · Contrast checker → · Palette generator →

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