#5F134C#5F134C

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

Color values

HEX#5F134C
RGBrgb(95, 19, 76)
HSLhsl(315, 67%, 22%)
HSVhsv(315, 80%, 37%)
CMYKcmyk(0%, 80%, 20%, 62.7%)
CIE-LABlab(21.66, 39.57, -15.83)
CIE-LCHlch(21.66, 42.62, 338.20°)
OKLaboklab(34.13% 0.1181 -0.0427)
OKLCHoklch(34.13% 0.126 340.1)
XYZxyz(6.2569, 3.4211, 7.1669)
Luminance0.0342 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F134C #135F26
analogous
#4C135F #5F134C #5F1326
triadic
#5F134C #4C5F13 #134C5F
tetradic
#5F134C #5F4C13 #135F26 #13265F
square
#5F134C #5F4C13 #135F26 #13265F
split-complementary
#5F134C #265F13 #135F4C
monochromatic
#1A0514 #2C0923 #5F134C #921D75 #C5279E

Accessibility & contrast

On white

12.47
#5F134C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5F134C
12.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F134C#FFFFFF#000000##FFFFFF
##5F134C1.0012.471.6812.47
#FFFFFF12.471.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#192C4E
Deuteranopia (green-blind)
#31384A
Tritanopia (blue-blind)
#65152E
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #5f134c;
/* rgb */ color: rgb(95, 19, 76);
/* oklch */ color: oklch(34.1% 0.126 340.1);
Tailwind
colors: {
  custom: {
    50: '#8f5a7e',
    500: '#5f134c',
    950: '#000000',
  },
}
SCSS
$custom: #5f134c;
$custom-light: #8f5a7e;
$custom-dark: #000000;
JSON
{
  "hex": "#5f134c",
  "rgb": {
    "r": 95,
    "g": 19,
    "b": 76
  },
  "hsl": {
    "h": 315,
    "s": 66.667,
    "l": 22.353
  },
  "oklch": {
    "l": 0.34128,
    "c": 0.12559,
    "h": 340.1
  },
  "luminance": 0.0342
}

Semantic roles & 50–950 ramp

primary
#5F134C
secondary
#37974F
accent
#EA693E
background
#F9F5F7
surface
#F1E9EE
border
#CBC5C9
text
#0D040A
muted
#7E797C

Preview Lab

Preview with #5F134C

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

Preview Lab → · Contrast checker → · Palette generator →

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