#5F134E#5F134E

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

Color values

HEX#5F134E
RGBrgb(95, 19, 78)
HSLhsl(313, 67%, 22%)
HSVhsv(313, 80%, 37%)
CMYKcmyk(0%, 80%, 17.9%, 62.7%)
CIE-LABlab(21.76, 39.88, -17.02)
CIE-LCHlch(21.76, 43.36, 336.89°)
OKLaboklab(34.24% 0.1184 -0.0461)
OKLCHoklch(34.24% 0.127 338.7)
XYZxyz(6.3275, 3.4493, 7.5388)
Luminance0.0345 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F134E #135F24
analogous
#4A135F #5F134E #5F1328
triadic
#5F134E #4E5F13 #134E5F
tetradic
#5F134E #5F4A13 #135F24 #13285F
square
#5F134E #5F4A13 #135F24 #13285F
split-complementary
#5F134E #285F13 #135F4A
monochromatic
#1A0515 #2C0924 #5F134E #921D78 #C527A2

Accessibility & contrast

On white

12.43
#5F134E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5F134E
12.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F134E#FFFFFF#000000##FFFFFF
##5F134E1.0012.431.6912.43
#FFFFFF12.431.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#172D50
Deuteranopia (green-blind)
#31384C
Tritanopia (blue-blind)
#65172F
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #5f134e;
/* rgb */ color: rgb(95, 19, 78);
/* oklch */ color: oklch(34.2% 0.127 338.7);
Tailwind
colors: {
  custom: {
    50: '#8f5a7f',
    500: '#5f134e',
    950: '#000000',
  },
}
SCSS
$custom: #5f134e;
$custom-light: #8f5a7f;
$custom-dark: #000000;
JSON
{
  "hex": "#5f134e",
  "rgb": {
    "r": 95,
    "g": 19,
    "b": 78
  },
  "hsl": {
    "h": 313.421,
    "s": 66.667,
    "l": 22.353
  },
  "oklch": {
    "l": 0.34237,
    "c": 0.12706,
    "h": 338.7
  },
  "luminance": 0.03449
}

Semantic roles & 50–950 ramp

primary
#5F134E
secondary
#37974C
accent
#EA653E
background
#F9F5F7
surface
#F1E9EE
border
#CBC5C9
text
#0D040A
muted
#7E797C

Preview Lab

Preview with #5F134E

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

Preview Lab → · Contrast checker → · Palette generator →

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