#5F134F#5F134F

#5F134F is a dark, vivid pink. Relative luminance 0.035; OKLCH L 34.3% C 0.128 H 338.0°. Best body text is #FFFFFF at 12.41:1 contrast (WCAG AA passes).

Color values

HEX#5F134F
RGBrgb(95, 19, 79)
HSLhsl(313, 67%, 22%)
HSVhsv(313, 80%, 37%)
CMYKcmyk(0%, 80%, 16.8%, 62.7%)
CIE-LABlab(21.81, 40.04, -17.62)
CIE-LCHlch(21.81, 43.74, 336.25°)
OKLaboklab(34.29% 0.1185 -0.0478)
OKLCHoklch(34.29% 0.128 338)
XYZxyz(6.3636, 3.4638, 7.7290)
Luminance0.0346 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F134F #135F23
analogous
#49135F #5F134F #5F1329
triadic
#5F134F #4F5F13 #134F5F
tetradic
#5F134F #5F4913 #135F23 #13295F
square
#5F134F #5F4913 #135F23 #13295F
split-complementary
#5F134F #295F13 #135F49
monochromatic
#1A0515 #2C0925 #5F134F #921D79 #C527A4

Accessibility & contrast

On white

12.41
#5F134F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5F134F
12.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F134F#FFFFFF#000000##FFFFFF
##5F134F1.0012.411.6912.41
#FFFFFF12.411.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#162D51
Deuteranopia (green-blind)
#30384D
Tritanopia (blue-blind)
#65172F
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #5f134f;
/* rgb */ color: rgb(95, 19, 79);
/* oklch */ color: oklch(34.3% 0.128 338.0);
Tailwind
colors: {
  custom: {
    50: '#8f5a80',
    500: '#5f134f',
    950: '#000000',
  },
}
SCSS
$custom: #5f134f;
$custom-light: #8f5a80;
$custom-dark: #000000;
JSON
{
  "hex": "#5f134f",
  "rgb": {
    "r": 95,
    "g": 19,
    "b": 79
  },
  "hsl": {
    "h": 312.632,
    "s": 66.667,
    "l": 22.353
  },
  "oklch": {
    "l": 0.34292,
    "c": 0.12781,
    "h": 338
  },
  "luminance": 0.03463
}

Semantic roles & 50–950 ramp

primary
#5F134F
secondary
#37974B
accent
#EA623E
background
#F9F5F7
surface
#F1E9EE
border
#CBC5C9
text
#0D040A
muted
#7E797C

Preview Lab

Preview with #5F134F

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

Preview Lab → · Contrast checker → · Palette generator →

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